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

c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command

5489


What is echo $shell?

1130


What is the fastest scripting language?

1042


What is the lifespan of a variable inside a shell script?

1703


What is a shell made of?

1006


Write a command sequence to find all the files modified in less than 2 days and print the record count of each.

1588


How do scripts work?

1084


What are the 3 standard streams in linux?

1206


What are the types of script?

1246


What is an inode block?

1114


Can shell script run on windows?

1123


Why is the use of shell script?

1022


How do I run a .sh file on mac?

1251


how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?

4113


Why should we use shell scripts?

1100