Whether the monitoring service exists. if not, create

Whether the monitoring service exists. if it does not exist, create #! /Bin/shwww.2cto. comkill_result 'psaux | grep & amp; #39; index. php & amp; #39; | grep-vgrep | wc-l 'if [$ kill_result-eq0]; thennohup/usr/loc... Whether the monitoring service

Enable linux routing

When you enable the linux routing function, high-level routers can connect different hardware devices and translate many different packet formats. Generally, the prices are not cheap! In this chapter, we do not want to discuss such high-level things.

Three methods of script execution in linux

There are three methods for executing scripts in linux. /bar. sh is executed in the sub-process of the folk... /bar. sh is. /bar. sh content is read to the current running environment and execute exec. /bar. sh is to replace the current process.

How to decompress files ending with tar. xz in Linux

Tar. how to decompress the file ended in xz today, I tried to compile the kernel and downloaded a tar file. there are few online solutions for compressed files at the end of xz, but I still found them as follows: www.2cto.com $ xz-d ***. tar. xz $

Debian scheduled task management cron settings

Debian scheduled task management cron settings (the easiest way to shut down at a specific time every day: 1. gedit/etc/crontab2. add a line at the end of the file: 0122 * roothalt-p # indicates shutdown at every day.) all tasks with system

Returns any value from the bash function.

Return any value from the bash function. unlike other programming languages, a Bash function is more like a subprogram, that is, its return value. it can only be a number and 0 indicates success, if the value is not 0, the operation fails. If you

Shell script programming: "The simplest endless loop"

The simplest endless loop of shell script programming programs in linux all know shell scripts. even if you are not familiar with them, you should have heard of them! So how to write an endless loop in a shell script? Www.2cto.com for those familiar

Php-fpm.conf important parameters max_children and request_terminate_timeout

Php-fpm.conf important parameters max_children and request_terminate_timeoutphp-fpm.conf have two crucial parameters: one is max_children and the other is request_terminate_timeout. one of my two sets is 40 & amp; Prime ;, one is 900 & amp; Pr

LinuxDocumentViewerpdf Chinese garbled solution

LinuxDocumentViewerpdf solves ubuntu with Chinese garbled characters. it is found that when the default Evince program is used to view the pdf document, the Chinese pdf document is displayed with garbled characters after being opened. I checked the

Simple Linux command line notes: hwclock

Simple Linux command line notes: hwclock displays or sets the CMOS time hwclock [options] www.2cto.com option-r default options, read and print the CMOS time-s. set the CMOS time to system Time-w... info & n concise Linux command line notes: hwclock

Linuxpsaux command? Solution

Linuxpsaux command? There are five statuses for resolving processes on linux: 1. running (running or waiting in the running queue) 2. interruption (sleep, blocked, waiting for the formation of a condition or receiving a signal) 3. non-disruptive (do

Change linux to a root user command

Linux was first exposed to linux after being changed to the root user's command operation. The most common problem in ubuntu is the issue of user permissions, which often results in insufficient permissions. Www.2cto.com if the root user is not

Simple Linux command line notes: write/wall

Writeuserwallwrite is used to send information to a user who has logged on to the system, wall can send information to all users logging on to the system. The user parameter www.2cto.com is the user example of the user who needs to send the

Site backup script

Install an lftpyum-yinstalllftp script to automatically back up the database www.2cto.com # every day #! /Bin/bash/usr/local/mysql/bin/mysqldump-uusername-ppassword -- databasesblog & gt;/home/wwwroot/backup/da... install an lftp yum-y install lftp

Ubuntu12.10 software installation summary

Ubuntu12.10 software installation summary is basically the use of sudoapt-getinstallXXXXXXX 1. run the following command to install PHP + MYSQL + Apache on Ubuntu with apt-get: www.2cto.com (1) install MYSQLsudoapt-getinstallmysql-serv... ubuntu12.10

Adduser creation in ubuntu

The problem of creating a new user by adduser under ubuntu was encountered yesterday. I used the user's ub and created a new user by using useradd, however, when switching to this user, the terminal does not display as usual [user @ hostname ~] $,

Svn command download operation

Svn command download operation setuseruserusernamesetpasswdpasswdsetlocal_path % CD % www.2cto. comrem *** delete *** rd/q/s % LOCAL_PATH % \ onetracksvncheckout -- username % USER % -- password % PASSWD % -- no. Svn command download operation set

How to make the PASH variable configuration take effect permanently in linux

In linux, how to make the PASH variable configuration take effect permanently. In general, the setting of variables in linux and the setting of custom variables and command aliases will expire after you log out of bash, to take effect permanently,

Linuxshell compares two floating point numbers

Linuxshell compares two floating point numbers. if they are written as [& quot; $ a & quot;-lt & quot; $ B & quot;] and $ a $ B is an integer, it works well, but for floating point numbers, it will not get the desired result, it will only give

Ubuntu12.10 add custom Startup mode

Ubuntu 12.04 has changed the custom Startup mode from Ubuntu to Unity. in some cases, you need to add a custom Startup mode for a third-party program, which is easier to find in the search, it can also be easily attached to the launcher. The

Total Pages: 2732 1 .... 2451 2452 2453 2454 2455 .... 2732 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.