How to make a shell script executable Linux CLI

ubuntu blog 1

This is a quick reference guide on how to make a shell script executable on Linux Based Operating Systems.

1. chmod +x

root@FTP:~# ./shell.sh
-bash: ./shell.sh: Permission denied
root@FTP:~# chmod +x shell.sh
root@FTP:~# ./shell.sh

Thank you for reading and please feel free to leave any feedback.

Leave A Comment

What’s happening in your mind about this post !

Your email address will not be published. Required fields are marked *