Shell command - wc, tr for file and content processing

File and Content Processing - wc, tr 1. wc: Count lines, words, or bytes of a file Functional description of wc command The wc command calculates the number of words.With the wc command, we can calculate the number of bytes, words, or columns of a file. If you do not specify a file name or give it a file name of'-', the wc command reads data ...

Posted by xydon1 on Tue, 07 May 2019 22:40:02 +0200

A Glance at the [APUE] Process

Basic concepts Program: Executable file stored in disk file Processes: Instances of program execution Cmd: ps ,top Process ID: Each process has a unique process ID identified by a non-negative integer 0 is the dispatch process, 1 is the init process, (most UNIX systems) 2 is the page daemon /*In addition to the process ...

Posted by JOWP on Tue, 07 May 2019 21:05:03 +0200

LVN and Its Implementation on Linux

Reference material: LVM Details - Junma Jinlong - Blog Garden How to reduce the size of an LVM partition formatted with xfs filesystem on CentOS7? Brother Junma's blog will go a little deeper, and he is based on ext filesystem to demonstrate expansion and scaling, while I use xfs filesystem. Basic concepts Traditional disk partitioning ...

Posted by rakhi on Tue, 07 May 2019 20:15:04 +0200

Infinite Pole Classification (Recursive)

Infinite polar classification simply means that a class can be divided into several subclasses, and then one subclass can be divided into other subclasses indefinitely, as if windows could create a new folder, then create some folders in this folder, and some folders under the folder. So how does PHP achieve its infinite classif ...

Posted by igul222 on Tue, 07 May 2019 03:05:03 +0200