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
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
What is echo $shell?
What is the fastest scripting language?
What is the lifespan of a variable inside a shell script?
What is a shell made of?
Write a command sequence to find all the files modified in less than 2 days and print the record count of each.
How do scripts work?
What are the 3 standard streams in linux?
What are the types of script?
What is an inode block?
Can shell script run on windows?
Why is the use of shell script?
How do I run a .sh file on mac?
how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?
Why should we use shell scripts?