The station group server has many IP addresses, and if configured manually, it takes a lot of time. Using shell scripts to automate configuration can effectively improve productivity. As follows:
First configure the server first IP, and
Involves fast cursor movement under the Linux command line, command editing, post-editing execution history commands, Bang (!) commands, control commands, and so on. Make basher more efficient.
Common
CTRL + around key: jump
useradd [option] user_name: This command is used to add a user[option]-R:-M:-G:-G:-P:-S:-U:-D:-F:Userdel-r User: Delete users in/etc/passwd,/etc/shadow,/etc/group Records, while deleting the user's home directory;Usermod [-u uid] [-D home[-m]] [-s
Manually specify a route exit that points to a specific next-routing or gateway, which is a routing information that is manually configured by the user or network administrator. When the topology of the network or the state of the link changes, the
You may have heard or encountered something like this: A system administrator rookie accidentally entered "Chmod-r 777/" resulting in a huge tragedy, causing the entire system to be seriously damaged. In daily management, we have many tools that can
Linux common English error Chinese translation (Novice must know)1.command not found command not found2.No such file or directory does not have this files or directories3.Permission denied insufficient permissions4.No space left on device
mkdir make directories Create an empty directoryParameter-P recursive creationExample: mkdir test.txtCD switch directory CD ~ Home directory (current user) CD: Previous directory to CD-last in the directoryExample: CD/CD ~ CD.LS Display directory or
Memcached is a high-performance distributed memory object caching system for dynamic Web applications to mitigate database load.It improves the speed of dynamic, database-driven Web sites by caching data and objects in memory to reduce the number of
Kernel compilationSingle kernel system design, but fully learn the advantages of micro-core design system for the kernel to introduce a modular mechanism.Kernel components:Kernel: Kernel core, generally bzimage, usually in the/boot directory, the
As operations personnel, often initialize the system, the system in the installation process will basically choose to minimize the installation, so that the installation of the system will lack a lot of environment.Share a system-installed init
Transferred from: http://www.cnblogs.com/mumuxinfei/p/4365697.htmlPreface:The previous blog post describes the use and principles of Pstack . Like Jstack, Pstack can get a thread stack snapshot of the process for easy inspection and performance
In the user directory, you only need to create the bin directory in the user directory, put in the executable file you want to execute, and you can use it at the command line.# ~/.profile:executed by the command interpreter forlogin shells.# This
A script that is under the user root directory of Linux. BASHRC finally add the following code, you can modify the RM command, so that people will not be all the RM time to delete, but will be added to the Recycle Bin, the following is based on
First, the file systemRootfs: Root file systemFhs:filesystem Hierarchy standard file system level standards// boot system boot related files, such as kernel, INITRAMFS, and Grub (bootloader)/Dev Device file:Block device random device, data
1.LS-A lists all files in the current directory, including hidden files with a. Header (such as ~/.BASHRC)Ls–l list the files in the current directory for more information2. PWD View the absolute path of the current directory3. Move between CD
We are most commonly used in Linux on the compression of the command, we know that the following 5 kinds are completely enough.Their formats are: *.zip *.gz *.bz2 *.tar.gz *.tar.bz2OK, let's go, one by one, we introduce:(1) *.zip formatOne thing to
View Linux Process Memory usageYou can view the contents of the%mem directly after you use the top command. You can choose to view by process or by user, if you want to see the process memory usage of the Oracle user, you can use the following
Environment: Linux CentOS 4.4Move 2 160GB of RAID1 hard drive to 2 1TB HDDMethod: First download g4l This tool on the Internet and burn it to a disc. Then the CD-ROM boot to the 1 160B hard disk and 1 1TB hard drive will be 160G of hard disk data,
Refers to DATE:SEP 18 2016Gawk is to run Scripts,so called program. It is programming-like environment.
First example:
$ represents the entire line of the text.Each data field was determined in a text line by a field separation character. When
CentOS (5)-partition concept in Linux, centos-linux
I. System partitioning
First, we should popularize some knowledge about system partitions:
There are three hard disk partitions: Primary disk partitions, extended disk partitions, and
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