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
Enumerate some of the most commonly used network commands in unix?
What is the general format of unix command syntax?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What's a command word?
Write a command to display a file’s contents in various formats?
Write a command that will display files in the current directory, in a colored, long format.
What does the command '$ls | wc –l > file1' do?
How do I use nslookup?
What is the use of finger command?
What is the behavioural difference between cmp and diff commands?
What is command statement?
What are bash commands?
How can we use grep command in unix?
What is merge command in unix?
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