tutorials:bash_scripting:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorials:bash_scripting:start [2012/02/24 17:32] – rmiles | tutorials:bash_scripting:start [2012/02/24 17:36] – rmiles | ||
---|---|---|---|
Line 11: | Line 11: | ||
In the following sections I will present scripts that I have written, explain how they work and in so doing perhaps provide the uninitiated with enough of an understanding of bash scripting to inspire them to open up an editor and get their hands dirty. | In the following sections I will present scripts that I have written, explain how they work and in so doing perhaps provide the uninitiated with enough of an understanding of bash scripting to inspire them to open up an editor and get their hands dirty. | ||
- | All the scripts I present in this series work. Feel free to copy them, run them on your machine and have a play at modifying them to see what happens. Any text editor will do. I use //geany// when workin | + | All the scripts I present in this series work. Feel free to copy them, run them on your machine and have a play at modifying them to see what happens. Any text editor will do. I use //geany// when working |
You will have to make your scripts executable. Use //chmod +x [scriptname]// | You will have to make your scripts executable. Use //chmod +x [scriptname]// | ||
I keep my scripts in /// | I keep my scripts in /// | ||
+ | |||
+ | You can test a script for errors without running it with the command //bash -n [scriptname]// | ||
I suggest that these articles be read in order as each article will assume that the reader understands what has been introduced in the previous article(s). I will explain only what is required to understand how the scripts work. For further information check the man pages, online resources, etc. | I suggest that these articles be read in order as each article will assume that the reader understands what has been introduced in the previous article(s). I will explain only what is required to understand how the scripts work. For further information check the man pages, online resources, etc. |
tutorials/bash_scripting/start.txt · Last modified: 2017/10/12 21:58 by 127.0.0.1