Transferred from: http://blog.chinaunix.net/uid-23769728-id-3080134.htmlThe design idea of RCU is more clear, and the method of replacing the new and old pointers can realize the sharing protection of lock-free mode. But to the level of the code, it
Grep-rnri the specified content * | Awk-f ":" ' {print $} 'Explain:grep finds file contents-R means recursive lookup-N indicates line number is displayed-R means to find all files containing subdirectories-I indicates ignoring case* Represents all
1. Turn off SELinuxSed-i "S#SELINUX=ENFORCING#SELINUX=DISABLED#GP"/etc/sysconfig/selinuxgrep "Selinux=disabled"/etc/sysconfig/selinuxSetenforce 0Getenforce2. Close Iptables/etc/init.d/iptables stopChkconfig iptables off3. Thin boot from
Of course it's Monaco fonts.Here isInstallation method:Unzip the package with a command unzip monaco-font-masterSwitch to the Monaco-font-master directory, modify the script file permissionschmod 0777 ./install-font.shExecute script file
I. Text editing commandsVI may be used in Linux more frequent text editor, if not proficient in the use of VI, to a certain extent, will affect the efficiency, so here to record the VI's common commands and operating methodsin [[email protected] ~]#
Reference: http://blog.csdn.net/lhf_tiger/article/details/7102753SystemHead-n 1/etc/issue Viewing the operating system versionHostname View computer NameLsmod List of loaded kernel modulesSwapon-s View all swap partitionsCrontab-l View the current
/boot/: Startup file, all files related to system startup are saved here/boot/grub/:grub boot-related configuration files are here/dev/: All device files are saved in this directory, for example, partitions used:/dev/hda,/dev/cdrom, and so on./proc/:
1. Download the Curl Toolkit on the website2. Use in the Curl.exe directory (using mode 1)Unzip the downloaded compressed file, through the cmd command into the directory where the Curl.exe.Because bloggers are using a Windows 64-bit system, you can
Mkdir command,
One linux Command every day: mkdir command
The linux mkdir command is used to create a directory with the specified name. The user who creates the directory must have the write permission in the current directory, and the specified
How to use SSH commands in Linux and how to use ssh commands
1. Introduction: the ssh command is a client connection tool in the openssh suite. You can use the ssh encryption protocol to implement secure remote login to the server.
2. Syntax: ssh
Introduction to the meaning of the Linux version number and the meaning of the Linux Version Number
View the kernel:
Uname-
Example: 3.10.0-327. el7.x86 _ 64
The primary version is 3, 10 is an even number, meaning that the kernel is a stable
Day 1 common Linux basic commands and daylinux basic commands
Pwd View Current Directory
Cd Change Directory)
Cd .. go back to the upper level
Ls view files/directories in the current directory
Ls-l list details of the current directory
Ls-lh:
CentOS 7 upgraded from Python 2.7 to Python3.6.1, centospython3.6.1
Introduction: CentOS is currently the most popular Linux server system. Its default is Python 2.x. but according to the python Community Plan, the entire community will be migrated
How to upgrade GCC to 6.3.0 on CentOS, centos6.3.0
Virtual Machine Environment Information:
[Root @ localhost/] # cat/etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
[Root @ localhost/] # cat/proc/version
Linux version 3.10.0-514. el7.x86 _
Detailed explanation of the use of music commands for linux basic commands and the use of linuxmv commands
Mv (option) (parameter) cut, or move and rename in the same directory
1. If the target file is a folder, the source file is directly moved
Obtain the IP address, MAC address, and other information (C/C ++) of the current host in Linux
This document describes how to obtain network interface information such as the current host IP address and MAC address in a unix environment. If you
Install mysql under ubuntu16.04 and enable remote access. ubuntu16.04mysqlI. Installation
Apt-get install mysql-server2. Local Connection
The local connection is enabled for mysql by default.
Use mysql-uuser-p and enter the password to access3.
Install Ubuntu Server 16.04 and use two hard disks as RAID 1.
In order to centrally manage project data, the company required to build a file Server. After multiple attempts, we finally completed the setup. Here, we will share the installation
Tomcat log cutting and Regular deletion
In the Tomcat software environment, if we allow unlimited growth of log files, the disk will be full one day (nonsense ). Especially when log files grow rapidly, it is necessary to cut and delete log files by
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