Discover linux copy folder recursively with permissions, include the articles, news, trends, analysis and practical advice about linux copy folder recursively with permissions on alibabacloud.com
A few common concepts about Linux folders
PathDescriptive narrative mechanism of file location information. Refers to a path from a folder hierarchy in a tree folder to one of its files. It is divided into relative path and absolute path;
Each file and directory in a Linux system has access permission to determine who can access and manipulate files and directories in any way.
File or directory access is divided into read-only, write-only and executable three kinds. In the case of a
./Represents the meaning of this catalogue.(1): User and user Group,1: File owner, file owned by a user2: User group: Assign one or more user rights to the file configuration3: Other people:(2): Linux user identity and user group record files1:root
The CP command is more commonly used in Linux VPS operations and applications, and can be used to copy files or folders, rename a new file, and copy files to other paths for transfer.
Example usage:
1. Copy the itbulu.com.jpg file from the root
Linux System ManagementDoes the terminal font become larger?? CTRL + SHIFT +? Change the size of CTRL +-become smallerLS shows what file the current path hasPWD Displays the current path/: root directory, only directory under the general root
mkdir commandOne, mkdir command use permissionsAll users can create folders or directories in a folder that has permissions by using the mkdir command at the terminal.Second, the mkdir command uses the formatFormat: mkdir [options] DirNameThree,
Learn about common account profilesLearn to manage user accounts and group accountsLearn to set permissions for a directory or fileLearn to set the attribution of a directory or file
User account file/etc/passwd: Save the user name, host
four, Linux basic commands
1. The absolute path is expressed by what symbol. What is represented by the current directory, the top-level directory. What do you mean by the home directory? What commands to switch directories with.
Absolute path:
This document incrementally updates the cumulative
1. Wildcard characters:
Parameters
meaning
*
Represents any number of characters in a file name, or it can have no
LS te* find files
Linux Delete Folder commandLinux Delete directory is very simple, many people are still accustomed to use rmdir, but once the directory is not empty, it fell into deep distress, now use the RM-RF command.Direct RM is available, but add two
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.