what is the command to find out which shell you are running?
Answer Posted / unix admin
'Rajhsekhar', 'Swapna' and 'Abdullah' these 3 users
answers also right 100% look at the following example:
using "ps"
/usr/users/operator=>ps
PID TTY S TIME CMD
1683270 pts/0 S 0:00.24 -ksh (ksh)
[operator] AT:/usr/users/operator=>sh
[operator] AT:${PWD}=>ps
PID TTY S TIME CMD
1683270 pts/0 S 0:00.24 -ksh (ksh)
1715181 pts/0 S + 0:00.01 sh
[operator] AT:${PWD}=>
using "echo $0"
/usr/users/operator=>echo $0
-ksh
/usr/users/operator=>sh
[operator] AT:${PWD}=>echo $0
sh
[operator] AT:${PWD}=>
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
Which command is used to find whether the system is 32 bit or 64 bit?
What is s and g in sed command?
What does 'mkdir' command do in UNIX?
What is the comma to display different lines that are found when compare two files?
Who command in unix?
What is the difference between cat and more command?
What will the following command do?
How do I find previous commands in unix?
What is sed awk grep?
How do you grep recursively?
How do I clear my terminal history?
Which unix command lists files/folders in alphabetical order?
What is the size of time_t?
What does find command return in unix?
What are reported commands?