Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- chmod u+x /home/joey/hello.sh
- ./hello.sh # if you are in the same directory
- ~/hello.sh # if you are in another directory
- hello.sh # if you put in a directory included in the $PATH
- sudo cp ~/hello.sh /usr/sbin
- sudo chmod o+x /usr/sbin/hello.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement