Linux commands that I found useful
I found these commands useful. Will keep updating it if I find something worthy. Please add yours if You have some (email on front page)!
- grep -r "target" /path/to/dir example docs
- will search for the word in all the files in the directory
- tree docs
- will print out the files and directories in a path in a tree graph
- pv manpage
- will print a progress bar of operations
- pv -s &(stat -c %s /path/to/file) /path/to/txt/file | ssh hostname 'cat - > target.txt'
- will print a progress bar of how a file is sent over ssh