Useful Linux Commands
Rob — November 28, 2010 - 22:37
This blog entry is going to be my collection of useful Linux commands that I wish to refer back to in the future. I hope you find them useful as well.
Finding files
Find all files in the home folder (and its subfolders) with a 'txt' extension, sort the results, then output to a file:
find /home -name '*.txt' | sort >> text-files.txtRenaming files
The following will rename the extension of all files in the current working directory from 'avi' to 'AVI':
rename 's/\.avi/.AVI/' *.avi- Rob's blog
- Login to post comments
