Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

In Unix, what do some obscurely named commands stand for?
Indiana University Knowledge Base ^ | 12/31/2087 | author not cited

Posted on 05/29/2015 6:07:16 AM PDT by CharlesOConnell

In Unix, what do some obscurely named commands stand for?

A list of some of the more obscurely named Unix commands follows:

awk
Aho, Weinberger, and Kernighan

The awk scripting language was named by its authors, Al Aho, Peter Weinberger, and Brian Kernighan. For more, see What is awk, and how do I use it?

grep
Global regular expression print

The grep command comes from the command used by the ed program (a simple and venerable Unix text editor) to print all lines matching a certain pattern:

  g/re/p

For more, see What is grep, and how do I use it?

fgrep
Fixed grep

The fgrep command searches for fixed strings only, possibly taking the strings from another file. The "f" does not stand for "fast"; in fact, at times, using the fgrep command can be slower than using the egrep command. However, the fgrep command may still be useful when searching a file for a larger number of strings than the egrep command can handle.

egrep
Extended grep

The egrep command uses fancier regular expressions than the grep command. Many people use the egrep command for its internal algorithms, which are more sophisticated than the grep and fgrep commands. Also, the egrep command is usually the fastest of the three programs.

cat
Catenate

"Catenate" is an obscure word meaning "to connect in a series", which is what the cat command does to one or more files. This is not to be confused with C/A/T, the Computer Aided Typesetter. For more, see In Unix, how do I combine several text files into a single file?

nroff, troff
New roff, Typesetter new roff

These two commands are descendants of the roff command, which was a re-implementation of the Multics runoff program. The runoff program would "run off" a good copy of a document.

tee
T

The tee command is named after plumbing terminology for a T-shaped pipe splitter. This Unix command splits the output of another command, sending it to a file and to the terminal.

biff
A dog named Biff

This command, which turns on asynchronous mail notification, was actually named after a dog. Courtesy of Eric Cooper, Carnegie Mellon University:

"I can confirm the origin of biff, if you're interested. Biff was Heidi Stettner's dog, back when Heidi (and I, and Bill Joy) were all grad students at U.C. Berkeley and the early versions of BSD were being developed. Biff was popular among the residents of Evans Hall, and was known for barking at the mailman, hence the name of the command."
rc
runcom (as in .cshrc or /etc/rc)

The rc command derives from the runcom facility from the MIT CTSS system, ca. 1965. From Brian Kernighan and Dennis Ritchie, as told to Vicki Brown:

"There was a facility that would execute a bunch of commands stored in a file; it was called runcom for "run commands", and the file began to be called "a runcom". rc in Unix is a fossil from that usage."

Note: The name of the shell from the Plan 9 operating system is also rc.

Perl
Practical extraction and report language

The Perl language is a text, process, and file manipulation tool, created by Larry Wall. Perl bridges the gap between shell and C programming, and is free and completely portable. The acronym is one of many variants proposed, with varying degrees of seriousness, as the true origin of the name. However, this is currently regarded as apocryphal. Spelling Perl as "PERL", as though it is an acronym, is incorrect. For further information, see the Usenet newsgroup comp.lang.perl and the Perl FAQ.

For more interesting tidbits, see the book Life with Unix by Don Libes.



TOPICS: Computers/Internet
KEYWORDS: grep; unix
Navigation: use the links below to view more comments.
first 1-2021-25 next last
I thought GREP was scandanavian, like from Jim Cavezel in Outlander.
1 posted on 05/29/2015 6:07:16 AM PDT by CharlesOConnell
[ Post Reply | Private Reply | View Replies]

To: CharlesOConnell

So UNIX was written by A ho?..........................


2 posted on 05/29/2015 6:11:52 AM PDT by Red Badger (Man builds a ship in a bottle. God builds a universe in the palm of His hand.............)
[ Post Reply | Private Reply | To 1 | View Replies]

To: CharlesOConnell

Abort Retry Fail was named for the sound Bill Gates dog made.


3 posted on 05/29/2015 6:14:18 AM PDT by bigbob (The best way to get a bad law repealed is to enforce it strictly. Abraham Lincoln)
[ Post Reply | Private Reply | To 1 | View Replies]

To: CharlesOConnell

Another is dumho. It writes Hillary 10,000 times to stderr.


4 posted on 05/29/2015 6:20:38 AM PDT by ImJustAnotherOkie
[ Post Reply | Private Reply | To 1 | View Replies]

To: CharlesOConnell

Unix ping


5 posted on 05/29/2015 6:20:51 AM PDT by broken_arrow1 (I regret that I have but one life to give for my country - Nathan Hale "Patriot")
[ Post Reply | Private Reply | To 1 | View Replies]

To: CharlesOConnell

In unix a good parent, before they die, kills off all their children before they become zombies.


