How to pass argument with exclamation mark on Linux?

You should be able to simply wrap things in single quotes in the shell.

$ emailsender.py -u username -p 'pass!!'

Leave a Comment