Sample Header Ad - 728x90

Using bash functionality in rc files

0 votes
1 answer
181 views
I am trying to do something similar to https://unix.stackexchange.com/questions/266808/avoiding-plain-text-password-in-http-proxy but inside the .wgetrc/.curlrc configuration files. For whatever reason, I have spotty luck by passing proxy settings through the command line (i.e. the configuration files are completely reliable). The problem is that I don't want my proxy password in plaintext anywhere on the system (e.g. in my bash_history or hardcoded into the rc files). Is there any workaround to leverage bash functionality within these rc files? Ideally, I wouldn't have spotty luck with the CLI proxy settings but I haven't been able to pinpoint why this is the case.
Asked by Sterling Butters (117 rep)
Jul 26, 2023, 03:38 PM
Last activity: Jul 26, 2023, 03:48 PM