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)
( 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
Post a Comment