Bash Environment variablesLocal variable (local variable) current shell processEnvironment variables current shell process and its child processesPosition variable: $1,$2,shift rotation (Eg:echo $ shift2 echo$1)Special variables: $?: Exit status
In a long time, probably 2009, wrote an article on the Linux RCU lock "RCU lock in the evolution of the Linux kernel", and now I admit that while I understand the RCU lock, but I do not have the ability to use a very simple description of the
13.5 Parent and child processes This section describes how to run a separate program in a child process that is completely different from the parent process, rather than just running the same program. Use the exec call to do the work. One of the
?? 1, crontab?? (1) crontab run every 10 seconds?
* * * * * */bin/date >>/tmp/date.txt?* * * * * *
sleep/bin/date >>/tmp/date.txt?
(2) can also be expressed in the following ways?
String???????????? Meaning??------??????????? -----
Tomcat can act as a completely separate Web server. The biggest advantage of Tomcat is the servlet and JSP engines.To install Tomcat:Sudo Yum install-y tomcat-*To start Tomcat:[User@localhost ~]$/etc/rc.d/init.d/tomcat start[User@localhost
1. Create a system file named. VIMRC first switch to the user root and then create the file. $ cd ~$ vim. Vimrc2. Enter the following in the file and save the set Tabstop=4set shiftwidth=4 where: TabStop indicates how many spaces the length of a tab
Problem:Try to install XtrabackupRPM-IVH percona-xtrabackup-2.2.11-1.el7.x86_64.rpmErrorPerl (Dbd::mysql) is percona-xtrabackup-2.2.11-1.el7.x86_64 requiredPerl (time::hires) is percona-xtrabackup-2.2.11-1.el7.x86_64 required-------------------------
Linux development is often used in the log, this is very useful, can help us quickly locate the error, such as if we do lamp development, the page does not error, but also no debugging tools, we step by step wrong very good time, and this method is
There are 3 time definitions for each file in the Linux system (called Timestamp timestamps), which are three times : Access time (atime), Modify Time (mtime), change Time (CTime), for these 3 times is easy to confuse, here is briefly explained
The crontab of Linux commands@ (LINUX_DAY_DAY_UP) [Linux]
The crontab of Linux commands
The crontab is used to set the instructions that are executed periodically.We can use it in Linux crontab -e to edit the crontab configuration file
Role:Copy the SSH public key of the current machine to another machine to enable SSH login to other machines from the current machine without password.How to use:1) Write the IP address you want to add to a file, such as host2) Save the script as sh
ObjectiveIt has always been thought that FTP and NFS are common ways to share local area network files, but after a recent contact with Samba, I learned that some users need to simplify access to learning costs, to meet the basic rights control
Centos system installation salt
Salt Installation and Use
1. Install centos system salt
Preparations before installation:
Many of our servers do not have Internet permissions. It doesn't make much sense to set up each source server. Therefore, we
Deploy SSH key login in CentOS
1. Generate a key:
Create the private key and public key in SecureCRT:
Main Menu-> tool-> Create public key-> select RSA-> private key password not filled in> enter 1024 key length-> Click Finish to generate two files,
Modify the username in CentOS
You need to modify two files:
/Etc/hosts
/Etc/sysconfig/network
Then restart
1. Modify/etc/sysconfig/networkNETWORKING = yesHOSTNAME = ******** 2. Modify/etc/hosts127.0.0.1 localhost. localdomain localhost4
Http stress test on CentOS server AB
The full name of AB is Apache stress, which is a self-built Network stress testing tool of Apache. Compared with LR and JMeter, AB is the simplest and most common Http stress testing tool I know.
The AB command
Red Hat 6 uses xrdp remote interface login, Red Hat 6 xrdp
Redhat6 install xrdp and log on directly using windows Remote Desktop Connection
The following describes the implementation method:Step 1: Download the source code package and install some
Linuxifconfig command to configure IP AddressNic naming rules in Linux: eth0 and eth1. The first Ethernet Card and the second card. Lo is the loopback interface, its IP address is fixed to 127.0.0.1, And the mask is 8 bits. It represents your
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