In linux, what is the first line you use to start any shell script?
Answer
#!/bin/sh
^^ also accpetable: #!/bin/bash
^^ note there is no whitespace, and note that we are using the shebang (#!) syntax to indicate what program will be used to run the script (e.g. /bin/sh)
Question
In linux, what is the first line you use to start any shell script?
Answer
?
Question
In linux, what is the first line you use to start any shell script?
Answer
#!/bin/sh
^^ also accpetable: #!/bin/bash
^^ note there is no whitespace, and note that we are using the shebang (#!) syntax to indicate what program will be used to run the script (e.g. /bin/sh)
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 number of
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised 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.