1. Rmdir-p is used to delete a list of directories, such as Rmdir-p/TMP/TEST/1/2/3 if/tmp/1/2/below in addition to the 3 directory has a 4 directory, 4 directory also has a 5 directory, then whether it can be successfully deleted? Rmdir-p the error
Three types of permissions for files:读、写、执行 owner: 属主, u group: 属组, g other: 其他, o all 所有, a
The permissions of a file on whether the user has read and write permissions, first determine whether the
: Linux File attributes: the default linux permission is in. we can see that the figure is divided into seven columns. what each column represents? I will explain in detail below. in, we can see the default permissions of the test1 file and the test2
Work of some content, this is China Mobile group's current Linux machine security compliance standards, find some time to classify it, and check out some information, what each configuration means, not only to know it, but also to know its why. A
Contents1. Directory and path???? 11.1 Absolute path and relative path???? 11.2 CD Transform Catalog???? 11.4 mkdir Create a new directory???? 21.5 rmdir Delete Empty directory???? 31.6 $PATH (must capitalize) the path of the execution instruction???
Let's take a look at an example:
[root@local opt] #ls-al
The Ls-al command is all files that list directories, including hidden files. The filename of the hidden file is the first character '. '
-rw-r--r--1 root root 08-02 14:54
This chapter mainly describes how to operate and manage the Linux system files and directories, mainly including the switch between directories, the creation and deletion of directories, the creation and deletion of files , file lookup, file content
Permissions on the Linux file systemFirst, let's look at how to modify a file's owner and owner groupModify the owner of the file: Chownchown [OPTION] ... [OWNER] [: [GROUP]] FILE ...UsageOwner modifies the ownerOwner:group Modify owner: Genus Group:
When you create a new file with touch or use mkdir to create a new folder, you will also find that they have default permissions when you do not manually add permissions to it.Each terminal will automatically add permissions to the newly created
Lesson 13:linux Getting Help
Almost all commands can use-h or--help to get help information
The man command is Linux for detailed help information, the man document is divided into many types:
Man–k documents that contain keywords
1. Directory and Path 1.1 absolute path and relative pathAbsolute path: Must have root directory/write, for example:/usr/share/docRelative path: Not by root/write, for example: by/usr/share/doc to/usr/share/man, you can use the following
in the Linux system, we often need to modify the file permissions, such as to increase the security of the main group of what, or access rights, this is very common, all we need to understand a few three commands: Chown,chgrp,chmod,umask650)
**************************************************Mkdir,rmdir,rm,cp,mv,chown,chmod has the-v option visualization with alias hints to avoid hints with absolute paths/bin/cp/bin/mv/bin/rm/bin/chown/bin/chmod********************************************
Full file rights
Show all rights to a file
Change the full rights of a file
Permissions for files
Permissions to change files
Change with symbolic notation
Change with digital notation
This is a creation in
Article, where the information may have evolved or changed.
Recently looking at Apue, the example of the function umask used a bitwise operation, which is a very suitable scenario for using bit operations, and it is necessary
How to install, configure, and manage proftpd in Linux-Linux Enterprise Application-Linux server application information. Oftpd is an open source ftp server software, which is the most widely used domestic version of wu-ftpd in the world. It fixes
1. Introduction to ProFTPD.
ProFTPD is an open source FTP server software, which is the most widely used domestic version of wu-ftpd in the world. It fixes many defects of WU-FTPd, significant improvements have been made in many aspects. One of the
The chmod command can change permissions for all subdirectories, there are 2 waysChange permissions for a file: chmod mode File|dirTo change permissions for all subdirectories: chmod mode dir-r Note that a-R parameter is appendedThe parameter is the
Related learning materialshttp://blog.sina.com.cn/s/blog_4e2e6d6a0100g47o.htmlhttp:// blog.csdn.net/aegoose/article/details/25439649Directory1 . Linux file system permissions 2. Security configuration for Linux directory file permissions1. linux
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.