Find the answer to your Linux question:
Results 1 to 5 of 5
Hi guys, I am new to linux and command line and am trying to learn using terminal for the mac right this minute. could someone please help me with this. ...
  1. #1
    Just Joined!
    Join Date
    Aug 2011
    Location
    London UK
    Posts
    28

    Command line difficulty

    Hi guys, I am new to linux and command line and am trying to learn using terminal for the mac right this minute.

    could someone please help me with this.

    I have created a folder called ISO, and I want to move all iso files to it from the download folder. I have tried this

    mv *.iso ISO

    but it doesn't seem to work what am I doing wrong?

    Thanks in advance

    Jonny

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,144
    Hello and Welcome.
    I think you might have to use the entire path. Let's say you have the iso's in /home/jonny/downloads and you want to move them to /home/jonny/ISO
    First cd to the downloads dir
    Code:
    cd /home/jonnny/downloads
    Now move them
    Code:
    mv *.iso /home/jonny/ISO
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  3. #3
    Just Joined!
    Join Date
    Aug 2011
    Location
    London UK
    Posts
    28
    Brilliant Mike, thank you very much, that was exactly it.

  4. #4
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,144
    You're welcome.
    For future reference you can substitute /home/jonny with a tilde ~ like this, this is the exact same as above just less typing.
    Code:
    cd ~/downloads
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  5. #5
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    Hello and welcome!

    For some quick and easy lessons on using the Linux command line, check out this tutorial:

    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.

Posting Permissions

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