Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / abhilash s thachil

ps is not the correct answer. ps just lists out the running processes.
echo $SHELL will just print the value in environment variable SHELL which is your default shell.

Correct answer is echo $0

This will print current shell even after you change your shell from a running shell.

- Abhilash S Thachil

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the functionality of a top command?

1113


What is updatedb?

1055


How do I open a port?

1092


Explain command to view process running?

1138


What is the function of grep command in unix?

1187


Which command should you use to find the remaining disk space in unix server?

1311


What does this command do? Cat food 1 > kitty

1588


What are bash commands?

1167


Explain ‘system calls’ with respect to unix commands?

1097


Differentiate cat command from more command.

1153


Who wrote grep?

1071


Which command is used to kill the last background job?

1337


How many unix commands are there?

1158


Which command can you use to find the currently running process in unix server?

1128


What is the comma to show the space allocation of files?

1092