ps | grep $$
which
!#/bin/terminal
NAME_1="ZAK"
echo "Name is: \$NAME_1" # \ esc special character
echo "Name is: ${NAME_1}COETZEE" # ${} encapsulate avoid ambiguity
LIST=`ls`
HOME_LIST=$(ls -la ~/)
./test.sh arg1 arg2
$1 arg1
$2 arg2
$0 file
$# number of Arguments
$@ argument list, space seperated
my_arr=(item1 item2 item3)
my_arr[0]=item1_value
echo ${#my_arr[@]}
if [ "$NAME" = "value1" ]; then
echo "true"
elif [ "$NAME" = "value2"]; then
echo "true for elif"
else
echo "false"
fi
=
==
!=
-z
for arg in [list]
do
commands
done
function name_1 {
echo "func1"
}