Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question
In Linux, what does the #! syntax do when you put it at the top of any type of script/code?
Answer
It tells linux what program to use (full path) to run the script (e.g. #!/bin/sh for shell script, #!/usr/bin/python3 for python, etc)

Question
In Linux, what does the #! syntax do when you put it at the top of any type of script/code?
Answer
?

Question
In Linux, what does the #! syntax do when you put it at the top of any type of script/code?
Answer
It tells linux what program to use (full path) to run the script (e.g. #!/bin/sh for shell script, #!/usr/bin/python3 for python, etc)
If you want to change selection, open document below and click on "Move attachment"

7. Shell Scripting
Edit the file using your favorite text editor. The first line should be as follows with no whitespace. [Whitespace are tabs and spaces, and in some contexts, newline (end of line) characters.] <span>#!/bin/sh The line dictates that the following program is a shell script, meaning that it accepts the same sort of commands that you have normally been typing at the prompt. Now enter a nu

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.