0

I have an Ubuntu (22.04) machine, where the proxy is set from GUI.

I have a job running in crontab. How can I access the actual proxy settings from the cron job? In normal shell, there is an env variable $http_proxy, but I cannot find the actual proxy IP under /etc with grep.

2
  • Have you also grepped your home directory: cd; grep http_proxy .*? (include hidden files)
    – moo
    Commented Jun 25 at 6:32
  • 1
    @moo Yes, but found only in .bash_history :)
    – pihentagy
    Commented Jun 25 at 14:04

0

You must log in to answer this question.

Browse other questions tagged .