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
Explain ‘system calls’ with respect to unix commands?
What does the “echo” command do?
What command is used to switching between users in unix?
How do I use grep to find a file?
What is the functionality of a top command?
Is ‘du’ a command? If so, what is its use?
What is the difference between cat and more command?
What is “chmod” command?
Enumerate some of the most commonly used network commands in unix?
What is the use of finger command?
Can you enlist some commonly used network commands?
Why is awk called awk?
why metadb requires a seperate slice to create Solaris volume manager
What is time_t?
How does shebang work?