S.No - Page No. Date Signature
S.No - Page No. Date Signature
No
.
1.
2.
3.
Contents
Basic Commands
Echo
Who am I
Whoami
Who
Clear
Calendar
Date
Uptime
uname
logname
ulimit
dir
Man
Hostname
tty
Directory and Files Command
PWD
Mkdir
Cd
Cd ..
Cat to create file
Cat to view contents of file
Cat to append into file
Cat to create hidden file
Cat to view hidden file
Cat to append into hidden file
Touch
Mv
copy
whatis command
whereis command
rm
rm -i
rmdir
List commands
ls
Ls l
Page No.
Date
Signature
Ls r
Ls -a
Ls -1
4.
Wild Characters
*
?
[-]
[ ,]
5.
Word count
wc filename
wc c
wc w
wc l
6.
Permissions
chmod u+r,g+w,o-x filename
chmod u+r,g-x,o-r filename
chmod u-x,g+r,o+r filename
chmod u+x,g+x,o-w filename
chmod 770 filename
chmod 750 filename
chmod 644 filename
chmod 400 filename
chmod 522 filename
chmod 502 filename
7.
Grep commands
grep pattern filename
grep -c pattern filename
grep -v pattern filename
grep -i pattern filename
grep -n pattern filename
8.
Disk Commands
df
du
free
head filename
9.
10
head n filename
tail filename
tail n filename
history
more
less
cmp file1 file2
sort filename
sort -r filename
file*
file filename
Process commands
ps
ps f
top
fg pid
bg pid
nice
renice
kill
Pipes
Redirection
cal > filename
date>>filename
ls >filename
sort<filename
sort<filename>filename2
who | ls l >fn4
Tee
ls | tee file
ls |tee fn1 fn2 fn3
ls |tee a fn
11.
Process commands
ps
ps ef
ps a
top
Nice
12.
13.
14.
15.
16.
17.