Matt Parkinson

MSci + ARCS + PhD + DIC

Analytical Scientist

Field Service Engineer

NMR Spectroscopist

Doodle Creator

Maker

Matt Parkinson

MSci + ARCS + PhD + DIC

Analytical Scientist

Field Service Engineer

NMR Spectroscopist

Doodle Creator

Maker

Project

UNIX commands

09 Jan 2013 Actual, IT

A short list of my most used shell commands:

Manual
man
man cd
man ls
man man
echo

Fileing
ls
cd
ls a*
ls -a
ls -al
ls -hlog
cp
mv
ln
ln -s
touch

Ownership & permissions
ls -l
chown
sudo chown
chmod
chmod 777
chmod 755

Reading & Editing files
cat
head
head -n 100
tail
tail -n 100
tail -f
wc
wc -l
nano

Redirection
echo hello > test
echo hello >> test

File manipulation
wc -l
ls -c1 | wc -l
sort
cut
find
grep
grep -i
sed s/old/new/g
awk
paste
comm

System
whoami
top
ps
ps -u
du
du -h
df
uptime
su
sudo
crontab

Networking
hostname
dig
ping
ssh
scp
sftp
nohup

Other
xargs
find . -name "string*" -print0 | xargs -0 rm -f
find . -name "string*" -print0 | xargs -0 -J % mv % newdir
make
watch
fail

Background
&
jobs -l