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

wats the she bang statment with syntax?

3 Answers  


what are bootlevel in linux?which level is booting by default.

5 Answers   Symphony,


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

0 Answers  


How to initialize a directory size to a variable??

2 Answers  


What command needs to be used to take the backup?

0 Answers  


What are the 3 standard streams in linux?

0 Answers  


write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?

0 Answers   Wells Fargo,


Please give me example of " at command , contrab command " how to use

0 Answers  


What is shell terminal?

0 Answers  


HOW TO CREATE 10 USERS IN UNIX(HP-UX) USING SHELL SHELL SCRIPT?

3 Answers   Patni,


How do I run a script from command prompt?

0 Answers  


What is meant by dos operating system?

0 Answers  


Categories