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 difference between cmp and diff commands?

1349


What does this command do,"$more readme.txt“?

1207


What is the difference between cat command and more command?

1267


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

1260


Write a command to kill the last background job?

1151


What are the commands in UNIX to list the files in a Directory?

1253


What is the significance of the 'tee' command?

1253


Give the command for finding the current date.

1172


hw will u use awk in replacing cahrs and files

3294


How do you grep a case insensitive?

1112


What happens when we execute a unix command?

1194


What does #!/ Bin sh do?

1115


How do I find previous commands in unix?

1246


What does touch command do in unix?

1476


Explain the steps that a shell follows while processing a command.

1284