Mention How do you insert comments in the command line prompt?

Category: LinuxMention How do you insert comments in the command line prompt?
Editor">Editor Staff asked 2 years ago

Mention How do you insert comments in the command line prompt?

1 Answers
Editor">Editor Staff answered 2 years ago

Comments are created by typing the # symbol before the actual comment text. This tells the shell to completely ignore what follows. For example “# This is just a comment that the shell will ignore.”