Wikipedia:Reference desk/Archives/Computing/2026 June 30
Appearance
| Computing desk | ||
|---|---|---|
| < June 29 | << May | June | Jul >> | Current desk > |
| Welcome to the Wikipedia Computing Reference Desk Archives |
|---|
| The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
June 30
[edit]why does termux ignore the "!" command
[edit]whenever I type the command ! in termux it just ignores it and when I also type any other command and put " !" At the end of it termux just ignores it like I haven't typed it at all why? Wordsonwordsonpagesonwordshello (talk) 11:05, 30 June 2026 (UTC)
- termux uses Bash shell. The ! is a history expansion command. When you have !, it checks the history of commands for nothing (there's nothing to search for with just !) and silently does nothing. To use the ! as a !, you can put it in quotes like "echo 'Hello!'" or escape it like "echo Hello\!". Alternately, if you have a .bashrc file, add "set +H" to it to turn off the history expansion. ~2026-35239-54 (talk) 11:15, 30 June 2026 (UTC)
- Thank you! Wordsonwordsonpagesonwordshello (talk) 11:17, 30 June 2026 (UTC)