Bash Scripts

This is a brief description of simple bash scripts

  • ”#!/bin/bash” specifies that we are using bash

  • “echo” displays the text when the script is run

  • “read” is used to get input from the user

  • “myvar” is used to define a variable

  • “if” and “else” are used to create conditional statements

#