| type two commands at a time | cmd1 ; cmd2 |
| spell check a file | cat filename | spell |
| Reset terminal: if mistakenly viewed a binary file with cat | stty sane |
| append results of a command onto an existing file | cmd>>file.ext |
| write results of a command to a file | cmd>file.ext |
| logout | [Ctrl]+D |
| ftp file to host1 from host2 | ftp host1 |
| search files for a string -# = display '#' lines on both sides -c = display a count -v = display non-matching lines -i = ignore case | grep string filename |
Wednesday, March 30, 2011
Miscellaneous Unix Commands
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment