Downloading via SSH to a server with wget and lynx disabled

Dec 13
1

Downloading via SSH to a server with wget and lynx disabled

Wed, 2006-12-13 22:42 — superuser

Imagine my suprise when I logged into a reseller account via SSH and got the following:

-bash-3.00$ wget
-bash: wget: command not found
-bash-3.00$ lynx
-bash: lynx: command not found

Obviously these days no-one likes to SCP or FTP files around and its always nice to download straight from the source. If you are getting the above on a general LAMP server it's very likely curl is still on there, the following command works a treat.

curl -LO http://domain.org/some-large-file.tar.gz

Comments

Anonymous (not verified) says:

useful for pulling some big tars down

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo].

More information about formatting options