what is the command to find out which shell you are running?

Answer Posted / rajhshekhar aletty

ps This command displays your current SHELL and your default
SHELL also.

Is This Answer Correct ?    16 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

897


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1200


What is the use of awk command in unix?

772


Which unix command to make a new directory?

805


What does the command ' $who | sort –logfile > newfile' do?

1037


What are reported commands?

809


What is the first character of the output in ls l command?

875


Write a command that will display files in the current directory, in a colored, long format.

928


What is in grep command?

858


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 # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1976


How do I use nslookup?

769


What is the significance of the 'tee' command?

827


Why is it called a shebang?

798


What is the difference between cat command and more command?

805


How to display no of records in oracle using unix command?

809