Last active
September 22, 2017 22:50
-
-
Save 04pallav/020aa6529fbb0545dd6a55e52643d8dc to your computer and use it in GitHub Desktop.
sh and zsh files Unix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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