Quantcast
Channel: bash: how to pass password containing special characters - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by chepner for bash: how to pass password containing special characters

Just quote the parameter.mypassword='password&123'java -jar client.jar -p username "$mypassword" file.gzThe quotes are only there to keep the shell from performing any further processing of the...

View Article


bash: how to pass password containing special characters

I have a bash script to download data from a website. For this I need to pass the username and password using a java client for the website. My password has a special character that is causing...

View Article
Browsing latest articles
Browse All 2 View Live