I am trying to print #!/
via Bash, but it doesn't print it and instead prints the following.
parth@parth-ubuntu64:$ echo "#!\/"
bash: !\/: event not found
EDITED: Allow me to make one more update. How do you make the following work? I think I should just use python instead of bash. The reason why I am trying to do this is because, I want to pipe this into a file which requires sudo permission. This is the only way I can execute sudo => sudo sh -c " echo something > file "
sh -c 'echo \'#!/bin/bash \' '