Home  >  Article  >  Operation and Maintenance  >  How to paste and copy in centos?

How to paste and copy in centos?

coldplay.xixi
coldplay.xixiOriginal
2020-06-19 10:20:3314139browse

How to paste and copy in centos?

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.

How to paste and copy in centos?

#2. Right-click "Copy" and then "Paste" when a copy error prompt window appears.

How to paste and copy in centos?

How to paste and copy in centos?

3. And in some places, right-click "Paste" is gray and you cannot copy files at all. These are mostly file permission issues. .

How to paste and copy in centos?

#4. So in order to avoid these situations, we usually right-click on the folder and "open in terminal".

How to paste and copy in centos?

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

How to paste and copy in centos?

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

How to paste and copy in centos?

#7. Then we can find the copied testfile folder under home, and the files in it are also in it.

How to paste and copy in centos?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn