Page 1 of 1

Bash scripting: How to output and format text on Linux Shell

Posted: Fri Jan 11, 2019 2:32 am
by crosscourt

Re: Bash scripting: How to output and format text on Linux Shell

Posted: Fri Jan 11, 2019 2:58 pm
by chris
There's a major mistake in that runthrough. He says "x=100" and then "echo x". That will echo "x" not "100". (Should be "$x"). ALSO he would be better doing a tutorial on the bash printf command.

Re: Bash scripting: How to output and format text on Linux Shell

Posted: Fri Jan 11, 2019 5:57 pm
by crosscourt
Feel free to contact him and discuss the issue.

Re: Bash scripting: How to output and format text on Linux Shell

Posted: Fri Jan 11, 2019 6:06 pm
by tlmiller
Although he does it correctly in the screenshot, it does indeed show echo $x