Created
May 5, 2020 14:02
-
-
Save anmolsukki/d8962b2d8d1d8b2314df019f37a1ce42 to your computer and use it in GitHub Desktop.
[ Shell Script ] Run Shell Script by using another Shell Script
This file contains hidden or 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
# another shell script | |
echo "This script is succesfully running." | |
echo "Have Fun." |
This file contains hidden or 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
#!/bin/bash (call shell script to another shell script) | |
echo "This script is about to run another script." | |
sh ./another_script.sh | |
echo "This script has just run another script." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment