Use bash scripts in Linux--regularly and automatically back up database important files

1. First write your own bash script, give it executable permissions, the code is as follows:[Git_backup.sh]1#!/bin/Bash2Code_dir="/home/slamgit/code"3Bak_code_dir="/media/ubuntu/kingston/code"4 functionCode_backup () {5 forElementinch`ls$code

Background mount process and uninstallation process in Linux

By using SSH to connect to Linux, a process is opened, and when SSH is closed, the process shuts down, causing the process to not continue to be allowed in the Linux background, which is more cumbersome.Therefore, the use of Linux background process

Linux CPU 100%, kill-9 can't kill the process

1:top View>top-cAt this point we use kill-9 15003, kill the process of the short-term CPU down a few seconds, and then resurgence, another process accounted for the CPU 99%2: View 15003 process status,> Cat/proc/15003/statusPid: Current Process

unix/linux command: BC

BC is a command-line calculator under Linux. Parameter-I forced interactive mode-l use BC's built-in library-Q to enter BC Interactive mode no longer output version such as extra information special variable scale decimal reserved bit, default 0-bit

1.Linux Introductory Introduction

Preparation: Installing a VMware Virtual machine and installing Linux on the CentOS6.5 system (Rhel as well as any derived Linux system), of course, can be installed directly on the native Linux.1.Linux IntroductionLinux originated from UNIX systems,

How Linux finds large files

Https://www.cnblogs.com/kerrycode/p/4391859.htmlFind. -type f-size +800mAs shown in the command above, we can only see the file name of files over 800M, but the information about the file (for example, file size, file attributes) is unknown, can you

Introduction to common methods of GREP commands under Linux

1. Search for the specified string from a single file: $ grep "literal-string" filename The command outputs the contents of the string in the file, and if the string has no spaces, it can be without double quotes. FileName can be

Introduction to Linux File system

Introduction to the hard Drive interface: 1. IDE:并行接口,133MB/s 2. SCSI:并行接口,Ultrascsi320, 320MB/S, UltraSCSI640, 640MB/S 3. SATA:串行接口,6gbps 6g/8 GB/S 4. SAS:串行接口,6gbps 是SCSI升级版Parallel interface transmission rate is slow because

Linux Installation Jenkins

First install a JDK, if not installed can view my article Linux installation jdkThen use the following commandsudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.reposudo rpm --import

Linux Network Programming--tcp Concurrent Server (poll implementation)

To thoroughly understand poll or understand the following code, please refer to the "Linux network programming--i/o multiplexing poll function"Code:1#include string.h>2#include 3#include 4#include 5#include Select.h>6#include 7#include 8#include

PS of Linux Process management commands

This command shows the process status of a system at a certain point in time.PS is through the/proc interface, allowing the administrator to view the kernel process status information.In order to respond to all files, process parameters are modeled

Linux system directory structure and simple description

Linux Directory Map:/ Root---Some of the core files used when starting Linux. such as operating system kernel, boot program grub and so on. Home---Store personal files for ordinary users FTP---User-owned services

Linux 6 installation using Xtrabackup

Help Document: Https://www.cnblogs.com/imweihao/p/7290026.html--- Yum InstallationWebsite address: https://www.percona.com/doc/percona-xtrabackup/LATEST/installation/yum_repo.html[email protected] ~]# Yum install

Introduction of Linux File system

Write in front: when the partition needs to be formatted, the operating system can use the partition. will be formatted according to the file attributes/permissions set by the operating system as supported by the operating system.The cousin Linux

Linux Operations Related Network basics

ack

first, network basic knowledge outline1, knowledge System: Routing, Exchange, protocol, OSI seven-layer model, TCP/IP protocol and three-time handshake four wave process, vlsm can slew eldest son Nets.2, network: Refers to the computer and its

Linux Common Commands--cd

cd change directory 切换目录Syntax format: cd "option" "dir" CD [options] [directory]Attention:1.mkdir commands and subsequent options and directories, each of which must have at least one space between each elementParameters such as options and

Tc:linux HTTP Outgoing Traffic Shaping (Port traffic Shaping) (EXT)

Original: https://www.cyberciti.biz/faq/linux-traffic-shaping-using-tc-to-control-http-traffic/I ' ve 10Mbps server port dedicated to our Small Business Server. The server also act as a backup DNS server and I ' d like to slow down outbound traffic

Nginx Log Segmentation: Windows and Linux

First, why the log is split. 1.nginx logs are written to a file by default, and the file becomes more and more large.2. Individual log files are very inconvenient to view analysis.Second, simple analysis of log segmentation.whether it's Windows or

Manage Windows Hosts from Linux

Using Powershell Configurations on the Windows Host On the target with Windows system, configure the WinRM server to accept Basic authentication and allow unencrypted traffic .To enable basic Auth, on the Windows in an administrative

Linux Three week First Class (April 2) linux,windows cross-file user profile Password group management

Three week First Class (April 2)2.27linux and Windows inter-pass files3.1 User profile and password configuration files3.2 User Group Management3.3 User ManagementLinux and Windows file transferI usually use FTP or other file management methods.Here'

Total Pages: 5467 1 .... 3195 3196 3197 3198 3199 .... 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.