Skip to content

Ch4os1/A-Simple-Bash-Scripting-Guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learn Bash Scripting

img_icon:utilities terminal by Iconduck,used under GNU General Public License v3.0 (GPL-3.0)

Table of Contents

Important Note

  1. Firstly, I would like to give a shout out to "The Linux Command Line" by William Shotts. Majority of this guide is summarized from "The Linux Command Line." To learn more about Bash, recommend checking out The Linux Command Line.
  2. Practice is an indispensable part of mastering any skill. To use Bash efficiently, I recommend practicing along.

What is Bash?

  • Bash, short for "Bourne Again SHell," is a command-line shell and scripting language.
  • A shell is a program that takes keyboard inputs/commands and passes them to the operating system to carry out tasks.
  • Bash functions as a scripting language, enabling users to automate tasks by writing sequences of commands in script form.

Guide Breakdown

  • This guide is broken down into two parts:
    • Part 1: Working with Shell
      • Part 1 provides information on Bash Shell and command usage.
      • e.g. Basic commands, Permissions, Processes...
      • Start here - Part1: README
    • Part 2: Bash Scripting
      • Part 2 provides information on scripting using Bash.
      • e.g. Loops, Functions, Positional Parameters...
      • Start here - Part2: README

Prerequisites

  • A Bash Shell, which comes by default on many Linux Distros.
  • To learn Bash on Windows, use Windows Linux Sub-system or Virtual Machines.

Learning Resources

License

This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported license. See the LICENSE.md file for details.

Author

  • LinkedIn: Yu Hao
  • Personal Remark: This guide is summarized based on study notes for SC103 exam and it is used as a personal reference.

About

An informative guide on Bash Scripting

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published