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. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2011
    Location
    London UK
    Posts
    29

    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
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    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.

    I'd rather be lost at the lake than found at home.

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

  4. #4
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    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.

    I'd rather be lost at the lake than found at home.

  5. #5
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    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

Posting Permissions

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