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


Please Help Members By Posting Answers For Below Questions

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

1149


What is s and g in sed command?

1116


What does 'mkdir' command do in UNIX?

1310


What is the comma to display different lines that are found when compare two files?

1158


Who command in unix?

1142


What is the difference between cat and more command?

1295


What will the following command do?

1117


How do I find previous commands in unix?

1188


What is sed awk grep?

1138


How do you grep recursively?

1108


How do I clear my terminal history?

1158


Which unix command lists files/folders in alphabetical order?

1757


What is the size of time_t?

1211


What does find command return in unix?

1156


What are reported commands?

1129