Question
In linux, you have variable declared: x=2, print out the value of x with 2 decimal points (i.e. 2.00), on a single line followed by newline.

printf "%0.2f\n" $x ^^ note the use of the printf build-in shell command Question In linux, you have variable declared: x=2, print out the value of x with 2 decimal points (i.e. 2.00), on a single line followed by newline. Answer ? Question In linux, you have variable declared: x=2, print out the value of x with 2 decimal points (i.e. 2.00), on a single line followed by newline. Answer printf "%0.2f\n"$x

^^ note the use of the printf build-in shell command

If you want to change selection, open document below and click on "Move attachment"

directory is saved onto a list of directories. At any time, entering popd returns you to the previous directory. This is nice for navigation since it keeps a history of wherever you have been. <span>printf format args ... This is like the C printf function. It outputs to the terminal like echo but is useful for more complex formatting of output. See printf (3) for details and try printf "

#### Summary

status measured difficulty not learned 37% [default] 0

No repetitions