I have got the directory /home/user/foo and I want to rename it to /home/user/bar. How can I do this in a terminal?
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
|
||||
|
|
|
|||||||
|
|
To just rename a file or directory type this in Terminal:
with space between the old and new names. To move a file or directory type this in Terminal.
it will move the file to the desktop. If is a directory you should add
|
||||
|
|
