wget not working! but "man wget is" ???
Hi all,
I was trying to use wget command! but all i can access is the man page and thats it! when ever i try using wget with url, i get "command not found" indication? do i need to install any dependencies to get it working? |
Like this?
-bash: wget: command not found This means you don't have either wget's directory in your PATH, don't have it installed, or it is not executable by you. The first two are the most likely options. |
Yeah you where right!!
Apparently the pkg is present but not in the PATH a ./wget <url> IS working but some errors being thrown up. |
Sometimes I get lucky.
Add wget's directory to your PATH. Assuming it is in /usr/local/bin : PATH=$PATH:/usr/local/bin and place this in your shell startup file (eg. .bashrc, .profile, ,kshrc). I can't guess what the other errors are. |
ok i will do it and let you know
Thanks for you help |
The location of many Gnu commands including wget is /usr/sfw/bin under Solaris.
You can add /usr/sfw/bin to the PATH and SUPATH variables in the /etc/default/login file. |
All times are GMT -5. The time now is 08:09 PM. |