You can first use Rpm-qa |grep rsync to see if rsync is installed
Let's talk about the Rsyns configuration process
I. Configuring server-side
First edit the/etc/rsyncd.conf content as follows:
UID = nobody #进行备份的用户nobody为任何用户
GID = Nobody #进行备份的组
1. What is a regular expressionWhen doing a word processing or writing a program, use the
Find, replaceand other functions,
use regular expressions to achieve goals quickly and easily。 In simple terms, regular expressions help with some special
On Linux for the first time after loading jetty. Run the error below
Exception in thread "main" java.lang.unsupportedclassversionerror:org/eclipse/jetty/start/main:unsupported Major.minor version 52.0 at Java.lang.ClassLoader.defineClass1 (Native
Problem Description:Uninstall the CentOS system and delete the partition volume of the CentOS hard drive directly under Windows.
The reboot encountered a problem, could not get into windows, and went into grub or something because the previous MBR (
Many of the most common commands in Linux must be mastered, and here I share some of the basic commands I learned when I started Linux, hoping to help you.
This is I will be the book on the bird in the collation, I hope not to involve copyright
Body
test Data
Touch a a6.log abc.log ac.txt b c C5.txt X.log a
"*"
Represents any number of characters
Example: Query with ". Log" end of file
ll *.log
"?"
Represents any single character
For example: Only query A, B, C
ll?
"[]"
Today, someone asked me to write a script that would allow Linux to regularly back up file data and delete backups over a certain period of time. It sounds interesting, but after some groping, it didn't work out. (because it is for the people who do
Overview
Figure 1 Linux system process big view
first-stage boot loader
The primary boot loader in the MBR is a 512-byte image that contains program code and a small partitioned table (see Figure 2). The first 446 bytes are the primary boot
1.Linux Link Concept
There are two kinds of Linux links, one is called hard link (Hard link), the other is called Symbolic link (symbolic link). By default, the LN command produces a hard link.
"Hard Connection"A hard connection refers to a
Inotify is a Linux kernel feature that monitors file systems and issues related event warnings to specialized applications, such as delete, read, write, and uninstall operations. You can also track details such as the source and destination of the
For the main process fork () to return the newly created subprocess ID, the subprocess Fork () returns 0
Http://blog.chinaunix.net/u1/53053/showart_425189.html
Process configuration has a unique process control block PCB, composed of proc structure
The simple purpose is to clear the history commands under Linux
Linux Input History command to display history-struck commands
The input history-c cleared off, but the system reboots, knocking history found again, how to do?
With the vi editor,
Linux provides 2 powerful file/text finder Find,grep, below for a brief introduction;
Find File Lookup toolFind tool is a powerful file finder, you can use regular expressions for file lookup, the general instruction format is as follows:
1
Dir
Sometimes you need to view a process in Linux that uses that port, but only the approximate name of the process, such as to see which port the Namenode of Hadoop runs on, to connect in eclipse. One method is as follows, may compare rubs, please the
1, directly view all the content of the article: Cat, TAC, NL
(1) Cat: File output from the first line to the last row
(2) TAC: Writing is the reverse of cat, output is also from the last line to the first line
(3) NL: Similar to cat commands,
One, execl execv excle execve EXECLP EXECVP The difference is:
1, the program file to be executed is the file name or path name;
2, the new program parameters are listed or by an array of pointers to reference;
3. Pass the calling process
Perfect coexistence with other systems is one of the successes of Linux, where Linux can transparently mount disks or partitions in other system file formats, such as Windows FAT32, NTFS, and so forth;
Linux uses the virtual filesystem Switch to
That was my first graduation, in the mobile room, resistance to the summer in the room of ultra-low temperature, watching a veteran of the siege of the fingers on the keyboard constantly beat the command. Yes, you guessed it, he was using shell and
Reference: "Linux kernel design and implementation" 13th Chapter virtual file system
The virtual file system (VFS), as the kernel child operating system, provides a file and file system-related interface for user-space programs. Programs can use
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