vault backup: 2024-05-30 12:01:43
This commit is contained in:
parent
12421b9198
commit
4d022a2b76
@ -1,3 +1,6 @@
|
|||||||
|
## Marking a script as executable
|
||||||
|
Sometimes, you may need to mark a script as an executable to run it. On Linux, this can be accomplished by `chmod +x [FILE]`, where `[FILE]` is the f
|
||||||
|
|
||||||
There are various shells with their own language syntax. Therefore, more complicated scripts will indicate a particular shell by specifying the absolute path to the interpreter as the first line, prefixed by `#!` like this:
|
There are various shells with their own language syntax. Therefore, more complicated scripts will indicate a particular shell by specifying the absolute path to the interpreter as the first line, prefixed by `#!` like this:
|
||||||
```sh
|
```sh
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
Loading…
Reference in New Issue
Block a user