Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

downloaded a file with wget

Discussion in 'Database Discussion' started by Gaming-Heaven, Jan 8, 2007.

  1. Gaming-Heaven

    Gaming-Heaven Member

    Joined:
    Jan 3, 2007
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    151
    i just downloaded a file with wget like this: wget http:downloading.com/downloadlink.tar.gz


    i have no idea how to find out where it is though :( i thought posting it here you guys might know a bit or a hell of a lot more than me about wget

    thnaks
     
  2. S-Combs

    S-Combs Well-Known Member

    Joined:
    Jun 10, 2004
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    156
    It will be in whatever directory you were in when you ran the command..

    If you cannot find it then do this

    updatedb

    Then when that is done updating the search database

    locate downloadlink.tar.gz
     
  3. markfrompf

    markfrompf Well-Known Member

    Joined:
    Mar 27, 2006
    Messages:
    176
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Los Angeles, CA
    Do this

    - cd /root/ (means change directory) or to the place you want to download the file
    - wget http://blah.com/blah_file.zip
    - ls /root/ (or whatever file you cd'ed to)
    The above is LS in lowercase and will list all of the files in the directory you're in.

    For some important SSH commands, see this: http://knowledge.phirefast.com/?q=node/5
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. markfrompf

    markfrompf Well-Known Member

    Joined:
    Mar 27, 2006
    Messages:
    176
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Los Angeles, CA
    Excellent idea. But my hopes are that GH will learn some commands.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. hbidad

    hbidad Well-Known Member

    Joined:
    Apr 16, 2005
    Messages:
    74
    Likes Received:
    1
    Trophy Points:
    158
    either that or type:

    history

    then follow your trail
     
  6. Gaming-Heaven

    Gaming-Heaven Member

    Joined:
    Jan 3, 2007
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    151
    i foudn it guys :D thaks alot

    but now i am stuck again, how do i move it from /root to an accoutn on the server? :(
     
  7. hbidad

    hbidad Well-Known Member

    Joined:
    Apr 16, 2005
    Messages:
    74
    Likes Received:
    1
    Trophy Points:
    158
    mv filename /home/username/

    Would be good to do:

    Chown username:username filename

    Gotta give them permission to use the file :)
     
  8. t9clkclnr

    t9clkclnr Well-Known Member

    Joined:
    Jun 11, 2004
    Messages:
    254
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Southern California
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice