df gives info on currently mounted filesystems.du gives a size breakdown on directories. Suggested script: du . | sort -n | tail to find biggest offenders.Find cribsheet:
find . -type {d,f} -[i]name “*thing*” -execdir <command> {} \; where execdir is transparently more secure than exec, the {} expands to the current file in the exec command, and for some reason that [space]\; is required.Only affect files/folders:
find . -type d -execdir chmod 755 {} \; for directories.find . -type f -execdir chmod 644 {} \; for files.nohup nice -n 9 <command> > something.out 2> something.err < /dev/null &