#!/bin/bashDbbackdir= "/home/oracle/fm/fm_backup" #数据库数据本机存放位置, according to the circumstances of their own modificationLogdir= "/home/oracle/fm/fm_backup/log.txt" #简单日志输出#检查备份目录是否存在和是否有读写权限If [-F "$LOGDIR"]; Then #检查日志输出文件chmod a+w $LOGDIR
ExamplesCP File1.txt NewdirCopies the file1.txt in the current directory to the newdir subdirectory.Cp/home/public_html/mylog.txt/home/public_html/backup/mylog.bakCopies the file mylog.txt in the public_html directory into the
Command one:-R parameter in RMThe first is the creation of the temp file, which belongs to the Xulinux user, and the Xulinux group, the permission through the following 3 sentences so that no one should write, read, not access to the
1. Folder operationsMy Computer user name is studentRight-click New terminal to enter the following contentThe CD will jump directly into the Student directory layerCd.. Jumps into the previous layerCd.. /.. Lian-HopCd/home no matter where you are
Blktrace Introduction:Blktrace is a tracking tool for the I/O layer of the Linux kernel, used to collect the details of the disk IO information when the IO is carried over to the block layer (block level, so called Blk Trace), which is the
1.RPC service is supported by Rsh, in general, RSH is installed. Rpm-qa rsh view.2. Right-click Save As http://heanet.dl.sourceforge.net/sourceforge/rstatd/rpc.rstatd-4.0.1.tar.gz download rpc.rstatd-4.0.1.tar.gz.3. Perform the following command to
Install QQ under LinuxToday tried for a long time finally hit the countless south wall ah, so write this blog let everyone is want to Linux system installed QQ comrades a reminder. Comrades, Linux installed under the QQ are rotten goods AH. Either
--linux Memory Explanation-----------------2014/05/24Linux's memory is not as intuitive as windows, and this article is going to cover Linux's memory in detail.See here the memory information for the Linux command free and vmstat output.Mem Line
Echo 192.168.10.69>>ip.list-------------------------------------------#!/bin/bash# Note the spaces between if and []RM-F ~/fanr/shell/diskusagealert/Out.printout=$(Cat~/fanr/shell/diskusagealert/ip.list)Echo$out for_ipinch$out Do SSH[Email
LS-L ABC (ABC is file name)Then there will be similar messages, mostly these:Drwxr-xr-xA total of 10 digitsWhere: The first d represents the type catalog fileThe middle three rw-represents the owner (user)Then those three r-x represent groups (group)
Author:drivermonkeyMail:[email protected]phone:13410905075qq:196568501Test platform:am335xPre-optimization Status: sampling speed 105 times/Soptimization Objectives : speed of 130 times/s (note: Based on the ADC's sample rate can theoretically
Vamei Source: Http://www.cnblogs.com/vamei Welcome reprint, Please also keep this statement. Thank you!In this series of articles I describe the basic concepts of Linux. The Linux operating system inherits from UNIX. An operating system is a set of
2.6 kernel1> modify the linux-source-2.6.31/kernel/sys. c file and add the system response function at the end of the file. Function implementation: asmlinkage int sys_mycall (int number ){Printk ("This is the first system call I added ");Return
It takes me 10 minutes to understand "! = The difference between "-n" and "-n". Take a note and complete it.
Method 1: Test whether apache is enabled? String Testing
#! /Bin/bash
Web = '/usr/bin/pgrep httpd'
If [-n "$ web"]; // whether the
The following error occurs when installing vncserver:
Vncext: VNC extension running!
Vncext: Listening for VNC connections on all interface (s), port 5901
Vncext: created VNC server for screen 0
Cocould not init font path
When installing CentOS for Linux, you need to create CentOS partitions on the hard disk. In most cases, at least three partitions must be created for CentOS.
(1)/boot partition (not required):/boot partition is used to boot the system. It contains
I searched a lot of materials online, outdated, incomplete, and incorrect version.
The test is effective in the next step, excluding anonymous user logon.
1. Create/home/loguser.txt
And fill the content in the following format:
User NamePasswordUser
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