Variables
Defining Variables
#!/bin/bash
greeting="Hello"
name="Jenil"
echo "$greeting, $name!"
Reading User Input
#!/bin/bash
read -p "Enter your name: " name
echo "Hello, $name!"
Environment Variables
#!/bin/bash
echo "Your home directory is $HOME"