Unix command reminders
From WittleNet
[edit]
Unix command reminders
I can never remember the exact syntax for a bunch of Unix commands; it seems reasonable to document some of them here.
To find large files and list them in an easy to read way
find / -type f -size +500000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
To create a tar archive
tar cvf <filename> <archive contents>
To list processes with the userids they run under (and other info)
ps -eo euser,ruser,suser,fuser,f,comm,label

