If anyone wants to close as dupe of Differences between doublequotes " ", singlequotes ' ' and backticks ´ ´ on commandline? please leave a comment explaining how answers there explain what I'm asking here. Thanks.
Please look at these commands:
$ notify-send SYNC TIME! $ notify-send 'SYNC TIME!' $ notify-send "SYNC TIME!" bash: !": event not found $
The first two commands produce a notification bubble as expected. The third gives the error shown.
$ echo SYNC TIME! SYNC TIME! $ echo 'SYNC TIME!' SYNC TIME! $ echo "SYNC TIME!" bash: !": event not found $
Here as well, the
echo works for first two commands but not in the third.
More problems here (although I was not planning on using this): both
notify-send "SYNC!TIME" and
echo "SYNC!TIME" give
bash: !TIME": event not found.
echo work with
Can someone please explain why the
bash: !": event not found error appears?