Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #cpcbash.sh
- #Released under a GPLv3 Licence by Clockwork PCT
- #BASH script to generate BASH scripts
- echo "What do you want to call your BASH script?"
- read RESPONSE
- echo "#!/bin/bash" | tee $RESPONSE.sh
- echo "#Filename:$RESPONSE.sh" | tee -a $RESPONSE.sh
- echo "#Released under a GPLv3 Licence by Clockwork PC" | tee -a $RESPONSE.sh
- chmod +x $RESPONSE.sh
- sudo ln -s ~/Documents/bin/$RESPONSE.sh /usr/local/bin/$RESPONSE.sh
- sudo chmod +x /usr/local/bin/$RESPONSE.sh
- gedit $RESPONSE.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement