Fun fact: in , comments are not limited to scripts. You can write them in interactive sessions too.

This can be useful for leaving yourself a note for later, perhaps on a separate tmux window where you'll be doing the thing.

Comments will also appear in your bash_history, so if someone will be investigating what you're about to do and it's going to be a bad look, you can leave a comment to explain.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.sdf.org/users/argv_minus_one/statuses/114876548577316382 on your instance and quote it. (Note that quoting is not supported in Mastodon.)