[root@localhost installer]# rm -rf !(iguard*)
-bash: !: event not found
[root@localhost installer]# shopt -s
checkwinsize on
cmdhist on
expand_aliases on
extquote on
force_fignore on
histappend on
hostcomplete on
interactive_comments on
login_shell on
progcomp on
promptvars on
sourcepath on
[root@localhost installer]# shopt -s extglob
[root@localhost installer]# shopt -s
checkwinsize on
cmdhist on
expand_aliases on
extglob on
extquote on
force_fignore on
histappend on
hostcomplete on
interactive_comments on
login_shell on
progcomp on
promptvars on
sourcepath on