Bash programming: Difference between revisions
wikademia>Wikademia m 14 revisions |
wikademia>Wikademia No edit summary |
||
| Line 1: | Line 1: | ||
==The Bash Shell== | ==The Bash Shell== | ||
One of the most powerful tools when using any Unix is the Bash Shell. It is available as either an optional or default shell on most Unix variants. When writing scripts for the Bash Shell, you are creating a file that will be executed by the shell. Bash Scripts are similar in nature to Batch scripts in Microsoft Windows, but allow for much greater functionality. | One of the most powerful tools when using any Unix is the Bash Shell. It is available as either an optional or default shell on most Unix variants. When writing scripts for the Bash Shell, you are creating a file that will be executed by the shell. Bash Scripts are similar in nature to Batch scripts in Microsoft Windows, but allow for much greater functionality. | ||
{{ntnes}} | |||
==What does it look like?== | ==What does it look like?== | ||
A sample bash script can be as simple as this: | A sample bash script can be as simple as this: | ||