In the previous article, we mentioned "file systems" and how to store "files" in the file system.What needs to be said today is a special kind of file-directory.We know that the catalogue is actually a "file path" for our usual understanding,The
File system and directory structure650) this.width=650; "Src=" Https://s3.51cto.com/oss/201711/19/905196d6688e7eff0139c44eb9b37ca4.png-wh_500x0-wm_3 -wmp_4-s_2595060177.png "title=" 1.png "alt=" 905196d6688e7eff0139c44eb9b37ca4.png-wh_ "/>Note: Dev
Badblocks: Check for damaged chunks in the disk device-B: Specify the chunk size of the disk, in bytes-c: Check several chunks at a time-I: The file is always read by the known corrupted chunks, and the check ignores these chunks-o: The result of
Today want to build a Web server on the Raspberry Pi, ready to use Apache, php and MySQL three musketeers. Originally do not want to bother, because just want to familiarize with the database, in the future may use, the amount of data will not be
Narrative:The Chinese Input method installs the FCITX0x01First install the language pack, if the system language has been set to Chinese, you can omit this step, there is a point to explain, if the English system switch to Ali and then want to
1. Write the service script according to certain rules, for example: myserviced#!/bin/sh #chkconfig: 2345 #description: MyService case $ in start) echo "MyService startup" #将该行替换成你自 Service start-up order;; Stop) echo "MyService stop"
1. Querying a line in a fileSed-n ' 1000p ' 1.txt--Query the 1000th line of 1.txt2. Query 1 to 5 rowsSed-n ' 1,5p ' 1.txt---Querying lines 1th through 5th of 1.txt3. View the last 1000 rows of dataCat FileName | Tail-n 10004. View data from 1000 to 3
Open a virtual machineSwitch Administrator identitiesSu-rootPassword: 12345678it becomes root.[Email protected] ~]$ Su–rootExit[[Email protected] ~] #exitShutdownInit 0RestartInit 6Turn off the machine nowShutdown–h nowThe meaning of the
1. Check the memory of Linux:Free-m2. See how to open a large page:Cat/proc/meminfo |grep-i Hugepageanonhugepages:276480 KBhugepages_total:0hugepages_free:0hugepages_rsvd:0hugepages_surp:0hugepagesize:2048 KBMeaninghugepages_total:0 total number of
LL is a pre-defined nickname (alias). An alias is a name that gives a command or a list of commands. You can use aliases as synonyms for abbreviations.On my Ubuntu system, there is such a statement in the ~/.BASHRC file as alias ll= ' Ls-alf ',
First, study notesWhen the following command appears in the code:int $0x80The system will immediately be transferred to this location, and the next command startsENTRY (System_call) ring0_int_frame# can ' t unwind into user space ANYWAYASM_CLACPUSHL_
1. Permanent modification, valid for all users# Vi/etc/profilePress Keyboard [Shift + G] To add the following at the end of the profile file:Java_home=/usr/local/java/jdk1.7.0_25jre_home= $JAVA _home/jreclasspath= $JAVA _home/lib/dt.jar: $JAVA _home/
How to view soft and hard raid information in CentOSSoftware raid: You can only view cat/proc/mdstat on the Linux system to view raid level, status, and other information. Hardware raid: the best solution is to use the installed raid vendor's
Centos7 Virtual Machine bridging settings
The advantage of Virtual Machine network bridging is that virtual machines can be used as an independent computer in the LAN.
It takes half a day to get it done. Write a log record for future use.
First,
How can IT get the true inner motivation to change itself?
If you want to change from a low salary (with an annual salary of less than 0.1 million yuan) to a high-tech job in the future (with an annual salary of more than 0.3 million yuan)All we
Three methods for Shell to read files by row,
There are many methods for Shell to read files by row. The following three methods are written:
Statement 1:
#! /Bin/bash # Description: # while loop read Operations # Author: Standalone # version: 1.0
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