Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux how to execute a script

//Use the ls command to view permission on the script:
$ ls -l script-name-here

// To execute the script, type:
$ ./script-name-here

//Make the script executable with command 
$ chmod +x <fileName>
 
PREVIOUS NEXT
Tagged: #linux #execute #script
ADD COMMENT
Topic
Name
3+1 =