is there a problem with my Linux distribution? i tried to run this command using the ! symbol,but it always display an error:
echo .[!.]*
zsh: event not found: .
Am using Kali Linux.
is there a problem with my Linux distribution? i tried to run this command using the ! symbol,but it always display an error:
echo .[!.]*
zsh: event not found: .
Am using Kali Linux.
Either escape the !
echo .[\!.]*
or use ^
instead
echo .[^.]*
Both avoid unintentionally triggering history expansion.