04pallav
9/13/2017 - 10:01 PM

sh and zsh files Unix

sh and zsh files Unix

Linux scripts are sh or zsh


vi test1.sh

First, the most common is to write a file, make sure the first line is
#!/bin/bash
chmod +x test1   # make this an executable

run using 

./test1.sh