Linux Fundamentals-Disk Management-06

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

Linux file Management-basic commands

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

Linux Logging user Action Log

Historyuser_ip= ' who-u am I 2>/dev/null| awk ' {print $NF} ' |sed-e ' s/[()]//g "If ["$USER _ip" = ""]ThenUser_ip= ' hostname 'Fiif [!-d/tmp/dbasky]ThenMkdir/tmp/dbaskychmod 777/tmp/dbaskyFiif

Linux Source Package Installation

Linux Source Package Installation1. Change Yum Warehouse SourceCd/etc/yum.resposl.dRm–f Dvd.repowget Http://mirrors.163.com/.help/CentOS7-Base-163.repoOrCurl–o Http://mirrors.163.com/.help/CentOS7-Base-163.repoYum List2. installing the extension

Linux command 2--b

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

7 ways to generate random passwords under Linux

7 ways to generate random passwords under Linux1[[Email protected] ~]# Date +%s | Sha256sum | Base64 | Head-c 32; EchoM2u0ytlln2i1nzzjntnjzdzhyzm5nziz2[Email protected] ~]# 1jmwhhn9xwsowv-1h_8dgjxfrx4lvahf3[email protected] ~]# OpenSSL rand-base64 32

Linux Installation new program

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

"Linux" Ubuntu installation googlepinyin Chinese Input method

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

Add services under Linux

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"

Linux Command Query file contents

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

Getting Started with Linux 1

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

Linux file Permissions

650) this.width=650; "src=" Https://s3.51cto.com/oss/201711/06/58bb4cfd31e07392c6fa39b6c264c40f.png "title=" 1.png " Width= "height=" 194 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:700px;height:194px; "alt="

Linux big page memory management and so on---rookie beginner

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

"Linux" LS and ll Difference

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

2017-2018-1 20179219 "Linux kernel Principles and design" Sixth week assignment

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_

Modify/Set environment variable Java_home under Linux

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 CentOS

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

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?

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,

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

Total Pages: 5467 1 .... 5315 5316 5317 5318 5319 .... 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.