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
What is the best shell scripting language?
What are the disadvantages of shell scripting?
Which scripting language is best for automation?
Is shell and terminal the same?
What is the difference between grep and egrep?
What is the difference between bash and shell?
What is shift command in shell script?
madhar chod unix ke 10 commands dhang se likh nahi sakta hai
What is awk in shell script?
How to find duplicate record in file using shell script?
how to print the 2-d, 3-d arrays in unix shell script programs please answer thi questio to my mail venusaikumar@gmail.com
What is the way to do multilevel if-else's in shell scripting?
What is a shell script? Can you name some of its advantages?
What is the difference between scripting and coding?
Why is it called a shell?