linux shell script code example
Example 1: shell script sh
#!/bin/sh
# This is a comment!
echo Hello World # This is a comment, too!
Example 2: shell file in linux
#!/bin/sh
ls
Example 3: shell script linux
#!/bin/bash
echo "Hello World!"
Example 4: linux shell script
#!/bin/bash
echo "Hello World"