Accumulate commands common to LinuxMajor records of problems encountered in daily life, to record:
there are ^m in files in LinuxThe shell command TR can be used to achieve the removal, the specific command is as follows:
-v|-d"^M">
Leap second refers to a Linux system that automatically adjusts the system time, which usually occurs at the end of a month, most likely the month of June and December, when a leap second occurs that can cause the application (Java) to be busy,
Linux is commonly used in compression commands, if it is a folder to add-R 1.zip, unzip 2.gzip (the source file disappears after compression) gzip + source File GZIP–C ABC > abc.gz (-C command prevents the source file from disappearing). Note: In
Want to know what the user has done after logging into the system, how to do?Don't worry, Linux has a script tool that specifically records all input and output results in a terminal session and stores it in a specified file.Let's see how to record
1. Download vapor software (binary installation file)Note: Note version, Linux can be in the terminal Input-uname-l View system version2.CD to Vapor Software directory3. Unzip:1) gunzip vapor-***-linux_x86_84.tar.gz2) Tar XF
Create a new thread using the POSIX standard Pthread_creaet function call in QT under Linux and compile it with the following codeextern "C" {#include }However, the new thread was not successfully created after running and no error was found !! (
1ubuntu View serial port situation:1> dmesg View installation-driven information2 > $ls-L/dev/ttyusb* can see output:/dev/ttyusb0If the normal device would be:/dev/ttys*2Install minicom:sudoapt-get Install minicom ( try several times according to
Rsync is the data under Unix-like systems Mirror Backup tool--remote Sync,inotify is a Linux feature that monitors file system operations such as read, write, and create. The combination of the two enables real-time synchronization of files between
Linux/UNXI system environment variables1. What are environment variables? Simply put, it is to specify a directory. when running the software, the relevant program will find the relevant files according to the directory. The most practical function
Solve the Problem of automatic SSH disconnection
When you connect to the remote SSH service, frequent disconnection occurs after a long time, or no response (no keyboard input is allowed ).In general, there are two methods:
1. periodically send
In Linux, how does one change the network adapter eth1 to eth0?
Normally, eth0 and eth1. Sometimes, when we use the VM cloning technology, the NIC information changes, and the name of the new VM Nic may change to eth1. no matter how we modify it,
Getting started with Linux: directly Mount LVM partitions in Linux
Q: I have a USB disk that contains LVM partitions. I want to access these LVM partitions in Linux. How can I mount LVM partitions in Linux?
LVM is a logical volume management tool
In the dual system, how does one Delete Linux and restore Windows from MBR boot ?, Linuxmbr
Well, more and more people are willing to try Linux now. Generally, if Windows is installed on a computer and then Linux is installed, the grub boot path of
[Linux] sets Environment Variables
Setting environment variables in Windows is very easy. For example, right-click my computer> advanced system Settings> environment variables, select Path, and click "edit" to enter the content you want to add. You
Go to Linux02-Network ConfigurationLinux has many methods to configure the network, such as the GUI, nmtui in CentOS 7, or direct command line. However, in the final analysis, the configuration file is being modified.Before modifying the
Nginx location priority in configurationLocation expression type
~ Indicates executing a regular expression matching, case sensitive
~ * Indicates executing a regular expression matching, Which is case insensitive.
^ ~ Matches common characters.
HAProxy high concurrency Problem Solving
Directory
1. Problem Description2. Problem Analysis3 HAProxy Positioning3.1 connect (...)3.2 tcpv4_connect_server3.3 call of tcpv4_connect_server3.4 call of connect_server3.4 modify source code to add custom
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