Getopt-The optional "description" of the parse command getopt is just a simple parse command option that can only be parsed in a simple format, with the following format: 1, form: cmd [-a][-b]//parsing of short options, 2, Shape: cmd [-A a_argument ]
in Linux operations often encountered in the case of replacing Linux server system programs or business application files, many people will worry, direct replacement will not cause the Linux System program crashes or application crashes, and need to
(1) Caching mechanismIn order to improve the performance of the file system, the kernel uses a portion of physical memory to allocate buffers for caching system operations and data files, and when the kernel receives read-write requests, the kernel
Top commandCommand functionThe top command can dynamically view the overall operation of the system in real time, and is a comprehensive multi-party informationPractical tools for monitoring system performance and operational information.Command
Install Wireshark under LinuxWireshark relies on libpcap, so if Libpcap is not installed in the system, install it as wellFirst, download the source codesource fileswireshark-x.x.x.tar.gz Wireshark Installation source fileslibpcap-x.x.x.tar.gz
In daily Linux management work, need to configure a separate IP address for the application to achieve the separation between the host and the application, in the application of switching and migration can be dynamic switch, especially when using Ha,
Operational commands for some Linux usersUseradd Creating a userAddUser Creating a userpasswd Password Change commandUsermod Change the user name, and the user directoryUserdel Deleting a userID shows the user uid and GIDGroupadd Creating a user
Introduction to the Cut command:Cut is a selection command that analyzes a piece of data and takes out what we want. In general, the selection of information is usually for "line" to analyze, not the entire information analysis.1. command
Cut action and usage:Cut [-option] file nameCut-remove sections from all line of filesCut a piece of content from each line of a file-D: Specify the field delimiter, the default delimiter is a space-F: Specify the fields to display-f1,3 showing 1
IntroductionSplit can split a large file into multiple files of a specified size, and the split speed is very fast, splitting a 1G size file takes less than 1S of time, and if you manually perform operations on Windows, the estimate is
Command Page It's in the /dev/pts .Add IPIP addr Add 172.25.254.xxx dev eth0Increase GatewayRoute add default GW 172.25.254.251View GatewayRoute-nPhysical and virtual machines do not implement communication steps in the same network segmentBrctl
Production environment encountered a single NIC multi-IP, we can add a virtual sub-network card to add IP, such as ifcfg-eth0:1 this format, but if we add the IP is continuous, you can use a concise method to achieveThe reference configuration file
I. Modifying host names1. Zero modification[Email protected] network-scripts]# hostname jw07And then you can see that our hostname has been modified.2. Permanently modify the host name[Email protected]/]# Hostnamectl set-hostname LiutaoRestart
Linux echo, sort, sed are some of the most common commands for a beginner Linux shell script. Basically, if you can master these commands, we can write some good Linux scripts. The following are some of the applications I have encountered in the
Do not know what situation the recent U disk problems, open U disk after all the files have a lock on the logo, just start not too care, and then want to continue in the U disk in the storage of things only to find that it is at this time the U disk
Guide
Once, it was tortured by the system () function, because the system () function was not well understood. You have to understand the system () function here, because sometimes you have to face it.
Let's take a look at a brief
################## two file addressing ###########Absolute path: file in the real location of the system , the file name begins with "/"relative path: The name of the file relative to the current location of the shorthand , which does not start with/
Cat effects: 1. Output text content to screen 2. Output text content to another fileParameter description:-N: Numbering all rows-B: Blank lines are not numbered-S: Multiple lines of blank lines are displayed as a single lineTo illustrate:------------
http://blog.csdn.net/byrsongqq/article/details/6339240Design concurrent server in network programming, use multi-process and multithreading, what is the difference? Answer one: 1, Process: A child process is a replica of the parent process. The
Distributed service coordination technology zookeeper series (1) -- Introduction to zookeeper and installation on linux (single node), zookeeperlinuxIntroduction to ZooKeeper
ZooKeeper is a Distributed Coordination Service framework. It is usually
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