creating bash scripts code example Example 1: linux bash scripts tutorial $ which bash Example 2: how to create a bash script echo "Hello, world!"