Linux
Linux
Linux
CSH – C Shell
Unics – 1969
Minix – 1990
Linux – 1991
Developed in 1991 by Linus Torvalds
Used in most of the computers, ranging
from super computers to embedded system
Multi user
Multi tasking
Time sharing
Monolithic kernel
User 1
User 2
Redhat
Fedora
Debian
Novell’s SUSE Linux
Ubuntu
Kali
Boss
Vi
Emacs
gEdit
kWrite
TextPad
And more…
mkdir - creating directory
◦ mkdir dirname
rmdir – removing directory and its contents
◦ rmdir dirname
cd – Change directory
◦ cd dirpath
cp – Copying files
◦ cp file1 file2
mv – Moving or renaming files
◦ mv oldfile newfile
ln – Creating links between files
◦ ln file1 file2
1. if [ condn ]
then
fi
2. if [ condn ]
then
else
fi
3. if [ condn ]
then
elif [ condn ]
then
else
fi
For string comparison we have
- = : equal to
- ~= : not equal to