While reviewing existing tags (I was looking for Incident Response/Investigation related subjects) I came across the history-expansion tag. Without a wiki definition I had to look at questions already tagged and assume it refers to expansion of the shell history, which will vary greatly depending on WHICH shell is the focus.
Is there value having a tag to distinguish this subject from command-history?
bash
,zsh
andcsh
manpages, it specifically refers to a specific shell syntax where!
(which could be changed to another character inbash
orzsh
) is interpreted in a special way (being replaced with whole or parts of previous commands). It's not about interactive shortcuts like Ctrl-P, Ctrl-N Ctrl-R in bash (when in emacs editing mode).^
, and both!
and^
are also configurable incsh
. sorry.modifier-failed
in order to be sure that nobody is using it by mistake ;-)bash
users get strange error messages due to the broken implementation and will never guess that history expansion is the reason