Find the answer to your Linux question:
Results 1 to 5 of 5
I'm told to go to /home/jbander/Downloads, so how do I do that, I assume you do it in terminal but what do you do next, I can get to home ...
  1. #1
    Just Joined!
    Join Date
    Feb 2011
    Posts
    22

    moving from one file to another

    I'm told to go to /home/jbander/Downloads, so how do I do that, I assume you do it in terminal but what do you do next, I can get to home but thats it. How do I go from one directory or file or whatever they are, to another and once I'm there what do I do to see what is in the download file. One more question if I want to change it from e.g. cow to e.g. duck how would I do that(they are just arbitrary names) how do I get rid of cow and how do I put duck in it's place.

  2. #2
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,093
    Quote Originally Posted by jbander View Post
    I'm told to go to /home/jbander/Downloads, so how do I do that, I assume you do it in terminal but what do you do next, I can get to home but thats it. How do I go from one directory or file or whatever they are, to another and once I'm there what do I do to see what is in the download file. One more question if I want to change it from e.g. cow to e.g. duck how would I do that(they are just arbitrary names) how do I get rid of cow and how do I put duck in it's place.
    From the terminal you can change directory:

    Code:
    cd /home/jbander/Downloads
    To rename files, you can use the move command:

    Code:
    mv /home/jbander/cow /home/jbander/duck
    Some quick and easy command line lessons can be found here:

    LinuxCommand.org: Learn the Linux command line
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    In addition to what ozar has suggested, Linux is case and space sensitive too. Make sure to type correct case.
    Code:
    cd /home/jbander/Downloads
    ls
    ~ sign represents Home folder i.e., /home/<user_id>.
    Code:
    cd  /home/jbander/Downloads
    and
    Code:
     
    cd ~/Downloads
    will do the same, Change directory to Downloads folder.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,093
    jbander, once you've completed the lessons at the link posted above, here's another good tutorial that will give you some other handy things worth knowing:

    UNIX / Linux Tutorial for Beginners
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Quote Originally Posted by ozar View Post
    jbander, once you've completed the lessons at the link posted above, here's another good tutorial that will give you some other handy things worth knowing:

    UNIX / Linux Tutorial for Beginners
    That's a really good tutorial for beginners. Bookmarked !
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...