When I try to use export password="abcd!0"
, the base gave me an error: !0: event not found
Any help to solve this?
When I try to use export password="abcd!0"
, the base gave me an error: !0: event not found
Any help to solve this?
!
is a special character to bash
it is used to refer to previous commands; eg,
!rm
will recall and execute the last command that began with the string "rm"
Try:
export password="abcd\!1"
or
export password='abcd!1'