Linux SHELL reads the variables in the configuration file

Linux SHELL reads the variable 1 in the configuration file. configuration file content (a. cfg): www.2cto.com Java code #! /Bin/bash FTP_IP = 192.168.1.201 FTP_USER = test_user FTP_PASS = 123456 SRC_DIR =/DIST_DIR = ~ /Data # file date (system date

Linux environment variable setting method summary (PATH/LD_LIBRARY_PATH)

Linux environment variable setting method summary (PATH/LD_LIBRARY_PATH) PATH: Find the executable program PATH www.2cto.com to view the current environment variable: echo $ PATH settings: Method 1: export PATH = PATH: /XXX is invalid after logout.

Ubuntu 12.04 nfs-server/client installation Configuration

Ubuntu 12.04 nfs-server/client installation and configuration because the opennebula shared storage method requires nfs, it paves the way for opennebula 3.8 to be built on ubuntu 12.04, first, we will introduce the installation and configuration of

The twists and turns of installing the Cicso vpn client in Linux

The twists and turns of the installation of the Cicso vpn client in Linux are extremely twists and turns. Download vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz unzip tar-zxf vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz for installation. /vpn_install

Common Linux commands (3) -- file search commands

Common Linux commands (3) -- file search command 1. Command name: which www.2cto.com command path:/usr/bin/which execution permission: All Users function description: display the directory syntax of the system command: which [command name] [root @

Linux batch Delete Process

In linux, multiple Kill processes are often required to delete processes in batches. If these processes share common characteristics, you can Kill them with a command. For example, clear all remote connection processes of the Oracle database:

In linux, THE top Command calculates the memory size used by each user.

In linux, the top command is used to calculate the memory size of each user. The script content is as follows: www.2cto.com #! /Bin/shif test $ #-eq 2 then username = $1 resindex = $2 summ = 'top-n 1-u $ username | awk-v res = $ resindex '$ res ~ /M

Use the five-stroke input method in rhel6.1

I am used to using the five-stroke input method in rhel6.1. The five-stroke input method in RHEL5 is better set. The RHEL6 setting method is different from RHEL5. Install www.2cto.com: yum-y groupinstall "chinese support", 11 packages are

Linux server name Modification

In linux, you can run the command www.2cto.com hostname to modify the host name. You need to change the two files:/etc/hostname/etc/hosts in the hostname file, change the original host name to a new one. In the hosts file, you can change the

Linux development experience

A brief analysis of the development experience of linux has recently changed to work, and some accumulated things are sent out so that they can be easily taken away. Based on their work experience, they will be constantly updated. Www.2cto.com 1.

Linux Remote file copy

Linux Remote file copy Shell code www.2cto.com #! /Bin/sh #################################### ######################################## ######### copy the file under/data/sea/upload/on the 10.0.64.20.host to 10.10.31.79 ############## ##### after

How to clean up hard disk space on a Linux Web/DB Server

 Mysql binlog The longer the date, the more hard disks occupied1. In the mysql command line  SQL code Purge master logs before DATE_SUB (NOW (), INTERVAL 10 DAY ); Clean logs generated N days ago (Change interval n day) 2. Modify expire_logs_day

Watch usage in Linux

  Watch is a very practical command. Basically all Linux distributions have this tool. Like a name, watch can help you monitor the running results of a command, saving you the need to run it manually over and over again. Directly following the

About Ctrl + C, Ctrl + Z in linux

Ctrl + C: Send the SIGINT signal. By default, the process ends, but the process itself can redefine the behavior of receiving the signal.Ctrl + Z: Send the SIGSTOP signal, the process is only stopped, then send the SIGCONT signal, and the process

Failed to log on to vsftp by a real user (/bin/nologin)

Xuser Today, vsftp is installed on the server so as to open a private ftp resource to the comrades. There have been many problems. Here are some simple records. First, set the chroot limit to allow users to span directories and other settings, and

Large set of Shell shortcut operations in Linux/Unix

  Sometimes, we need to repeat the previous commands in Bash. Of course, you can use the arrow keys to view commands that have been run before. But here are some better ways: 1 )!! : Execute the previous command repeatedly. 2 )! A: repeat the

Rational use of KeepAlive configuration in Apache

  In the Apache server, KeepAlive is a Boolean value. On indicates opening, and Off indicates disabling. This command exists in many other HTTPD servers.The KeepAlive configuration command determines whether to immediately close the TCP connection

Linux sed commands

  1. Introduction to Sed Sed is an online editor that processes a row of content at a time. During processing, the currently processed rows are stored in the temporary buffer, called the pattern space. Then, the sed command is used to process the

Install nginx + mysql + php

  Nginx + mysql + php must be installed on the interface server   1. Install nginx (refer to resource server configuration)   Ii. Install mysql (refer to mysql installation in game server configuration)   3. install php This is the most important

Ubuntu backup and Restoration

  Dd Back up mbr Dd if =/dev/sda of =/backup/mbr. img bs = 512 count = 1 Restore mbr Dd if =/backup/mbr. img of =/dev/sda bs = 446 count = 1 Restore the partition table and skip the primary Boot Record Dd if =/backup/mbr. img of =/dev/sda bs =

Total Pages: 5467 1 .... 4665 4666 4667 4668 4669 .... 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.