A brief dump of the linux commands that I can’t live without, and sometimes need a reminder on how to use. I use ubuntu, usually the latest ’stable’ release, so the example in this post and later updates will reflect that. Right now (last update) I’m running uBuntu 10.04

cat

Short for Concatenate. It’s designed for concatenating files. Use it like ‘type’ on windows for outputting file contents to the console.
Example: get the version of linux that you are running.

cat /proc/version

top

Top is the Task Manager of linux. Detailed description here. Use it to see what process is hogging your memory.

Example use:

top

wget

wget is for downloading files

Example use:

wget http://www.stuff.com/file.7z

rm

Delete stuff!

Example use: delete folder and contents

rm -f -r tempdir

find

Find stuff!

Example use: find ‘c’ files

find . -name '*.c'