0

I realize, it's possible to use the # in shell scripts:

#we're about to do something because we want to
do_something();

It would be nice however to occasionally write a comment inline at the command prompt, and I haven't seen a way to do this:

owilliams@OWILL04833 ~/go/test-tools$ ls -la config*     #find all configuration files
error: ls: #find: No such file or directory

especially so it would go in .bash_history or .zsh_history. Is this possible?

Oliver Williams
  • 5,966
  • 7
  • 36
  • 78

0 Answers0