If you need to run a file with .sh extension in linux (Ubuntu, Fedora, OpenSuSe, RedHat...) you need to give it first execution rights.
Say, the file is filename.sh, so you type:
chmod 777 filename.sh
to then run the file from the local directory, you type:
./filename.sh
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment