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 best shell scripting language?

968


What are the disadvantages of shell scripting?

1145


Which scripting language is best for automation?

903


Is shell and terminal the same?

1004


What is the difference between grep and egrep?

1085


What is the difference between bash and shell?

1076


What is shift command in shell script?

976


madhar chod unix ke 10 commands dhang se likh nahi sakta hai

3429


What is awk in shell script?

1189


How to find duplicate record in file using shell script?

1341


how to print the 2-d, 3-d arrays in unix shell script programs please answer thi questio to my mail venusaikumar@gmail.com

2531


What is the way to do multilevel if-else's in shell scripting?

1254


What is a shell script? Can you name some of its advantages?

994


What is the difference between scripting and coding?

988


Why is it called a shell?

891