DfUsage: DF [options] ... [File] ...Displays information about the file system where each file resides, showing all file systems by defaultCommon options-h,–human-readable size display for human readable form (e.g., 1K 234M 2G)Example[root@www ~]#
Application Scenario: Delete garbled files when the file name is garbled, unable to enter the filename through the keyboard, so under the terminal can not directly use RM,MV and other commands to manage the file. First step: Get the node number of
Let's look at the example of a parent process sending a kill signal to a child process:#include #include #include #include #include int Main (int argc, const char *argv[]) { pid_t pid; int status; PID = fork (); if (0 = = pid) {
1th column min 1~592nd Hour 1~23 (0 = midnight)3rd Liege 1~314th Column Month 1~125th Column Week 0~6 (0 = Sunday)6th List of commands to runHere is the format for crontab:Time-sharing day and month command to runHere are some examples of crontab
# Download Kernel source code compile kernel CD~/linuxkernel/wget https://Www.kernel.org/pub/linux/kernel/v3.x/linux-3.18.6.tar.xzXz-d linux-3.18.6. Tar.xz Tar-XVF linux-3.18.6. Tar CD Linux-3.18.6make I386_defconfig make # usually compiles for a
One, group operations1. Create a groupGroupadd TestAdd a test group2. Modify the GroupGroupmod-n test2 TestChange the name of the test group to Test23. Delete a groupGroupdel test2Delete Group Test24. Viewing groupsA), view the group groupswhere the
1. Shortcut keys under the command lineComrades who often work under the command line may use up to two keys, which are used to recallHistorical command; Use the left and right arrows to move the cursor backwards or forwards to modify the last used
First knowledge of Linux类Unix(Unix-likePublic License)的自由操作系统第一个版本发行于1991年主要用C语言编写,部分代码用汇编语言编写“Linux”在不同语境下的内涵不同Linux内核、Linux系统、Linux开发套件等严格来说,Linux指由Linux Torvalds维护(及通过主要镜像网站发布)的内核Old Linux Version一个类UNIX系统其他类UNIX系统包括Solaris、Mac OS X等一个自由的操作系统起源于19
Log_format is the format used when storing logs and can be set in the HTTP field of/usr/local/nginx/conf/nginx.confThe following is a typical Log_format settingLog_format main "" $http _user_agent "" $http
This content comes from bird's private cuisine1. Directory-related Operations1.1 Special Directories
. Represents this Layer directory
.. Represents a previous level directory
-Represents a previous working directory
~ Represents the
The log of connection time in Linux is usually recorded by the two files of/var/log/wtmp and/var/run/utmp, but these two files cannot be viewed directly with cat, and the file is automatically updated by the system, we can use W, who, Finger, ID,
1. View all commands: Press TAB two times in a row2.man: Operating Instructions2.0 man [command]: View instructions for the specified command2.1 Spaces: Next page2.2 PageUp: Prev2.3 PageDown: Next page2.4 Home: First page2.5 End: Last page2.6/string:
Du command: Disk usage, as the name implies, is about directory usage. Yes, it works by calculating the size of the directory.1.To see the size of all directories and subdirectories in the current directory:# du-h.“.” Represents the current
2.2. Other Rights Management commandsCommand name: chown function: Change the owner of a file directory or fileSyntax: chown[user [file or directory]Command name: chgrp function: Change the owning group of a file or directorySyntax: chgrp[user [file
Original URL:http://blog.chinaunix.net/uid-2270658-id-308160.html "Windows""Windows: The difference between header files"#include #include "Windows: Differences in initialization"Wsadata Wsadata;WSAStartup (0x202,&wsadata);"Windows: Declaring
OpenVZ Quick Start Guide for open-source Linux containers
Linux container and OpenVZ introduction OpenVZ installation and installation kernel image configuration sysctl and installation related tools restart to OpenVZ kernel simple get started
Linux Regular Expressions and grep commands
In linux, because everything is a file, text operations account for a large proportion. Regular Expressions are a powerful tool for processing text.
Regular expressions are used to recognize text. They are
Common CentOS commands
Because the learning needs will often be used and forgotten, we hereby back up:
1. About compression and decompression:
At the end of lifecycle. After the tar package is generated, you can use other programsLine compression,
Centos command to permanently delete folders and files
Centos commands for thoroughly deleting folders and files (commands for creating, deleting, moving, and copying centos:
1. Create a folder
Mkdir file name
Create a folder named test under
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