Browsing index pages (2 articles)
↧
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 ArticleAnswer 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
Browsing index pages (2 articles)