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 " ?.

Answers were Sorted based on User's Feedback



What is the command for " how many shell is running in your system or how many shell supporte..

Answer / sandeep jaiswal

how many shell supported by your system

check the file /etc/shells

Is This Answer Correct ?    9 Yes 1 No

What is the command for " how many shell is running in your system or how many shell supporte..

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

What is the command for " how many shell is running in your system or how many shell supporte..

Answer / nayakss

ps| grep -E "*shh*" | wc -l

This gives the no of shell currently running.
Though this answer is correct but I don't think this is the
right approach.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Shell Script Interview Questions

Why is used in shell scripting?

0 Answers  


Why is shell scripting important?

0 Answers  


Please anyone suggest atleast 2 good training institutes in Hyderabad, INDIA where i can learn unix shell scripting.

1 Answers  


Where are cowrie shells found?

0 Answers  


1.Write a script, which converts a number from binary to hexadecimal format or vice versa.

1 Answers   ADP,


what is the difference between cmp and diff commands

2 Answers   Amazon, CTS,


What is the use of echo in shell script?

0 Answers  


In shell scripting if text is surrounded by single quotes what does it denotes?

3 Answers  


How to calculate the number of passed arguments?

0 Answers  


Explain about the slow execution speed of shells?

0 Answers  


What is the use of "test" command?

2 Answers  


How to use arguments in a script?

0 Answers  


Categories