Whilst writing the world's simplest Bash script to: -
- delete a pod
- deploy a new pod
- list the running pods
- describe the newly deployed pod
I wanted to add newline characters into my echo statements, to make things more readable.
I've written before about echo -e so was just double-checking my understanding via the command-line ...
I entered: -
echo -e "Hello World!\n"
but, instead of a friendly greeting, I saw: -
-bash: !\n: event not found