Beginner
Linux & Shell Scripting
Q12 / 100
How do you make a shell script executable?
Correct! Well done.
Incorrect.
The correct answer is B) Run "chmod +x scriptname.sh" to add execute permission
B
Correct Answer
Run "chmod +x scriptname.sh" to add execute permission
Explanation
"chmod +x" adds the execute permission to a file, allowing it to be run directly (e.g. "./scriptname.sh") rather than only being readable.
Progress
12/100