Skip to content

Instantly share code, notes, and snippets.

@04pallav
Last active September 22, 2017 22:50
Show Gist options
  • Save 04pallav/020aa6529fbb0545dd6a55e52643d8dc to your computer and use it in GitHub Desktop.
Save 04pallav/020aa6529fbb0545dd6a55e52643d8dc to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment