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 shell chemistry?
What is echo in shell?
write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?
Is shell scripting easy to learn?
Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.
madhar chod unix ke 10 commands dhang se likh nahi sakta hai
How does shell scripting work?
Set up a Sev 2 alert when the Primary WA service fails. A windows batch script needs to be created that will monitor the WA service on the Primary and when the service stops/fails a Sev 2 TT is generated for a particular team ?
how will you find the total disk space used by a specific user?
What is the difference between break and continue commands?
What is the difference between scripting and coding?
What is the best scripting language?
What is subshell?
What is shell application?
How to print pid of the current shell?