Site

Linux Tool Tip

find

find dir -name target

screen

http://linuxocarina.blogspot.com/2007/07/screen.html

enter:
screen

leave:
Crtl+a d

re-enter:
screen -r

wc -l

uniq

uniq -c
uniq -d
uniq -u

tr

tr '[:upper:]' '[:lower:]'

sed

cat file1 | sed /match/d > file2
sed 's/old/new/g;' file.mother.txt > file.txt

awk

awk -F'|' '{print($2)}'

$0: entire string

$1: first segment

$2: second segment

...

vim remote edit

:e scp://username@someremotehost/./path/to/file

scp

scp zion.cs.utexas.edu:~/a.txt ./a.txt

du

du -sh

find

find . -name out.mac.fec.txt_avg

grep

grep -r target *

bash

for file in $(ls ~/); do
  XXX
done