So I have tried over 10 different attempts and I'm just stumped

Here are two inverted-tree diagrams. Issue a command to change the left diagram to the right diagram. Assume that you are in your home directory and use relative pathnames. [home] is your home directory:

Here is the diagram:

         [home]                                          [home]
           |                                               |
     +----------+----------+                      +-------------+
     |          |          |                      |             | 
systems       ideas     courses                  ideas       courses
     |                                                          |
    notes                                                     systems

Here's what I have tried so far:

mv system courses/system
mv [home] home
mv [home] [home]
mv [home]/courses/ideas/systems/notes [home]/ideas/courses/system/notes 

and many more.. any ideas?

I'm using SSH Secure Shell to do this by the way.

  • 2
    No, we will not answer your test questions for you. – John Jun 12 '15 at 14:20
  • 3
    @John in this case, the OP has at least tried. – terdon Jun 12 '15 at 14:21
  • 1
    The command mv moves files or directories from one place to another in the filesystem tree. It's one of the most basic command and us answering your question wouldn't help you a bit. If you don't understand this by yourself, I suspect the rest of the questions will be very hard for you. – user43791 Jun 12 '15 at 14:26
  • 2
    It's question 7 in the UNX122 course run by David Ward at Seneca College some years ago: cs.senecac.on.ca/~david.ward/unx122/notes/Lab3_Summary_031.html – JdeBP Jun 12 '15 at 14:27
  • 3
    @John homework is not off topic as long as the OP has put some effort into it. – terdon Jun 12 '15 at 14:28

You want to move the systems directory into the courses directory. Just:

mv systems courses/
  • uhg, it was that easy, huh. thank you. – user119168 Jun 12 '15 at 14:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.