Use Crontab to automatically back up databases under Linux

Use Crontab to automatically back up databases under LinuxHere are the steps to perform a simple database backup using the Add and mysqldump of the crontab Timer task, as follows:1. Write a script:/serverback/autobackmysql.shThe contents are as

Linux New HDD-mount

Virtual machine new hard drive mounted to file under notes:Df-h--View current file system InformationFdisk-l--View Current disk device (partition) Letter InformationFDISK/DEV/VDB--Using FDISK to manage new devices================= Creating a

[Linux] Upgrading glibc for the GHOST vulnerability

1> Test If the problem exists, code:    #include #include#include#includestring.h>#include#defineCANARY "In_the_coal_mine"struct { Charbuffer[1024x768]; Charcanary[sizeof(CANARY)];} Temp= {"Buffer", CANARY};intMainvoid) { structhostent Resbuf;

Easy for John to crack Linux password batch processing

Title: Convenient john crack Linux password batch processing--2011-11-23-17:31Custom file hash name and dictionary name batch processing (single file):@echo offColor 0aSetlocal enabledelayedexpansionTitle Cracker the password!Echo is backing up the

Linux kernel source scenario analysis-address mapping for external device storage spaces

With the development of computer technology, it is found that the simple I/O mapping method can not meet the requirements. This method is only suitable for the early computer technology, when a peripheral is usually only a few registers, through

The Linux command I used--install Hadoop

1. Hadoop software delivered to virtual machines Or use WINSCP to put the Hadoop software installation package in the Linux downloads folder. 2. Select the installation directory Copy the Hadoop installation package into this installation directory,

View each folder size command in Linux du-h--max-depth=1

du [-ABCDHHKLMSSX] [-l ][-x ][--block-size][--exclude=][--help][--version][directory or file] Common parameters:-A or-all display disk usage for each specified file, or display their own disk usage for each file in the directory. -B or-bytes

Linux common commands (man Histroy)

Linux common commands (man Histroy)1.linux Man Manual:Usage:# Man command query command HelpEg:man ls650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5A/22/wKioL1T3yGuy-Q5IAAGgYSihLvY181.jpg "title=" man Ls.jpg "alt="

Linux System Log Management: (2) Process statistics log

There are three main logging subsystems in the Linux operating system:(1) Connection time log(2) Process statistics log(3) System and service logsThe connection time log and the process statistic log are driven by the Rsyslog (Legacy syslog) log

Linux Basics: 7, Basic Command Introduction (2)

Directory-related commands)MkdirRole: Make directories Create directorySyntax: mkdir [options] Directory nameOptions:-P Cascade Create directory if the target directory already exists without error=====================================================

Zip compression and unzip decompression commands in Linux

Article turned from: http://www.jb51.net/LINUXjishu/105916.html1. Compress the MyData directory below the/home directory to Mydata.zipZip-r Mydata.zip MyData #压缩mydata目录2. Unzip the mydata.zip under the/home directory into the Mydatabak

(015) Linux custom prompt

Fundamentals of the ten-year OPS series-LinuxZeng LinContact: [Email protected]Website: www.jplatformx.comCopyright: Please do not reprint the article without permission First, IntroductionThis section explains the small features of a Linux

Date of the Linux command

Example: Use the date command to output the "XXXX-XX-XX" format, such as 2015-03-01.#date +%y-%m-%d 2015-03-0#date +%f2015-02-28The 1.date command enables a variety of format outputs, depending on the connection symbol between the representation

Linux NIC traffic/process speed view

1, Linux view network instant speedSar-n DEV 1 1001 represents one second to be counted and displayed once100 representative Statistics 100 timesThe use of tools such as ntop, it is more convenient and simple, but this more flexible2, Nload3,nethogs

Linux Security Hardening

---1. Use the shell History command to record functions #/etc/bashrchistfilesize=4000 histsize=4000 histtimeformat= '%F%T ' export Histtimeformat source/ ETC/BASHRC---2. Deletion of System login welcome Information---2.1 Delete the operating system

User and user group management under Linux

/etc/passwd'/etc/passwd ' is divided into 7 fields by ': ', and the specific meaning of each field is:1) User name. The user name character can be uppercase and lowercase letters, numbers, minus signs (not appearing in the first place), dots, and

Linux uses the CP command to override the silent method directly

The Common CP command usesExample: CP abc.txt/homeIf home/home has a abc.txt file before, will you be prompted if you want to overwrite it? This time you need to enter Y, if the file is many, each copy of a file must be entered once Y.The following

〖linux〗linux SMB address Translation in Windows format (two-turn)

Because the personal office PC is Linux, open file sharing what is smb:// , not Windows \ \When you need to copy a file path to someone else, it's not a good way to send smb:// to a user who uses Windows office.Then write a simple script by hand and

How to fix MBR and GRUB in CentOs7

How to fix MBR and GRUB in CentOs7I. Repair MBR: MBR (Master Boot Record ): The hard disk has 0 cylinders, 0 heads, and 1-sector names as the primary Boot Sector. Among them, 446Byte is bootloader, 64Byte is Partition table, and the remaining 2Byte

CentOS 6.3 installation and configuration vsftpd and Multi-User Login

CentOS 6.3 installation and configuration vsftpd and Multi-User Login1. Install vsftpd [root @ localhost ~] Through yum # Yum-yinstallvsftpd and-y are added because the system prompts that you directly Press Y by default. The vsftpd version

Total Pages: 5467 1 .... 1556 1557 1558 1559 1560 .... 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.