I know that the command say "something" in mac's terminal would make it say stuff. I am new to Unix and since OS X is UNIX based, I was trying to teach myself the commands and I read that !5 would recall the last five commands in the terminal's history. when I typed that, the terminal started saying stuff! is this supposed to happen?
migrated from stackoverflow.com Dec 31 '12 at 2:01
This question came from our site for professional and enthusiast programmers.
If you press !5 (bang-5) at the command line, if you are in a CSH varient....you'll cause the 5th command since the particular shell invokation was started entered to be recalled and executed as if you entered it on the command line.
Depending on what the 5th command in your particular case was, you'd be seeing the output from that command.