bash shell script code example

Example 1: Shell/BAsh

# GNU Bash or simply Bash is a Unix shell and command language written
# by Brian Fox for the GNU Project as a free software replacement for 
# the Bourne shell.

Example 2: shell script linux

#!/bin/bash
echo "Hello World!"

Example 3: bash linux scripting laguage

#!/bin/bash

num_a=100
num_b=200

if [ $num_a -lt $num_b ]; then
    echo "$num_a is less than $num_b!"
fi

Example 4: shell/bash

#!/bin/bash

#your code

Example 5: linux shell script

#!/bin/bash
echo "Hello World"