What does “cat -” do?
- 1
- Add a Comment
- No Related Post
Hello I would like to know the what exactly does cat - mean in Unix? I was recently reading through an article that mentioned this command and couldn’t understand what it did.
“cat” is the ‘concatenate’ program and its purpose is to display the contents of one or more file. Add the ‘-’ flag, however, and you have it display the content of “standard input” or “stdin”: in a pipe like:
It’s basically a null operation, since this is no different than doing…

One Comment
nithin
October 27th, 2007
at 9:02am
nice post……….I really appreciate that. If you are working on link exchange, how about we can exchange with each other.