Sie sind auf Seite 1von 1

[syit@localhost ~]$ cat prac8.sh echo "1.

Currently logged user and his login name is `who am i` " echo "2. Your current shell is $SHELL " echo "3. Your home directory is $HOME " echo "4. Your operating system type is $OSTYPE " echo "5. Your current path is $PATH" echo "6. Your current working directory is $PWD " echo "7. Current login users is `who | wc -l` " [syit@localhost ~]$ ./prac8.sh 1. Currently logged user and his login name is syit pts/1 Aug 30 01:58 (:0.0) 2. Your current shell is /bin/bash 3. Your home directory is /home/syit 4. Your operating system type is linux-gnu 5. Your current path is /usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/syit/bin 6. Your current working directory is /home/syit 7. Current login users is 2

Das könnte Ihnen auch gefallen