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
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
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
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
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
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
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
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.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
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 '
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
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
' 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 '
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
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 )
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
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
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
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