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 / abdullah

Hi folks,

The best answer is echo $0

# echo $SHELL
/bin/bash
#csh
# echo $SHELL
/bin/bash


But, when using echo $0:
[root@abdullah /]# echo $0
-bash
# csh
# echo $0
csh

Is This Answer Correct ?    29 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the advaantage of each user having its own copy of the shell?

2614


Explain command to view process running?

1178


What does the metacharacter mean?

1187


What is used to type command?

1100


What is the unix command to confirm a remote host is alive or not?

1278


What are grep patterns?

1148


how to sort the content of the file based on numeric values

1832


How do I search for a file in unix command?

1057


Which command is used to find whether the system is 32 bit or 64 bit?

1196


Name the various commands that are used for the user information in unix.

1130


What is the nmap command?

1238


What is ctrl d?

1154


What is command statement?

1236


How do I find previous commands in unix?

1246


How to use grep command to list find the records of a file containing 10 different strings?

1193