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 |
what is the difference between sh & bash shell?
How will you copy a file from one machine to other?
Why do we write bin bash in shell scripts?
How to pass an argument to a script?
Create a bash shell script that reads in a number from the user. If the number is 1, print out the date. If the number is 2, list the files in the current directory. If the number is 3, print out who is currently logged onto the system. If the number is anything else, print out an error message and exit. Name this script "various.sh"
Is shell script a programming language?
What are different types of shell?
Is powershell a bash?
How to print pid of the current shell?
What is Path variable?What is its use?
one folder contains lot of students name but I want to fetch hello with every student name individually using shell script
How do I open the shell prompt?