Home » Shell Scripting Comments

Shell Scripting Comments

by Online Tutorials Library

Shell Scripting Comments

Any line starting with a hash (#) becomes comment. Comment means, that line will not take part in script execution. It will not show up in the output.

Linuxss Comment 1

Look at the above snapshot, lines after the # are commented.

Linuxss Comment 2

Look at the above snapshot, commented lines are not displayed in the output.

You may also like