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 |
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 ?
Suppose you execute a command using exec, what will be the status of your current process in the shell?
What is basename in shell script?
What are different types of shell?
There are three departments A,B and C.Write a query to display the names of all the persons( in departments other than A) who are paid higher than the person receiving the lowest salary in DEPT A
What is in a script?
How do I stop script errors?
what are bootlevel in linux?which level is booting by default.
What are the default permissions of a file when it is created?
How do you debug a script?
In a file , how to retrieve the lines which are the multiples of 50 ? like 50,100,150th lines etc.
How do scripts work?