When using shell scripts for debugging, the company recently tested the server and often needed to adjust the system time. If one or two servers were better than half and a little bit more, there was a variety of confusions. I was so crazy about
Automatically mount NTFS at startup of ubuntu-solve the problem that chmod fails to use NTFS. Today, I am writing a program in C and I find that I have no permission to execute it when I prepare to run the E drive. Then, the chmod 777 hello command
Install an lftp yum-y install lftp script to automatically back up the database www.2cto.com # every day #! /Bin/bash/usr/local/mysql/bin/mysqldump-uusername-ppassword -- databases blog>/home/wwwroot/backup/databackup _ $ (date + % Y % m % d ). SQL
The Bash Shell in Linux does not support regular expressions. The regular expressions are Shell commands and tools, such as grep, sed, and awk. However, bash Shell can use some metacharacters in regular expressions to implement The Globbing function,
How to add a hard disk in Centos full tutorial Linux hard disk recognition: sda indicates 1st SCSI hard disks. hda indicates 1st IDE hard disks. content 0 indicates 1st USB optical drives. Generally, the "fdisk-l" command can be used to list the
Linux development environment setup recently, the younger brother tried to download the Linux development environment and set up the Linux commands. This really makes setting up the Linux environment easier. Next I will introduce some simple
How to uninstall GoldenGate on Linux and UNIX 1. log on to the database server (as oracle) where the GoldenGate software isinstalled.2. Change directory to the GoldenGate home: cd/home/oracle/ggs3. Start GGSCI: ggsci4. Stop all GoldenGate processes:
First, install the Lucene plug-in for dovecot. If you use FreeBSD port for installation, you only need to make config, select LUCENE, and then portmaster dovecot. The configuration is also easy. I have already made the index and data separation, so
In shell, the key to comparing two strings is: www.2cto.com if ["$ test" x = "test" x]; then: 1. Use a single equal sign 2 to notice that there is a space on both sides of the equal sign: This is a unix shell requirement 3. Note that the last x of "$
Daemon category:Based on the startup and management methods, it can be divided into standalone stand alone, and services managed in a unified manner through a super daemon.Stand alone: it is started independently and has been in memory since it was
Show status provides the server status information (like mysqladmin extended-STATUS ). The output is similar to the following display, although the format and number can be a bit different:Meaning:Aborted_clients indicates the number of dropped
$0 ---- the name of the current program is actually an internal parameter, different from $1, $2... because it must have!$ # ---- The total number of parameters passed to the program, that is, the legendary array size$? ---- When the previous code
Source server 10.13.114.16Target Server 10.13.114.17Objective: To synchronize the source server 10.13.114.16/home/admin/www/folder files to the/home/admin/www directory of the target server 10.13.114.17 in real time
Step 1: Install rsync on the
The core of the following script is:
Compress the log file every morning and move it to the corresponding year/month directory. Then, regenerate the log file and record the log.
#! /Bin/bash
Logs_path = "/home/wwwlog/" # log storage locationYear =
Pkginfo | grep bind // check whether bind is installed
Pkgrm Bind name // uninstall Bind
Directory of Cd/bind
Gunzip bind-9.4.3-P3.tar.gz // decompress the tool to generate bind-9.4.3.tar
Tar-xvf bind-9.4.3-P3.tar // A bind-9.4.3-P3 directory is
If the installation version is installed on a DVD and the opencv of the project application is checked during customization during the installation process, the system will bring the opencv2.2 version, but the header file cannot be found, this is a
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