Du view the directory size, DF to view disk usage.I often use commands (sudo uses root privileges, if necessary),1. View the size of a directory: du-hs/home/master/documentsView the size of all directories under the directory and sort by size
Introduced:The du command displays the space information that the specified file (clip) occupies on the disk. If the specified file parameter is actually a directory, all the files in that directory will be evaluated. If no file parameters are
1, VI of the basic conceptBasically, vi can be divided into three states, namely command mode, insert mode (and bottom line mode), and the function of each mode is as follows:1) command-line modeControls the movement of the screen cursor, the
1, how to view the current user's home directory is what?Echo $HOME2, if the setting Umask is 001, then the user defaults to create the directory and file permissions to look like?The directory created is 766 and the file is 6663, for security
Today in doing Zabbix hardware monitoring, always appear the error of the hint, carefully check to see if the original is not my memory is not enough:650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/5C/92/wKioL1Ud85-Rm7FyAADMXbK2S60458.jpg
UmaskCatalog: 777-umaskFiles: Permissions after 666-umask touchumask=023File does not have Execute permission by defaultTouch A.txt mod=643---> Executable, automatically add 1. Becomes 644.To directory: mkdir BB mod=754 does not changeSuidSgidSticky
The Platform device is first registered and then the platfrom driver loads when the probe() entry function in the driver is called, scanning the system for registered devices, through. the Name domain matches the drive and device bindings after it
When network frames enter the network layer, it is necessary to distinguish between different network protocols for processing, which involves protocol processing functions.First we receive a data frame from the driver and analyze the data frame's
First, the composition of the Linux system1, computer hardware--Von Joyman's five major hardware: CPU (Calculator, controller) memory, I/O (input device, output device)2, the Linux kernel ("kernel" refers to a hardware abstraction layer, disk and
1.Linux is a network operating system, as a multi-user, multi-tasking operating system, its system resources are shared by all users. Anyone who wants to use system resources must first register in the system, register, that is, to open a user
--------------I'm a split line--------------XX leader said let me get a recycling station script, write to give him a demonstration, he told me clearly his needs.He wants the FTP server to detect the deletion of files or directories when the action,
Linux under Iptables configuration detailedIf your iptables basic knowledge is not yet known, it is recommended to take a look first.Start ConfigurationLet's configure a firewall for the filter table.(1) Check the setting of this institution in
First, the physical machine adds a new hard drive method (the purpose is to add the added disk directly above the existing, no more partition Mount)1, first to determine the existing system on the plate[Email protected] ~]# DF-LHFilesystem Size used
Yum can search software dependencies from many package repositories, thereby reducing the problems associated with dependencies. There is also the use of the graphical interface, in the application-add removal software under the browser is empty.
Wildcard characters:File name wildcard is one of the features of bash, and wildcards are typically used for file name matching.*: Any character of any length? : Matches any single character[]: matches any single character in the specified
Example:The zip command can be used to compress files into a common zip format. The unzip command is used to extract the zip file.1. I want to compress a file abc.txt and a directory dir1 into Yasuo.zip:# zip-r Yasuo.zip abc.txt Dir12. I downloaded
One command a day, a record,I want to be a big God, hahaha.This original article belongs to the "Linux Greenhouse" blog.The blog address is http://roclinux.cn.Article author for RocI hope you can donate to support the operation and development of
Packaging and compression of Linux documentsOne, gzip: Compression toolGzip can only compress files, not compressed after the directory directly with the files to be compressed.The file is compressed by default with a suffix name to distinguish what
Xin Xing analyzes basic process knowledge in Linux and a simple understanding of fork. Xin Xing fork
A process can be considered as an execution process of a program. In Linux, each process has a unique PID to identify the process. PID is a positive
Getting started with Linux: how to use common Linux commands
Overview
Many people may have seen similar scenes on television or movies. Hackers face a black screen with dense characters on it. After a click, they have completed the data theft
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service