3.5-du command

DU/ETC Lists the size of all directories under/etc , in K (the default is to see only the directory)the last line is the total size of the/etc directoryDu-h/etc Automatic Conversion Unit K,m,g-m in units of M.- s view the specified file or directory

3.7-Disk Format MKE2FS

Linux default supported file system, can be cat /etc/filesystems to viewMKFS.EXT3 mkfs.ext4 mkfs. tab to view formatting commands for multiple file systemsMKFS.EXT4 /dev/sdb1 to format sdb1MKE2FS has a variety of optional parameters to complete the

3.8-Disk mount and unload

mount/dev/sdb5/tmp mount SDB5 partition to/tmpMount Label=game/tmp is mounted with a tag and can be mounted with a UUID.Umount/tmp unmount the disk mount directory to unmount the disk.UMOUNT/DEV/SDB5 the specified partition to unloadumount-l

2.0-tar Packaging Tools Detailed

TAR-CVF package file name. tar file or directory package multiple files or directories into a new packaged fileTAR-TF file name. Tar View the number of files in the packaged fileTAR-XVF file name. Tar unpack the files, if there is a file with the

2.2-RPM Installation and uninstallation

RPM -IVH Package i install v Visual H progress bar installation packageRPM-IVH Package 1 Package 2 if two RPM packages are interdependent, cannot be installed separately, can be installed to solveRPM-IVH --nodesp Pack 1 or ignore dependencies

2.3-rpm Query

RPM-QA all RPM packages installed in the query system. followed by the package name, only show this package name.RPM-Q Package name View the specified package name information that is installed (you must specify the full name before the version

2.4-yum Tool Detailed

Yum List lists all the packages in the source (usually more than the RPM software in the CD-ROM)1 Segment: RPM Package Name 1 segment: Software version number 3 segment: source warehouse name, software installation information (@ starts with

2.6-yum how to download RPM package to Local

Install the Yum plugin firstYum Install-y yum-plugin-downloadonlyDownload RPM Package CommandYum Install package name--downlodad--downloaddir=/tmp/Download the package to the specified/TMP. (packages that have already been installed, cannot be

1.9-TR and Split commands

1.TR Replacement character (only outputs the replacement result, does not change the original document)LS *.txt |tr ' A-Z ' A-Z ' lists files and modifies the results of lowercase English, in uppercase Englishecho "abcdefg123" |tr ' a ' B ' replaces

2.4-sed command

The SED command enables grep filtering, but cannot be highlighted . You can also delete , replace , and so on. (Note:-Imodify the original document )1. Filter function -N...PSed-n ' p 2.txt printed text 10th line, must be added-N (p written in '

Several usages of 1.6-if judgment

1: Determine the type and permissions of the file:If [-F 1.txt];then echo Ok;fi determines if 1.txt is a file and exists;If [-D 1.txt];then echo Ok;fi determines if 1.txt is a directory and exists;Determine the type of file:-F file-D directory-B

1.8-for Cycle

for Do-done loop format, common loop commands and whileSeq 1 seq is the production sequence command, output 1-10SEQ 1 2 10 Step 2, Output 1 3 5 7 9 ( steps can be decimals, e.g. 1.5)Seq 2 1 Step is-2, reverse output, if there is no step, reverse is

Three the difference and usage of quotation marks

' Anti-quote ' ' single quote ' ' double quotation mark '1. Three symbols, anti-quote This is very special, I use a lot in the shell script, its function is to directly refer to the result of a command.Let's take the example, Rpm-qf ' which vim '

Kernel those things. Memory management (9)---Slab (next)

With the slab data structure and operation method, you can create a cache of the specified size and then request and release object in the cache. This is a good practice for this scenario: use a fixed-size memory space frequently.If you only use a

HDU 53,123 Angular Number two-point search

SequenceTime limit:2000/2000 MS (java/others) Memory limit:262144/262144 K (java/others)Total submission (s): 891 Accepted Submission (s): 271Problem Descriptiontoday, Soda has learned a sequence whose n -th ( n ≥ 1 )

Intellij Idea Remote Debugging tomcat

1. Windows system catalina.batAdd the following code to the first line of the file set "JAVA_OPTS=%JAVA_OPTS% -Xdebug -Xrunjdwp:transport=dt_socket,address=58000,server=y,suspend=n" Start startup.bat

Summary of economic laws

The following is from the point of view in each book, not my own opinion, but I will remember them as a temporary point of viewPeople can't predict the future stock market trendInflation originated in the currency of the super-fat, countries are in

Yandex.algorithm A. Double Cola

1. Title Description: Click to open the link2. Problem-solving ideas: The subject is a law to find a mathematical problem, through the test instructions description is not difficult to know, equivalent to have 5 binary trees constitute a forest, you

Uva-11827-maximum gcd,10200-prime Time (math)

Two violent questions.Topic Transmission: 11827 Maximum GCDAC Code:#include #include #include #include #include #include #include #include #include #include #include #include #include #include #define LL long long# Define INF

HDU 1532 Maximum Flow

#include #include #include #include #include #include #include #include #include #include using namespace std; #define INF 0x4fffffff#define LL long Long#define MAX (a) > (b))? (a):(B) #define MIN (a) (a) Que;que.push (1); a[1] =

Total Pages: 64722 1 .... 49377 49378 49379 49380 49381 .... 64722 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.