In linux, in bash scripting, command expansion syntax can be either, for example: echo $(ls) , or equavilantly: echo [...]
Answer
`ls`
^^ note the use of the single backward quotes around ls
Question
In linux, in bash scripting, command expansion syntax can be either, for example: echo $(ls) , or equavilantly: echo [...]
Answer
?
Question
In linux, in bash scripting, command expansion syntax can be either, for example: echo $(ls) , or equavilantly: echo [...]
Answer
`ls`
^^ note the use of the single backward quotes around ls
If you want to change selection, open document below and click on "Move attachment"
7. Shell Scripting n factorial 20 and see the output. If we want to assign the output to a variable, we can do this with X=`factorial 20` . Note that another notation which gives the effect of a backward quote is <span>$( command ) , which is identical to ` command ` . Here, I will always use the older backward quote style. Next: 8. Streams and sed Up: rute Previous: 6. Editing Text Files Contents <span>
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.