Results 1 to 3 of 3
Whats the difference, and when do you use which?...
- 09-25-2010 #1
Difference between shell and bash scripts
Whats the difference, and when do you use which?
- 09-25-2010 #2Linux Newbie
- Join Date
- Mar 2010
- Posts
- 121
There's not really a difference - a "bash script" is a type of "shell script", since bash is a type of shell. Normally, the names are synonymous with each other.
- 09-25-2010 #3
Yeh, it's really an argument about semantics... in general you should use "shell script" when talking about command-line scripts, since this does not reference a particular shell. However, the Bash shell is so commonly used as the default shell in most systems, that people have come to use "Bash script" colloquially.
But... there are still many folk out there who will have a particular preference for korn, tcsh, csh or zsh etc. It's also worth noting that Perl and Python have taken over a lot of the heavy-lifting that used to be accomplished using shell scripts. The readability is better, as is the portability.
Have fun.Respectfully... Sarlac II
~~
The moving clock K' appears to K to run slow by the factor (1-v^2/c^2)^(1/2).
This is the phenomenon of time dilation.
The faster you run, the younger you look, to everyone but yourself.


Reply With Quote