Linux-interprocess communication-Anonymous pipeline

I. Concept: interprocess communication ( IPC,interprocess communication) Each process has a different user address space, and the global variables of any process are not visible in the other process, so the exchange of data between cities must pass

Configure Linux for routing

Configure: Turn off the firewallLINUX1 Address 1:192.168.10.10/24 address 2:192.168.20.10/24 (do not specify a gateway, as a route, you are the gateway)LINUX2 Address 1:192.168.20.20/24 address 2:192.168.80.10/24 (do not specify a gateway, as a

Shortcut keys in Linux

Terminal shortcut keystab= Full complementctrl+a= Start positionCtrl+e= last Positionctrl+k= Delete all content from here to the endctrl+u= Delete here to start all contentctrl+d= Delete the current letterctrl+w= Delete the word here to the leftctrl+

Linux Text Processing Tools

Linux Text Processing ToolsWC Print the number of lines, words, and bytescut split text by column Sort Sortsuniq Eliminating duplicate rows WC print the number of lines, words, and bytesGrammar:WC [OPTION] ... [FILE] ...Options:-l:line count

Notes on Linux commands

-------------------------------Linux Directory-------------------------------/: root directory, only directory under the general root directory, under Linux there is only one root directory. Everything starts here. When you enter "/home" in the

Execute command to take out the IP address of eth0 in Linux

Method One: Cut command#ifconfig eth0|grep ' inet addr ' |cut-d ":-f2|cut-d" "-f1192.168.1.11Method Two: awk command1. Use the awk command two times#ifconfig eth0 |grep ' inet addr ' |awk-f ': ' {print $} ' |awk ' {print $} ' 192.168.1.112. Use the

No interactive access configuration for Linux ssh

Environment prepares two Linux servers: Prepare an SSH server (System environment CENTOS6.5,IP address 192.168.100.100) Prepare an SSH client (System environment CENTOS6.5,IP address 192.168.100.101) 1. Check if the SSH package is

Linux basic concepts and Personal notes summary (5)

Security code: Before departure All is just a dream, action after all the challengesThis section focuses on Linux infrastructure and samba server constructionNineth Linux Basic network settingsFirst, view network parameters1. View IP address

Creation and tuning of Linux swap partitions

OverviewThis article provides a brief introduction to swap and how to set up or adjust the swap partition after the system has been installed (in operation).The demo environment in this article is:650) this.width=650; "style="

Linux Entry Disk Management (3) file system mount

Linux Entry Disk Management (3) file system Mount when a disk is partitioned and a file system is created, it simply means that the device can be used for storage, but to access the device, it is necessary to provide access to the user by

Awstats Log Analysis tool installation and use under Linux

The merge log file can use Bash's sort command:#sort " " 4 -o log_all access*.logYou can also use the logresolvemerge.pl provided by Awstats#perl /usr/local/awstats/tools/logresolvemerge.pl-dnslookup= -showsteps access*.log >log_ All-showsteps

Linux cannot umount solution

[Email protected] ~]# umount/drbd/Umount:/drbd:device is busy.(In some cases useful info about processes, use the device are found by lsof (8) or fuser (1))Solution One:First, find the process and command to use this file, the specific operation

Linux Linux shared libraries

so files are shared libraries in Linux, similar to DLLs under Windows. The functions in the so file can be called by multiple processes, providing the maximum possible reuse of binary code. Shared libraries can make maintenance of your code much

Squid forward Proxy service configuration under Linux

Installation: Yum install-y squidConfiguration file: vim/etc/squid/squid.confSpecify disk directory: Cache_dir ufs/var/spool/squid 100 16 256Cache_dir is used to specify the disk directory and size, the three values following the directory are

Linux Nineth Week

1. Write a script to determine whether the shell of all users on the current system is a login shell (that is, the user's shell is not/sbin/nologin), the number of these two types of users, and the string comparison;#!/bin/bashAwk-f: ' $NF ~

awk Common commands for Linux

Title: Use of the awk commandrole:awk is a very good data processing tool that handles data in the fields of each row, with the default field separator being the SPACEBAR or the [tab] keyFirst, the basic structure of the awk script:  awk '

View Linux Hardware Information

1. View all hardware information for the machine:Dmidecode |more2. View CPU InformationMethod One:Cat/proc/cpuinfoMethod Two:Take Command DMESG | grep CPU can view boot information to related CPUTo view the number of bits of CPU:Getconf Long_bit3.

Shell Command expr and test command, shellexprtest

Shell Command expr and test command, shellexprtest You can use the expr command to perform operations such as +,-, *, \, and %. However, when using multiplication, add a \ symbol before. You can use the test command to perform a logic test. There

Detailed description of sticky bit in Linux, linuxsticky

Detailed description of sticky bit in Linux, linuxsticky File permissions in Linux In linux, each file and directory has its own access permission, which determines whether the user can access the file or directory and how to access it. The most

Use subversion to build SVN and subversion to build svn

Use subversion to build SVN and subversion to build svn The software packages required to build SVN using subversion include subversion, apr, apr-util, sqlite, zlib, this is because the installation path of apr, apr-util, sqlite, and zlib must be

Total Pages: 5467 1 .... 2376 2377 2378 2379 2380 .... 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.