UN*X - npalko/npalko.github.com GitHub Wiki

###Bash

According to this insightful fellow, the best way to configure you .bash_profile and .bashrc is as follows:

# ~/.bash_profile
source /usr/local/etc/bash_completion.d/git-completion.bash
export LS_OPTIONS='--color=auto'
export CLICOLOR='Yes'
export PS1='\[\033]0;\u@\h\007\]\W$(__git_ps1 " (%s)")\$ '
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/local/share/python
# ~/.bashrc
if [ -f ~/.bashrc ]; then
   source ~/.bashrc
fi

Note that my $PATH used here is specific to me using Brew and OS X.

Entire sites are dedicated to cleverness with the Bash prompt (controlled by the environmental variable $PS1)

###Screen

"Unix-Like" notes

screen crtl-a,crt-d to detach

screen -list screen -r [pid]

###Cron http://serverfault.com/questions/33504/override-mailto-for-a-single-crontab-entry

###SSH executing remote commands w/ ssh

http://superuser.com/questions/298081/in-bash-how-can-i-rename-a-file-without-repeating-the-path