I noticed a script using wget -Y off ...(bunch of stuff)...
which I hadn't encountered before.
Looked it up in the man page and in wget --help
and found nothing.
But it definitely exists as an option; contrast it with the non-existent option -Z
:
# wget -Y
wget: option requires an argument -- 'Y'
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
wget -Z
wget: invalid option -- 'Z'
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
wget --help | grep -- -Y
What is this undocumented option?
-Y on/off Use proxy
(and it's missing--no-proxy
) – Geier Oct 13 '23 at 12:34wget -Y off ...
to fetch the "finish" script from foreman, that is then run "in-target" (with access to normal non-busybox utilities). – Wildcard Oct 13 '23 at 18:41