CentOS cp command
Hello, i am a CentOS newbie and i am studying about cp command.
i wanna know what is the differences between the command Code:
cp -p Code:
cp -pv i need fast reply. thanks. |
cp is part of the coreutils package found on all Linux distributions and is therefore not specific to CentOS.
You can get information about commands by reading their man (for "manual") pages, e.g. Code:
$ man cp -v, --verbose explain what is being done Also, please don't say you need a reply quickly. This is a volunteer site and no questions are more important than any other. |
Code:
man cp |
cp -p
-p preserve when using this option, cp makes sure that attributes of the file, such as owners and permissions, are copied as well you can try it on your CLI and check the difference. |
All times are GMT -5. The time now is 01:50 AM. |