Javatpoint Logo
Javatpoint Logo

Pound Sign (#)

Anything written after # sign will be ignored or will be considered as comment which will not be a part of the command execution. It is used as the comment sign. Comment means you can write anything for your view or benefit and it will not be a part of shell expansion.

Syntax:

Example:

Linux Pound Sign

Look at the above snapshot, we have written some lines for our use after the # sign which are not taking part in the shell expansion or command execution.





Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA