Shell Variables

 Write shell scripts to show the following 

( you can write menu driven programs)
 Currently logged user and his logname  
( logname, id -un, echo $USER)
 Your current shell ( echo $SHELL)
 Your home directory ( echo $HOME)
 Your operating system type (echo $OSTYPE)
 Your current path setting ( echo $PATH)
 Your current working directory ( echo $PWD )

Comments

Popular posts from this blog

CSL 204 OPERATING SYSTEM LAB KTU IV SEM CSE

FCFS and SJF

Shared Memory Inter-Process Communication ( IPC)