aspose file tools*
The moose likes Linux / UNIX and the fly likes Why  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Why  "cat" command is known as "cat"?" Watch "Why  "cat" command is known as "cat"?" New topic
Author

Why "cat" command is known as "cat"?

minal silimkar
Ranch Hand

Joined: Nov 25, 2007
Posts: 133
Meaning of "rm" is "remove", then what is the meaning of "cat" command?


Minal Silimkar
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14432
    
  23

Maybe because it's not called "dog"? (Sorry...)

Wikipedia says:
The cat command is a standard Unix program used to concatenate and display files. The name is from catenate, a synonym of concatenate.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

To construct Unix commands, you need 2 things:

1. a twisted sense of humor
2. An unwillingness to put any more letters in the command name than you actually have to.

I've actually seen the word as "catenate", but I doubt that's proper. The "con" in concatenate indicates putting things together.


Customer surveys are for companies who didn't pay proper attention to begin with.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14432
    
  23

Here's something fun.

Unix also has a tac command. What do you think it does? And why do you think it is called "tac"?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31067
    
232

Originally posted by Jesper Young:
Unix also has a tac command. What do you think it does? And why do you think it is called "tac"?

My guess would be displaying a file backwards. Whether it is backwards one character/word/line at a time, I don't know yet. Off to google...


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923



http://home.arcor.de/hirnstrom/bewerbung
Charles Lyons
Author
Ranch Hand

Joined: Mar 27, 2003
Posts: 836
What about this?purportedly spoken by Napoleon. What's going on?


Charles Lyons (SCJP 1.4, April 2003; SCJP 5, Dec 2006; SCWCD 1.4b, April 2004)
Author of OCEJWCD Study Companion for Oracle Exam 1Z0-899 (ISBN 0955160340 / Amazon Amazon UK )
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

aibohphobia - a dread fear of palindromes.

Listed in Stan Kelley-Bootle's The Devil's DP Dictionary.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why "cat" command is known as "cat"?