Professional Documents
Culture Documents
Day-1 Unix
Day-1 Unix
#######################
Types of OS:
#######################
single user: It allows you to login only one user at a time.To login to another
account then you need to logout from your previous account.
Single task: The logged in user can perfrom only one task at a time
Ex:95,98,xp,7,10.......
Ex:UNIX/Flavours
#####################################################
Flavours of UNIX
#####################################################
##################################################
UNIX Directory Structure
###################################################
Directory=Folder
/ =Is the main parent dir below this al the files,dirs,hardwares,users everything
resides.
/sbin(Super user Binary Dir):It holds the "root user" executable commands
Ex:reboot,shutdown.....
admin=root user Local user= Non-root user
Ex: /var/log/network.log
/var/log/user.log
Ex:If i Login with the user name:vasanth(Non-root user) then my Login path would be
/home/vasanth
If i Login with the user name:nirmal(Non-root user) then my Login path would be
/home/nirmal
######################################################
Shell/Command prompt
#####################################################
*It takes the inputs from the keyboard and it sent it to the kernel program and the
shell receives the inputs it will tranfer that in to the HLL and displays the
output on the console as LLL.
##################
Types of Shells:
##################
1)Bourne Shell(sh)
2)C-shell(csh)
#############################
Sub Categ of Bourne shell:
#############################
*Korn shell(ksh)
##########################
Sub Categ of C-shell:
##########################
*Tenex shell(tcsh)
Note:"Bash" is the default Login shell for Both "root" and "Non-root" users in
Linux
Note:"Bourne" is the default Login shell for Both "root" and "Non-root" users in
Solaris
###########################################################
argument:File/dir name
Note:After Login and opening the terminal if you see "#" prompt which indiccates
you have logged in as a "root" user
Note:After Login and opening the terminal if you see "$" prompt which indicates you
have logged in as a "Non-root" user