Linux Learning Notes (ii)--host planning and disk partitioning

Recently conducted a systematic study of Linux systems, read the bird's Linux private dishes, excerpts from the study notes are as follows:1) in a Linux system, each device is treated as a file, and each device will have a device file name.2) The

Linux Auto restart Tomcat script

0. Personal tagsCaicongyangHttp://blog.csdn.net/caicongyang1. Script retomcat.sh#!/bin/shpid= ' PS aux |grep tomcat |grep-v grep |grep-v Retomcat | awk ' {print $} ' echo $pidif [-n ' $pid ']then{ echo =====kill tomcat ========== kill-

Linux Pipe Functions

1. Function descriptionPipe (pipeline construction):1) head #include 2) define function: int pipe (int filedes[2]);3) function Description: pipe () will establish the pipeline. The description of the file is returned by the filedes array of the

Linux kernel (i) system boot process

 Reprint Please specify the Source:Jiq ' s technical Blog(1) Initialization of the CPU itself:A series of initialization work is required after CPU power is added. (2) CPU load BIOS ( basic inputoutput System " : CPU performs a fixed

Linux interrupts and abnormal sleep problems

Interrupts and Exceptions:Interrupts represent only asynchronous interrupts, and exceptions represent synchronous interrupts, so system calls are exception handling, not interrupt processing.Here the exception handling is can sleep block, because

Linux under disk partitioning, mounting

The steps are as follows:1. See if you have assigned[Email protected] home]# fdisk-L Disk/DEV/SDA:64.4 GB,64424509440 bytes,125829120Sector units = Sector of1 *512 =512Bytes sector size (logical/Physical):512 Bytes/512byte I/O size (min/Best):512

The SED of Linux

One: what is sed?The SED line editing tool. SED, awk, grep is called the text of the Three Musketeers.Two: Command syntax of the SEDsed [option] ... ' Address edit command ' FILE ...The options for OptIn are:-N: Silent mode, does not display the

Linux addr2line Commands

First, Introduction Addr2line (which is part of the standard GNU Binutils) is a tool that converts the address and executable image of a directive into a file name, function name, and number of source code lines. This feature is great for

Linux log cleanup

Because of the data requirements. It is often necessary to capture and filter the data, which takes about 7 8 months. Changed the data next to the machine. Start again and find "No space left on device"Workaround:Delete log directly (simple

To strive to insist on self-learning Linux himself

At sunrise, strive to make every day happy and meaningful, not for others, for themselves.Tired, let the heart blow the hair, hurt, let the dream wake up, pain, let the footsteps stop.There is no injustice in the world, only an uneven heart. Not to

Linux Command-awk, linux-awk

Linux Command-awk, linux-awk Familiar with awk and print syntax Fuhui @ ubuntu :~ $ Ls-lh | awk '{print $5 }' BEGIN and END are enclosed in single quotes Fuhui @ ubuntu :~ $ Ls-lh | awk 'in in {count = 0; print "start:" count} ''end {print

Common linux commands

Common linux commands 1. ls-l View File Permissions Ls- View hidden files 2. cp-r Copy directory (cp only Copies files) Cp- Copying all attributes of a file is required for soft connections. 3. chmod 777-R ./ Modify file permissions

Centos Nic status detection

Centos Nic status detectionThe ifconfig command cannot view the NIC status. There are five ways to check the NIC status and whether the NIC is connected.How to check physical Network Link Status on Linux (RHEL/Centos)Original article:

In the days of getting along with linux

In the days of getting along with linux I installed the linux operating system a few days ago and installed several common tools. Now let's talk about my feelings! For a person who can't even spell a few characters in linux, it's cool to get me

Linux LAN Construction

Linux LAN Construction System Version: Linux red hat 6.31. Open ifcfg-eth0 # Cd/etc./sysconfig/network-scripts # Vim ifcfg-eth0. 2. Modify ifcfg-eth0 Ps: the configuration files related to the ethernet card are located in

Shell review --- file decompression command,

Shell review --- file decompression command, You need to deploy the server on your own. Therefore, after applying for a space, you need to install linux on your own and Apache on your own. Therefore, you need to run the downloaded compressed file.

Common linux commands

Common linux commands 1. ls-l View File Permissions Ls- View hidden files 2. cp-r Copy directory (cp only Copies files) Cp- Copying all attributes of a file is required for soft connections. 3. chmod 777-R ./ Modify file permissions Chmod

Use psutil to obtain system information in python

Use psutil to obtain system information in python[Python] view plaincopyprint? #! /Usr/bin/envpython # Coding: UTF-8 Importpsutil Importtime Importsys FromoptparseimportOptionParser Parser = OptionParser () Parser. add_option ("-t", "--

Nginx + tomcat + redis problem records

Nginx + tomcat + redis problem records For redis installation and tomcat configuration on the Internet, we will not repeat it. here we will mainly record the problems encountered and solutions. Problem 1: Although redis provides support for data

CentOS7.1 install Mesosphere

CentOS7.1 install Mesosphere Introduction Mesosphere Mesos Marathon Zookeeper: It is the mesos/marathon configuration file of the master, which makes the master more lightweight. For these concepts, we can find that basically all of them know what

Total Pages: 5467 1 .... 5037 5038 5039 5040 5041 .... 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.