Source: http://blog.csdn.net/ljianhui/article/details/11100625People who have played Linux will know that there are really a lot of commands in Linux, but people who have played Linux have never bothered by the fact that Linux commands are so many,
Transferred from: http://blog.csdn.net/wh_19910525/article/details/11536279When using Spin_lock in the Linux kernel, when to use Spin_lock_irqsave is easy to confuse. First look at how the code is implemented.Spin_lock of the call relationship
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
The following commands are available in almost all Linux distributions1. uname commandUname-m direct display of Linux system architectureThe UNAME-A command can also display the Linux system architecture, but there are other information2. dpkg
The function of the WC(Word Count) command in a Linux system is to count the number of bytes, words, and lines in the specified file, and to display the output of the statistic results. 1. command format:WC [Options] File ...2. Command
Guide
After using terminal ssh to login to the Linux operating system console, a prompt symbol (e.g. #或 ~) will appear, after which the command can be entered, and Linux responds with the input command, which is handled by a so-called shell.
Preface: Many children's shoes in Baidu know on to my message to horse Brother Linux video, ask people a bit too much busy not to come over, so I will collect some of my Linux learning materials are shared to this page, for the needs of children's
The Svnsync can easily synchronize another source SVN version to the specified repository, providing convenience for multi-version library applications.Example: (The repository is stored under directory/svn/)Source Version library: svn://196.168.0.1/
always use nginx, but also learned a lot of nginx knowledge. Also installed in the local nginx, this is the first time in the formal environment to install nginx, these records to experience. First, installation environmentOperating System: CentOS
Because some statistical scripts need to be executed for a long time, and there is no way to always manually check whether the process is running, so we use shell scripts to cycle monitoring the existence of the processDid you try to say $?
Here are some of the notes I learned about Linux, as summarized belowFirst of all to popularize common sense: DNS is used to resolve the domain name, the URL port default is 80, can not write, localhost is 127.0.0.1, if it is root, the prompt is: #,
Samba is a free software that implements the SMB protocol on Linux and UNIX systems, consisting of servers and client programs. Smb(Server Messages block, information service blocks) is aLanshared files and printers on aCommunication protocols, it
NMCLI is a convenient tool to configure the network, can easily view network card information or network status:Example 1: Viewing network card information[[Email protected] ~]# nmcli Connection show name UUID
1. Copy the/etc/rc.d/rc.sysinit file to the/tmp directory and add # to the beginning of the line with at least one whitespace character in the/tmp/rc.sysinit file;cp/etc/rc.d/rc.sysinit/tmp/Vim/tmp/rc.sysinit:%s/^[[:space:]]/#&/:%s/\ (^ \)/#/gmatch
1. Open the configuration file[Root@localhost ~]# vi/etc/sysconfig/iptables 2. The correct configuration file# Firewall configuration written by System-config-firewall# Manual Customization of this file are not recommended.*filter:input accept [0:0]:
You need to use regular expressions when using grep, awk, and SED commands.For example, I use grep to find out if there are errors in the code compilation results. Or if there is an error in my code.Here is the basic application of regular
Rights Management as a person who is learning Linux, it feels like nothing. How to protect personal privacy and personal work environment, after you have learned this, you feel that authority is how important.#ls-L 1.sh-rw-r--r--1 root root 0 Sep 19:
Linux version: CentOS7 64-bitBefore installing Nginx, first make sure that gcc, pcre-devel, Zlib-devel, Openssl-develare installed in the system.nginx:https://nginx.org/download/Download "nginx-1.9.9.tar.gz" and move to/usr/local/.-ZXVF nginx-1.9. 9
In general, files edited under Windows under Linux with VI Open the end of the line will be more than a ^m symbol, such as:This is because the text line breaks used by operating systems such as windows are different from the Unix/linux operating
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