Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to run

% mvdir 

earlier and it said command not found. I then ran a search for it and still not found. Is there a place I can download the script for the command, and is there any information I should know post-download to get it to work?

share|improve this question
up vote 16 down vote accepted

Linux does not need mvdir. GNU mv operates on both files and directories.

share|improve this answer

If you are accustomed to using 'mvdir' to move folders just assign an alias to it.

alias mvdir='mv'

Now, 'mvdir' acts the same as typing 'mv'

share|improve this answer
    
This is more of a 'if you're already used to one way, why learn another' type answer. – Evan Plaice Jun 18 '10 at 5:45
    
Yes... and if you accidentally move a file instead, you'd expect a command like "mvdir" to error out instead. – Jarvin Jun 18 '10 at 5:50

You probably want to use the mv command for Linux/Ubuntu, assuming you are trying to move a file/directory. mvdir is obsolete.

share|improve this answer
    
what does "mv is obsolete" mean? – quack quixote Jun 18 '10 at 2:03
1  
I'd assume that it's a typo, and that he meant 'mvdir is obsolete' – Babu Jun 18 '10 at 2:14

Here are a couple reference pages of Linux commands:

http://ss64.com/bash/

or

http://www.oreillynet.com/linux/cmd/

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .