Linux environment variables

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

A brief analysis of the Linux kernel RCU (Read Copy Update) lock

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

Linux programming-Parent and child processes (chapter 13th)

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

Linux Small Knowledge points summary

?? 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??------??????????? -----

Linux system installation, startup, and shutdown Tomcat

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

How to set the tab length in Linux

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

Linux under SVN command switch usage

# SVN info/data/www/49you/api.49you.comPath:/data/www/49you/api.49you.comUrl:svn://192.168.10.81:3690/api.49you.com/wwwrootRepository root:svn://192.168.10.81:3690/api.49you.comRepository uuid:e1f22fcc-588e-4d25-baff-28a024ac003drevision:1569Node

Linux Installation Xtrabackup Dependency issues

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-------------------------

View logs under Linux

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

Linux time stamp

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

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

Linux Batch Build trust relationship, implementation of SSH without password login script

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

Using Samba to implement Linux and Windows file sharing practices

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

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

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

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

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

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 Address

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

Install Mysql on Centos7

Install Mysql on Centos7 Prerequisites: 1. Install the yum command Installation steps:[Html] view plaincopy 1. wgethttp: // dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm [Html] view plaincopy 2.

Total Pages: 5467 1 .... 3349 3350 3351 3352 3353 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.