Is executing a line, beginning with a hash-tag, like
#something, in a terminal, dangerous?
Or in a multi-line manner:
usr@machine:~$ <<something > 1 > 2 > 3 > something usr@machine:~$
As I understand that's just a comment in bash; but wanted to be sure how it works in a terminal.
Why? The reason I do this; is that I want to use the command line history itself, for note-taking! I've set
.bashrc and it works just fine. This way, I can see my notes, alongside my commands, in a meaningful order, in time. I have some simple personal note-taking style that is getting parsed using a simple script.