SED is a non-interactive text editor that can edit text files and standard inputs, which can come from keyboard input, file redirection, strings, variables, or pipe text. and copy it to the buffer, and then read the command line command to edit the
Scenario Description:Install the operating system, do the LVM, the application software is basically installed in the "/" directory, the server after a period of time, the directory of storage space use of tension, and now use LVM to disk space
Common commands1.lsList all files and folders under the directory2.pwdPrint out your current directory3../Execute the. sh File command4.ip AddrView IP Address5.sudo Service Network RestartRestart Network configurationCatalogue descriptionBin and
Redhat Linux has a graphical configuration tool redhat-config-user. However, Linux administrators should also use dedicated commands to complete the administration of users and user groupsUseradd Build User (create user account and start directory
PATH //Show your environment variable valuesPATH This is the variable name, ECHO is the command to display the information in the console$ here is the value of getting a variable, path is the variable nameTogether, the value of the PATH environment
Hard Links (hard Link)Create : ln source file hard-link filewe call different files with the same inode nodes, which are called hard-link files. corresponds to a different entry for a file entity. Deleting a hard-link file does not affect the
Reference from: http://www.imooc.com/learn/1751 Linux Introduction 1.1 Linux IntroductionLinux is divided into kernel and release versions. The difference between the two: the kernel version is provided by the official, and the different
Famous pipes1. View command: Man 3 Mkfifo2. header file: #include #include 3. function prototype: int mkfifo (const char *pathname, mode_t mode);A, *pathname: name of the famous pipe such as:/home/gec/myfifoB, Mode: Octal permissions, for example: 07
The use of Linux certainly needs to connect the network, here I summarize the Linux configuration network method,Here we use virtual machines to emulate the server, let's first meet the VMware workstation three ways to get online (note that there
Fhs:linux/boot: System boot related files, such as kernel, INITRD, and Grub (bootloader)/dev: Device files:Block devices: Random access, data blocksCharacter device, linear access, per characterDevice number: Main device number (major) and secondary
More than 130 Linux physical hosts are managed in the ordinary. Really understand the IP information of each host. Application deployment is more troublesome!So at the beginning of the deployment, you must plan:Write a script. Put the host IP.
This article summarizes the creation, copying, moving, and renaming of files and directories in Linux systems, including the removal of these most commonly used operations.Create1, create a directoryUse command: mkdirPractice: Create a directory
This article was reproduced from: http://blog.csdn.net/liuxd3000/article/details/17464779First, the basic conceptFrame buffering (Framebuffer) is an interface provided by the Linux system for display devices, which shows buffer abstraction,
Vi cursor movement command, vi cursor command
I. Overview
In vi, the basic cursor movement commands include h, j, k, and l.
H indicates that the cursor moves 1 bit left, j indicates that the cursor moves 1 row down, k indicates that the cursor
CentOS6.9 compile and install Nginx1.12, centos6.9nginx1.12
1: Install necessary LibrariesBash
yum install gc gcc gcc-c++ pcre-devel zlib-devel openssl-devel
2: Create Nginx users and groupsBash
Groupadd www # create a user. You are not allowed to
Vi Undo command, viundo command
I. Overview
Vi Undo command: u and U. Here, u is the last command to undo, and U is to undo all operations of this row when the cursor is in the current row. (Derived from Learning the vi and Vim)
Ii. Example
Step 4:
Configure and use the virtual environment virtualenv and linuxvirtualenv in Linux
1. Install
Sudo apt-get install python-virtualenv
2. Use
Create a virtual environment:
Virtualenv [Virtual Environment name]
Example: virtualenv python27
Introduction to Kerberos Authentication principles and kerberos Authentication principles
1.1 What is Kerberos
1.1.1 IntroductionKerberos is a protocol used to authentication. It uses symmetric key encryption, which means that the key will not be
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