6. Basic Commands Part 3
6. Basic Commands Part 3
Kal
cp stands for copy. This command is
used to copy files or group of files or
directory. It creates an exact image of
i
a file on a disk with different file
name. cp command require at least
two filenames in its arguments.
If the command contains two directory
names, cp copies all files of the source
directory to the destination directory,
creating any files or directories needed. This
mode of operation requires an additional
cp
mv COMMAND
Kal
mv stands for move. mv is used to
move one or more files or directories
from one place to another in a file
system like UNIX. It has two distinct
i
functions:
(i) It renames a file or folder.
(ii) It moves a group of files to a
different directory.
No additional space is consumed on a
disk during renaming. This command
normally works silently means no
prompt for confirmation.
mv
Let's Start
6
It all begins with
a small step..
To succeed, you will soon learn, as I did, the
importance of a solid foundation in the basics
of education