Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Cp command for linux

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

\ cp-ar-p-f * / mysql/db/my5724

Explanation:

1. Preceded by a slash to indicate that the cp of the system is not used (skip the alias cp='cp-i' defined in .bashrc)

2. Parameter-an or-p means that the permission attribute of the file remains unchanged during the copy process.

3.-r means to copy all the files in this directory and subdirectories recursively

4.-f indicates a mandatory copy, and no prompt for overwrite appears

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report