Time when shell scripts are used for debugging

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

Linux bonding initial status issues and solutions

Linux bonding initial status problem and solution problem: Start a bonding Nic and add two NICs with no network cable inserted into it. After pulling the bonding, ifconfig finds that it has a RUNNING mark, then, plug in the network cable of an slave

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.

Linux glibc upgrade operation

Linux glibc upgrade operation build install glibc www.2cto.com download glibcwget http://ftp.gnu.org/gnu/glibc/glibc-2.3.2.tar.gz download glibc-linuxthreadswget http://ftp.gnu.org/gnu/glibc/glibc-linuxthreads-2.3.2.tar.gz unzip tar-zxvf glibc-2.3.2.

Clean up cache in linux to release memory

In linux, the cache is cleared to release the memory system environment: Cent OS 5.4x64 www.2cto.com. Today, check the machine used for development. The memory usage is 11 GB, and most departments are cached, according to the computing method

How to modify a terminal prompt in Linux

In Linux, you must be clear about how to modify the terminal prompt for a Linux terminal. Recently, we found that the absolute path indicated by the terminal is very long after entering a deep level of a folder directory, this makes people feel

Site backup script

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

Use linux to implement cisco's route-map policy routing function

Use linux to implement the route function of cisco's route-map policy (the two ports are 10.5.39.111 and 10.5.39.222 respectively). The linux ip address is 10.5.39.54/24 -----(10.5.39.5 layer-3 Switch 10.5.51.5) ----- the gateways of two users whose

Linux network status check script

Linux network status check Script 1: Checks network connectivity through regular sending and receiving email www.2cto.com #/bin/bash echo "Daily test mail" & gt; state.txt mail-s Server_State abc@md1.21.co.jp state.txt ping-c 5 202.101.172.35>

How to add a hard disk to Centos

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

Ssh Transit server commands

Command purpose of the ssh Transit server: When a Server 1 can be remotely connected to the Internet, and other servers (such as server 2) can only be connected to the Intranet, You can first log on to Server 1, then run the ssh command to remotely

Interconnect the ssh functions of two machines

The ssh function of the two machines is used to enable the ssh function of the two machines. You do not need to enter the password each time you log on to the server. for multiple servers, this is a prerequisite for www.2cto.com: ssh must be

Can't open/dev/tty: No such device or address Error (Linux) Solution

Foreword because the previous online server has replaced the IP address, the following problems are recorded in the log when the offline server crontab pulls the backup log (ps: I am a singer while solving the bug at home, nice): www.2cto.com Note:

How to modify localhost in linux

For linux, modify localhost Method 1: temporarily modify the Host Name: hostname www.2cto.com. Use the hostname command to temporarily modify the host name, but the original value will be restored after the machine is restarted. # Hostname // view

Linux *** is not in the sudoers file. This incident will be r

Linux *** is not in the sudoers file. this incident will be reported solves the following problem: because my current user is not written in the sudoers file www.2cto.com 1. first, we need to determine where this file is located? --- Usually in

Expansion and reduction of LVM logical volumes

Logical volumes can be dynamically stretched online. To expand the space of a logical volume, you do not need to detach the file system. To stretch a logical volume, follow these steps: ensure that there is sufficient free space in the volume group:

An error occurred while entering the password in ubuntu.

The problem that the password entered by the ubuntu system cannot be entered two days ago when the android environment was set up in linux, the system was restarted after the android configuration information was added to the/etc/profile file.When

Linux Shell Script Parameters

$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

Create swap Partition

The swap partition in Linux is similar to the virtual memory in windows. It is used to separate some memory pages not used in the memory.Replace an algorithm with a file system to free up more memory to run other programs.When the physical memory of

Linux daemon Basics

1. Basic concepts involved in the daemon 1.1 Process Group1.1.1 basic concepts of Process GroupsA process group is a collection of one or more processes that receive various signals from the same terminal. Each running program or command generates a

Total Pages: 5467 1 .... 4245 4246 4247 4248 4249 .... 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.