Bash Script and the '&'
Hi All,
I should know this but am drawing a complete blank. I have a simple script that I want to run to automatically log our server into or network and firewall. The firewall log in script look like this: Code:
#! /bin/bash Anyway... That script chokes on the '&' in my password. I can not figure out how to properly escape that character so bash will pass the full password to the script. Any thoughts? Chris |
\& will do it. or put it all in single quotes.
|
All times are GMT -5. The time now is 05:10 PM. |