How To Give Execute Permission to Bash Scrip File Linux UNIX


When ever your create bash script file you mush give execute permission (x) to the specified file then only you can run the bash script file.
By through chmod Linux command we can grand executed permission to that bash shell script file.
Before it is permission
By through following command
#chmod +x
After granted permission

Execute permission bash script file It gives the executed permission to the all person (like root, group and other)
.sh extension refer to the it is the bash script file

No comments:
Write comments