Thursday, April 25, 2024
 Popular · Latest · Hot · Upcoming
76
rated 0 times [  76] [ 0]  / answers: 1 / hits: 114932  / 2 Years ago, fri, july 22, 2022, 6:43:39

I'm very new to Ubuntu. I hear people say "shell scripting", "bash scripting".



I wonder are they same? Or they are different?


More From » bash

 Answers
0

Bash (bash) is one of many available (yet the most commonly used) Unix shells. Bash stands for "Bourne Again SHell", and is a replacement/improvement of the original Bourne shell (sh).



Shell scripting is scripting in any shell, whereas Bash scripting is scripting specifically for Bash. In practice, however, "shell script" and "bash script" are often used interchangeably, unless the shell in question is not Bash.



EDIT: Actually, the default scripting shell in Ubuntu is dash, while the default interactive shell (what you get if you pull up a terminal) is Bash. Nonetheless, the two terms are still mostly interchangeable.


[#36355] Friday, July 22, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tonhorn

Total Points: 196
Total Questions: 118
Total Answers: 95

Location: Vanuatu
Member since Fri, May 13, 2022
2 Years ago
;