How to paste and copy in centos?
centos paste and copy method:
1. There is a "testfile" folder in the centos user directory, which contains multiple files.
#2. Right-click "Copy" and then "Paste" when a copy error prompt window appears.
3. And in some places, right-click "Paste" is gray and you cannot copy files at all. These are mostly file permission issues. .
#4. So in order to avoid these situations, we usually right-click on the folder and "open in terminal".
5. Switch to the "root" user and use "chmod -R" to give the folder testfile to be copied and the files in it read and write permissions, for example, directly give 777.
chmod -R 777 testfile
6. Then use the "cp -R" command to copy the folder testfile and the files inside to the required location , such as inside home.
cp -R testfile /home
#7. Then we can find the copied testfile folder under home, and the files in it are also in it.
Recommended tutorial: "centos tutorial"
The above is the detailed content of How to paste and copy in centos?. For more information, please follow other related articles on the PHP Chinese website!