6 posted on 05/29/2015 6:25:20 AM PDT by central_va (I won't be reconstructed and I do not give a damn.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Red Badger
I thought it was written by a bunch of castrated guys...

7 posted on 05/29/2015 6:29:10 AM PDT by BitWielder1 (I'd rather have Unequal Wealth than Equal Poverty.)
[ Post Reply | Private Reply | To 2 | View Replies]

To: CharlesOConnell

UNIX was reversed engineered from the operating system of the computer on the UFO that crashed an Roswell ... hence the weird command names


8 posted on 05/29/2015 7:08:29 AM PDT by tophat9000 (An Eye for an Eye, a Word for a Word...nothing more)
[ Post Reply | Private Reply | To 1 | View Replies]

To: CharlesOConnell; rdb3; Calvinist_Dark_Lord; JosephW; Only1choice____Freedom; amigatec; ...

9 posted on 05/29/2015 7:09:28 AM PDT by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 1 | View Replies]

To: CharlesOConnell

chown -R us ./base


10 posted on 05/29/2015 7:12:23 AM PDT by tacticalogic ("Oh, bother!" said Pooh, as he chambered his last round.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: tacticalogic
chown -R us ./base

;^}

11 posted on 05/29/2015 7:15:45 AM PDT by Paine in the Neck (Socialism consumes EVERYTHING)
[ Post Reply | Private Reply | To 10 | View Replies]

To: tacticalogic

Very nice!


12 posted on 05/29/2015 7:54:24 AM PDT by day10 (You'll get nothing and like it!)
[ Post Reply | Private Reply | To 10 | View Replies]

To: CharlesOConnell

I’ve often thought the folks who originally developed Unix were Jewish, or just had a major phobia of vowels.


13 posted on 05/29/2015 8:21:03 AM PDT by zeugma (Are there more nearby spiders than the sun is big?)
[ Post Reply | Private Reply | To 1 | View Replies]

To: central_va
In unix a good parent, before they die, kills off all their children before they become zombies.

Yes, but if you want, a parent can disown it's childen and they'll be orphans, but still alive.

Many years ago, when I was relatively new to unix, I was taking a class on Ultrix (Digital's version of Unix at the time). We were talking about the way timekeeping amongst machines was managed. (prior to 'ntp' being developed).

Here's how it was described in the man page....

One server is designated a master. The master is authoritative for time. Slaves will query the master for the time on a periodic basis and thus keep themselves in sync. If the master dies, or is otherwise unavailable, the slaves will hold an election amongst themselves and elect a new master. This new master will continue as authoritative until the designated master returns. If the new master dies, a new election is held.

I always thought that was an interesting way of describing it. Seemed to work pretty well.

That was an advanced administrator class. We all had our own unix workstations we were working from, with the 'teacher' having the master. server. At the beginning of the class he let us know that he fully expected someone to be able to hack into the server eventually, but he'd appreciated it if we didn't destroy it until the end of the class.  After the class, all servers were restored to a 'known good' state so it didn't really matter what we did during the class.

 

 

14 posted on 05/29/2015 8:31:40 AM PDT by zeugma (Are there more nearby spiders than the sun is big?)
[ Post Reply | Private Reply | To 6 | View Replies]

To: central_va

KILL -9 .. tic tic tic


15 posted on 05/29/2015 8:43:17 AM PDT by NormsRevenge (SEMPER FI!! - Monthly Donors Rock!!)
[ Post Reply | Private Reply | To 6 | View Replies]

To: CharlesOConnell

fsck - yes, it resembles the naughty word you think it does. There is a very good reason it hasn’t been changed.


16 posted on 05/29/2015 8:45:20 AM PDT by Billthedrill
[ Post Reply | Private Reply | To 1 | View Replies]

To: CharlesOConnell

It’s called “Job Security”.

See also the C language.


17 posted on 05/29/2015 9:14:49 AM PDT by Kommodor (Terrorist, Journalist or Democrat? I can't tell the difference.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: CharlesOConnell

I always thought ‘grep’ stood for “GRab Everything Pertinent”.


18 posted on 05/29/2015 10:45:12 AM PDT by Bloody Sam Roberts ("It is never untimely to yank the rope of freedom's bell." - - Frank Capra)
[ Post Reply | Private Reply | To 1 | View Replies]

To: CharlesOConnell

PERL = Pathologically Eclectic Rubbish Lister


19 posted on 05/29/2015 11:26:11 AM PDT by glorgau
[ Post Reply | Private Reply | To 1 | View Replies]

To: tacticalogic
> chown -R us ./base

LOL! post-o'-the-day!

20 posted on 05/29/2015 2:23:08 PM PDT by dayglored (Listen, strange women lying in ponds distributing swords is...sounding pretty good about now.)
[ Post Reply | Private Reply | To 10 | View Replies]


Navigation: use the links below to view more comments.
first 1-2021-25 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson