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
What is {} in find command?
what is the advaantage of each user having its own copy of the shell?
How do I use grep to find a file?
How do you repeat a command in terminal?
What is the use of egrep command in unix?
Does cp command overwrite files?
Write a command to kill the last background job?
How do you grep a case insensitive?
What is awk good for?
Which unix command lists files/folders in alphabetical order?
What is the use of cut command in unix?
What is $0 bash?
How to find $ai_serual resolved path by using unix
What is the use of find command in unix?
Name the general commands in using unix os for a beginner?