• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Minal Silimkar-Urankar
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Meaning of "rm" is "remove", then what is the meaning of "cat" command?
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15441
41
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15441
41
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34850
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Charles Lyons
Author
Ranch Hand
Posts: 836
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What about this?purportedly spoken by Napoleon. What's going on?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
aibohphobia - a dread fear of palindromes.

Listed in Stan Kelley-Bootle's The Devil's DP Dictionary.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic