Add comments to terminal commands

Today I learned, that you can use comments in terminal commands with # character.

 echo foo bar
foo bar
❯ echo foo # bar

I use this to remember id's I input to Android emulator from terminal. This way I can just search the terminal history instead of always opening my notes to find specific id.

aw 12345678 # Test user: admin access
aw 98765432 # Test user: permaban

✌🏼 Like my content? Subscribe via RSS feed.