The Computer Oracle

In bash, how do I escape an exclamation mark?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: A Thousand Exotic Places Looping v001

--

Chapters
00:00 Question
00:34 Accepted answer (Score 205)
00:54 Answer 2 (Score 191)
01:30 Answer 3 (Score 89)
02:06 Answer 4 (Score 17)
02:26 Thank you

--

Full question
https://superuser.com/questions/133780/i...

Answer 1 links:
[this answer]: https://stackoverflow.com/a/20053121/567...
[the ]: https://github.com/scop/bash-completion/...

Answer 2 links:
[history expansion]: https://www.gnu.org/software/bash/manual...
[special case]: https://www.gnu.org/software/bash/manual...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#bash #syntax #escapecharacters

#avk47