UNIX

Your first UNIX Shell Script

Angular JS

Step 1. Open your terminal and type following:

# my first unix shell script echo 'Hello World!' > /path/to-save/unix.sh

Step 2. Save your writings by pressing Esc then : then w keys.

Step 3. Locate to your unix.sh file $ cd /path/to-save

Step 4. Type $ vi unix.sh or $ vim unix.sh to run your first shell script

It will print Hello World!