write a script in linux code example Example 1: shell file in linux #!/bin/sh ls Example 2: linux shell script #!/bin/bash echo "Hello World"