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 the general format of unix command syntax?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
Does cp command overwrite files?
What command is used to switching between users in unix?
How do I use grep to search for a file?
What is the difference between cat and more command?
What does awk stand for?
What is the comma to show the space allocation of files?
What do chmod command do?
What does the command '$ls | wc –l > file1' do?
What's a command word?
why metadb requires a seperate slice to create Solaris volume manager
What do know about tee command?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
What is awk good for?