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 for " how many shell is running in your
system or how many shell supported by your system " ?.

Answer Posted / joker

> ps -a |grep -E 'sh$' |wc -l

-a is for to list process of all users
-E extended grep to filter the shells (since they end with sh like bash, tcsh, ksh, sh
-$ to match only at the end of the line where the process is printed

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the meaning of $1 in shell script?

1052


What is path variable bash?

991


What is a beat in a script?

983


How to print pid of the current shell?

946


What is awk in shell scripting?

985


What is shell prompt?

955


What is shell and shell script?

1064


What does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?

1001


Explain how you Automate your application using Shell scripting.

2247


How can I set the default rwx permission to all users on every file which is created in the current shell?

1374


i have 2 tables 4 colums table 1 respective values a1 6, a2 8,a3 9,a4 14 & table 2 respective values a1 6, a2 8, a3 9, a4 12. if compare 2 tables 3 colums values same then 4th column values 1)Qes diff >5 then (5 * diff value ) 2)Qes diff <5 the 5 3)Qes diff 5 then 5 print respective values..

2097


What is the use of a shebang line?

1116


I want to connect to a remote server and execute some commands, how can I achieve this?

975


What is path in shell script?

1031


I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?

2093