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, in a shell script, how do you create a variable, x, and assign to it the value, 2?
Answer
x=2

Question
In Linux, in a shell script, how do you create a variable, x, and assign to it the value, 2?
Answer
?

Question
In Linux, in a shell script, how do you create a variable, x, and assign to it the value, 2?
Answer
x=2
If you want to change selection, open document below and click on "Move attachment"

7. Shell Scripting
keyboard into that pigeonhole. Thereafter, whenever the shell encounters NM , its contents are written out instead of the letters NM (provided you write a $ in front of it). We say that NM is a <span>variable because its contents can vary. You can use shell scripts like a calculator. Try 5 echo "I will work out X*Y" echo "Enter X" read X echo "Enter Y" read Y echo "X*Y = $X*$Y = $[X*Y]" The

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.