The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

downloaded a file with wget

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

  1. Gaming-Heaven

    Gaming-Heaven Member

    Joined:
    Jan 3, 2007
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    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:
    6
    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:
    16
    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
     
  4. markfrompf

    markfrompf Well-Known Member

    Joined:
    Mar 27, 2006
    Messages:
    176
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Los Angeles, CA
    Excellent idea. But my hopes are that GH will learn some commands.
     
  5. hbidad

    hbidad Well-Known Member

    Joined:
    Apr 16, 2005
    Messages:
    74
    Likes Received:
    1
    Trophy Points:
    8
    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:
    1
    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:
    8
    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:
    16
    Location:
    Southern California
Loading...

Share This Page