, indicating the permissions of the User, Group, and Other.
R = 4 (read), w = 2 (write), x = 1 (execute)
If the rwx attribute is required, the value is 4 + 2 + 1 = 7.
The rw-attribute is 4 + 2 = 6.
If the r-x attribute is required, the value is 4 + 1 = 5.Articles you may be interested in
Delete files in linux. Detailed explanation of the rm command for folder commands
Summary of
If you want to remove the. svn folder under Windows , the channels that are manually deleted are the most troublesome, because such files exist under each folder.Here's a good idea:Create a text file named Kill-svn-folders.reg (the extension is changed from TXT to REG) with the following content:Copy CodeThe code is as follows:5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\FOLDER\SHELL\DELETESVN] @="Delete SVN F
Du command parameter detailed see: http://baike.baidu.com/view/43913.htm
Here we simply introduce them;
View the size of the Linux file directory and the number of files contained in the folder
Total Statistics Size
du-sh filename (in fact, we often use du-sh *, display the current directory of all the files and their size, if you want to sort and then add | sort-n in the back)
DU-SM * |
Tags: mes only null for display file Form har gre--For a detailed description of the du command parameters see: http://baike.baidu.com/view/43913.htmThe following is only a brief introduction to it;View the size of the Linux file directory and the number of files that the folder containsTotal statistics SizeDu-sh filename (In fact, we often use du-sh * to display all the files and their sizes in the current
Use tar to quickly copy the entire folder from Windows to Linux-general Linux technology-Linux technology and application information. The following is a detailed description. It is very suitable for situations where the hierarchical structure of folders is large:
1. Download the windows tar tool to a local disk (sm
Create a folder command in linux-general Linux technology-Linux technology and application information. For more information, see. Mkdir/home/u1 create Folder/home/u1
Chown oracle/home/u1 indicates changing the directory owner to an oracle account;
Chgrp dba/home/u1 change
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 parameters-rf that is: RM-RF directory nameDelete directory, file rm (remove)Feature Description: Delete files or directories.Syntax: RM [-dfirv][--help][--version][file
In Linux, to modify the file and folder permissions, first take a look at the file attributes. in the shell environment, enter ls-l to view the current directory file. Such as: drwxr-xr-x2nsfusers102412-1017: 37 download file backup are corresponding to: file property connections file has...
In Linux, to modify the file and f
Linux cannot delete the link folder-general Linux technology-Linux technology and application information. For more information, see the following. If the link file is not properly created in linux, the link folder is created in t
false positives caused by the difference in du df.
Du statistics file size AdditionDf statistics block usage
If a process directly loses rm or mv when opening a large file, du updates the statistical value and df does not update the statistical value, I still think the space is not released. Until the process of opening a large file is killed.
In this way, when files under/var/spool/clientmqueue are deleted regularly, if the process is not killed, the space is never released.
Use the following
large file is dropped directly by RM or MV, then du updates the statistics, DF does not update the statistics, or the space is not released. Until the process of opening the large file was killed.As a result, if you delete the file below/var/spool/clientmqueue periodically, the space is not released until you kill the process.After you kill the process using the following command, the system resumes.Fuser-u/var/spool/clientmqueuehttp://www.yayu.org/look.php?id=162
View the size of the
Statistics block usageIf a process opens a large file, the large file is dropped directly by RM or MV, then du updates the statistics, DF does not update the statistics, or the space is not released. Until the process of opening the large file was killed.As a result, if you delete the file below/var/spool/clientmqueue periodically, the space is not released until you kill the process.After you kill the process using the following command, the system resumes.Fuser-u/var/spool/clientmqueueView th
large file is dropped directly by RM or MV, then du updates the statistics, DF does not update the statistics, or the space is not released. Until the process of opening the large file was killed.As a result, if you delete the file below/var/spool/clientmqueue periodically, the space is not released until you kill the process.After you kill the process using the following command, the system resumes.Fuser-u/var/spool/clientmqueuehttp://www.yayu.org/look.php?id=162
View the size of the
process opens a large file, the large file is dropped directly by RM or MV, then du updates the statistics, DF does not update the statistics, or the space is not released. Until the process of opening the large file was killed.As a result, if you delete the file below/var/spool/clientmqueue periodically, the space is not released until you kill the process.After you kill the process using the following command, the system resumes.Fuser-u/var/spool/clientmqueuehttp://www.yayu.org/look.php?id=16
There are generally three ways to export Linux files:1, similar to Windows files directly drag and drop, the mouse to select the target file, from the Linux file directory directly to the Windows file directory;2, the U disk copy exported to the Windows file directory, the same can be imported, you need to plug and unplug the U disk two times;3. Setting up Shared Folders (
REFEREMCE:https://www.smarthomebeginner.com/mount-virtualbox-shared-folder-on-ubuntu-linux/1) VirtualBox Manager, setting, share folder, add share folder, select "Auto-mount" "Make permanent"2) Open the VirtualBox virtual machine, the shared folder sf_xxxx should already be
Under linuxroot, the crontab is used to execute the php script. The is_writable folder in 777 is not writable, And it is okay to run the script directly on the command line. What is the problem? In linux root, the crontab is used to execute the php script. The is_writable folder in 777 is not writable, And it is okay to run the script directly on the command line
Http://blog.sina.com.cn/s/blog_7479f7990100zwkp.htmlTAR-ZCVF /home/xahot.tar.gz/xahotTAR-ZCVF the directory to be packaged when the file name full path is generated after packagingExample: Package the/xahot folder into a/home/xahot.tar.gz file.TAR-ZCVF /home/xahot.tar.gz/xahotIf you are prompted not to "/"The writingTAR-ZCVF /home/xahot.tar.gz xahotZip compression method:Compresses the current folder Zip
1. DF can view the level of folder size, usage ratio, file system and its mount point, but not for the file (see only the windows of the similar C disk, D disk)Du can view the size of files and folders, more useful
2. [Ia@i5a6 ~]$ Df-h
Parameter-H indicates the use of "human-readable" output, that is, in the file system size using GB, MB, and other readable format (compare the parameters used, compared to you do not count the number of bytes)
3. Du
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.