what is the difference between sh & bash shell?
Answer / tony
SH refers to Bourne Shell, which is someway the reference Shell to a lot of other Shells, and defintaly to the Bash Shell, which literally is : Bourne Again Shell. By this time and date (2015), Bash is to be preferred over Bourne, and Bourne is supposed to be limited too much ... but, still used a lot. Obviously, in a technical way, there's a lot of interesting commands that work only with Bash, not with Bourne (and presumingly, never the other way round). So, bottom line : Bourne is limited but very compatible, Bash is better but slightly limited. The latter largely depends on environments.
Is This Answer Correct ? | 0 Yes | 0 No |
How to print some text on to the screen?
What are the advantages of bash over all other shells?
c program to implement unix/linux command to block the signal ctrl-c and ctrl-\ signal during the execution ls -l|wc -l
Explain about return code?
What is the syntax of "nested if statement" in shell scripting?
How are shells born?
What does $1 mean in bash?
How do scripts work?
how to read systems current date and time
What is path in shell script?
How to use arguments in a script?
Script S1 (which copies .dat files from one directory1 to another directory2) run continuously. Write Script S2 which kills S1 first, compresses all .dat files in directory1 and directory2 successfully, re-run Script S1 and stops self i.e. S2.