how to rename, copy file from one location to another
Christoph Bier
christoph.bier at web.de
Wed Dec 10 12:41:31 UTC 2008
dwain schrieb:
> i am beginning a notebook on how to do things in ubuntu. i would
> appreciate some help.
>
> i need to rename a directory and copy another directory within my
> /home. i am also copying my thunderbird profile from the windows
> version into the tbird directory. i have the path where to copy.
>
> remember, i'm a babe lost in the woods when it comes to the command
> line. i also need to do this from root?
Why do you want to use the command line for this task? You can do it
with Nautilus. Usually you don't need root privileges for file
operations in your home directory.
But if you like to learn the CLI: Use mv for renaming and cp for copying.
mv <source> <destination>
cp <source> <destination>
For copying directories you need the option r:
cp -r <source> <destination>
> would someone show me how to do this, so i can add the code to my notebook?
If you need more information about these two tools just type
man cp
or
man mv
resp. in the command line.
Best
Christoph
--
+++ Typografie-Regeln: http://zvisionwelt.de/downloads.html (1.6)
More information about the ubuntu-users
mailing list