8. Executable Files and Scripting in Linux Flashcards
1
Q
What is always the first line of a script file?
A
The shebang or bang line
2
Q
What is a shebang or bang line?
A
It tells which interepreter should be used for the execution of the file.
3
Q
What is the representation of a shebang?
A
#!
4
Q
How do I execute a script?
A
By just entering its absolute or relative path.
5
Q
What is the command to add a new path to the PATH variable?
A
export PATH=$PATH: