A few Linux Tips N Tricks:

Screen rocks! You can connect to a remote computer, start screen, run commands, detach and leave it all running - then re-connect anytime.

Check it out:

'screen' starts it all
'ctrl a' is the key to commands
'ctrl a c' = new screen (Term.)
'ctrl a 1' or 2 (or whatever #) = change to that screen
'ctrl a d' = detach (from screen)
'ctrl d' = close the screen window (If last window it will end screen session)

to re-connect
'screen -D -R' will connect you back to a screen session

if multi screen sessions running (get info from screen -ls)
'screen -d -r' will connect you to any specific screen session.

'screen -ls' will list all screen sessions

'exit' while in a screen will exit from it and close that window, if it is the last screen window it will close the session.

=========================== Note on irssi (It is awesome ) ================

atl a switches window to next channel with new text

esc can be used also


Some misc. (and handy) Linux commands:

To Delete a dir that is NOT empty 'rm -r -f dirname'

'tail -f /var/log/messages' to see what is going on.
can do it with /var/log/maillog - /var/log/secure whatever.

Want to look for something in the message log?
cat /var/log/messages | grep 'DPT=1433' -c
-c = count

watch -n 20 netstat -inet (or any command)
-n 20 is 20 second refresh time

watch -n 20 w = watch who is logged in

df = free disk space
du = used disk space
free = memory usage

ps -aux list processes
kill -s 9 pid to kill about anything.

uname -a kernel info

uptime = gives time system has been up since last reboot

tar -xjvf filename.tar.bz2 etc the -j is to send thru bzip2 z=gz
(tar -xzvf filename.tar.gz etc the -z is for .gz)

to make a 'tarball'
tar -cvf (name of tarball)
gzip -d filename will 'uncpmpress it

vi is great!   Search and Replace Every occurrence in file -   :%s/OLD/NEW/g