README first.



  • Website for bash: https://www.gnu.org/software/bash/

    The bash manual available in various formats
    Documentation: https://www.gnu.org/software/bash/manual/

    Editors.
    Selecting the editor is personal preference, there are so many and you do not necessarily have to use only one. Some popular GUI types are Atom, Sublime, & Visual Studio. Some popular text-based editors are vim & nano

    Notes:

    The assumption that bash shell is being used.

    • It is common to put a ".sh" extension on files which are shell scripts. Some editors use the extension for syntax highlighting.
    • Use unique and meaningful script names.
    • bash scripts should begin with first line #!/bin/bash (not shown on all examples)
    • The examples used in the articles may not show error checking, testing of every condition, it is good practice to always include this in scripts, along with helpful comments to help other users understand what the script is doing.
    • Commonly understood by folks that have an advanced understanding of scripting & programming, there's more than one way of doing things.

Log in to reply
 

© Lightnetics 2024