Sort: help us to order according to different data type, its syntax and common parameter format:Sort [-bcfmnrtk][source file][-o output file]Additional notes: Sort can be sorted for the content of the text file, in the unit of behavior.Parameters-B
? File Transfer Protocol: Files Transfer protocol is a set of standard protocols for file transfer over a network, using client/server mode. It belongs to the application layer of the Network transport protocol.Server side: VSFTPDClient:
To install a virtual Environment command:sudo pip install virtualenvsudo pip install VirtualenvwrapperAfter installing the virtual environment, if you are prompted to not find the mkvirtualenv command, you must configure the environment variable:# 1,
Iptables is the simple introduction of Linux firewall and the use of iptables effective location such as:Among them, the network firewall can also use a iptables-enabled Linux host instead; Facilities such as routers or hubs are omitted from the
pwd View the current directory/root slash equivalent to root directoryCD Change directory switch catalog CD/--means switch to the root directoryls View the files in the current directoryls-l listing the current directory detail file informationls-a
"Rotatelogs"
Rolatelogs is a tool inside the apache2-utils. Installation commands under Ubuntu Server 18.04:
sudo apt install apache2-utils
Fixed log file with a maximum volume of 1 m: (see https://unix.stackexchange.com/a/3746
1. Open the virtual machine new, select Custom:2. Select the default recommended highest:3. Select Install later:4. Select the type of system you want to install and select the system version Red Hat Linux 6 64-bit5. Set a name for the virtual
purpose : Copy the. BASHRC from the WI home folder to/tmp and rename it to BASHRC. There is a question about adding "~" to the code on the book.CP ~/.BASHRC/TMP/BASHRCThe following attempt was made to the command:Why not add "~" will go wrong, find
The memory cache appears to be resolved, the difference between the read and write speed of the device!00. Linux Cache Interpretation/proc/sys/vm/drop_caches (since Linux 2.6.16)Writing to this file causes the kernel-to-drop clean caches,dentries
The compression command has two obvious advantages: one is to reduce the storage space, and the other is to reduce the transmission time when transmitting over the network.According to statistics, the gzip command has a compression rate of 60%-70%
TR Replace or delete characters -D Delete Character-C uses a complement of the first character set, which is the inverse-S retains the first character of a continuous character, removing other charactersView Test Files Tr.txt[email protected] tmp]#
Uniq Removing duplicate rows-C Remove Duplicate rows and count the occurrences of each row-D displays only duplicate rows-U only displays unique rowsUniq can only remove successive occurrences of a repeating row, so a sort order is required to useTo
A log is a historical event used to record the state of a system's operation, primarily recording events that occur at a particular time, and, depending on the log level, the critical program of the event, often called LogLevel.System Log
All commands in the history output operationCtrl+p the output History command to scroll up.The CTRL + N output History command scrolls down.CTRL+B cursor Shift LeftCTRL+F Cursor Right ShiftCTRL + A cursor moves to the beginningCtrl+e cursor moves to
last 显示文件的类型Syntax format: Last ' option ' last [option]Note: There must be at least one space between each element in the file command and in the following optionsOption Description:
parameter Options
Explanatory notes
The user management in Linux system involves user account file/etc/passwd, user password file/etc/shadow, user group file/etc/group.First, user account file/etc/passwdThis file is a plain text file and can be viewed using the cat, head, and other
Nginx Installation? 1. Installation Dependent environment–yum-y install gcc automake autoconf libtool make–yum-y install gcc gcc-c++ pcre-devel OpenSSL openssl-devel? 2, install Pcre, Zlib, the former in order to rewrite rewrite, the latter in order
01. Environment variable File description/etc/profile: This file sets the environment information for each user of the system, and when the user first logs on, the file is executed and the shell's settings are collected from the configuration file
If we want to access the system resources, we need to log into the system as a user, the user identity has a unique identifier (UID) in the system, when accessing a file resource, it will first detect whether the user has access permissions, and
1. Create a new user accountUseradd-The user name of the new parameterParameter description:-C remarks > Add note text. Note text is saved in the remarks field of the passwd. -D login directory > Specify the start directory for user login. -eDate >
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