Hacker News new | ask | show | jobs
by sneak 4955 days ago
Do people really still use "cat" for viewing files at the commandline?
6 comments

All the time. My usage is a mixture of cat, tail, less, emacs , depending on the situation. I think cat comes very naturally for any *nix user, as it's a useful building block when constructing shell pipes.
Yes. Of course.
This is a prime example that once again shows old != bad.
You expect me to go to all the extra trouble of typing a 4-letter command instead of a 3-letter command? This is Unix!
Compromise: Vim!
Vi
Probably not... but I figured that was the easiest way to ensure those unfamiliar with the commandline wouldn't wind up in the middle of a 'less' pager and not know how to get out. ;)
Those who are unfamiliar with the command line ought not be pasting commands from a blog into their terminal emulator without understanding what they are doing.
I use cat when I want it to still be there for use with another command (I have more aliased to less).