View file and folder size under Linux (DF&DU)

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 ~]#

linux-deleting files through the I node

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

The parent process of Linux to the child process to send a Kill signal example and the status of the child process to judge

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) {

Linux crontab timed Task settings

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

UBUNTU14 debugging the Linux kernel with QEMU

# 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

Add, delete, modify, view users and user groups under Linux

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

Shortcut keys under the Linux command line

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

linux-Operating System

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

Busbox compilation error, arm-linux-no command found

1. Issue:/opt/friendlyarm/mini6410/linux/busybox-1.17.2/scripts/gcc-version.sh: Line 11:ARM-LINUX-GCC: Command not found2. Workaround: Modify the Makefile fileEnter the BusyBox directoryVim MakefileChange arch = $ (subarch) toARCH? = ArmChange Cross_

The Log_format of Linux

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

Linux Learning Path-linux file and directory management

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

Sinsing analysis of logs in Linux

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,

Linux Basic Command II (Help command)

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:

The Linux du command

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

Linux common commands (ii)

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

The difference between Windows and Linux to write the socket program "reprint"

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

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

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

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 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

Total Pages: 5467 1 .... 3367 3368 3369 3370 3371 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.