Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 3

UNIX

#######################
Types of OS:
#######################

1)Single user and Single task

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:MS-DOS(Microsoft Disk Operating System)

2)Single user and Multi task

Multitask: The logged in user can run diff programs/commands at a time.

Ex:95,98,xp,7,10.......

3)Multi user and Multi task `

Multiuser:It allows you to switch to multiple user accounts at a time.

Ex:UNIX/Flavours

#####################################################

Flavours of UNIX
#####################################################

1)Solaris: Is developed by "Sun Micro System" for its "SPARC" processor.

2)AIX:Is developed by "IBM" for its "Mainframe Computers"

3)HP-UNIX:Is developed by "HP" for its "A-9000 SERIES" hardware

4)LINUX:Is an Opensource type OS.

##################################################
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

/etc:It holds all the configuration files of your server

Ex:Network config file: /etc/network.conf


User config files:/etc/user.conf

/var(Variable):It holds all the log files of your server.

Ex: /var/log/network.log
/var/log/user.log

/home:The default Login path for "Non-root" users in Linux

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

/root:The default Login path for "root user" /root/Desktop

/tmp:It contains junk files.

######################################################
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:
#############################

*Bourne Again shell(bash)

*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

###########################################################

Syntax to run the Commands


############################################################

#<command> <-option> <argument>

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

You might also like