mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Sep. 17 2005,15:10 |
|
wget in DSL is not a full wget...it is part of Busybox, with limited functionality. This isn't really related to your trouble, but just thought i'd be clear on that point just in case.
The syntax of your command is not supported by wget, which is why you received the help message. The help being displayed is almost always a result of an incorrectly typed command, and is there to give you a clue about what was wrong with your command. Looking at the options given, I would say that the problems are: 1) You specified a target without telling wget that it is a target. So what you'd need to do is insert "-O" in front of the target. 2) The target is a directory, which is also not supported. You need to specify a filename.
If you don't want to specify a particular filename, you can instead drop the target off the command and cd to that directory before running wget. This is essentially the same as downloading and then moving the file, as you have done, but i assume there is less cpu work involved.
The apt-get command should not be run by anyone but root...this is standard linux behavior, to prevent inexperienced regular users from causing the destuction of the system.
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|