#!/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
1. Shell PipelinePipelines can connect a number of commands, and the input of a command can be used as the output of a 2nd command. The output of the 2nd command is input to the 3rd command, and so on. Therefore, the function of a pipeline is to
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
Getent Group ZabbixGetent passwd ZabbixGetent Group Zabbix >/dev/null | | Groupadd-r ZabbixGetent passwd Zabbix >/dev/null | | Useradd-r-G zabbix-s/sbin/nologin-c "Zabbix monitoring System" ZabbixThe getent command can be used to view related
[Tar detailed : ]- C: Create compressed Archives- x: Unzip- t: View content- R: Append files to the end of a compressed archive file-u: Update files in original compressed packageThese five are stand-alone commands, which use one of the
Dragon Boat Festival holiday, idle to Nothing, learn some basic Linux commands, sweep blind.Files that begin with. Start with Linux are hidden files.1. Start init-0, reboot2. Toggle the command CD (./For the current location/absolute
Optional:get, Compile, Install QWT 5.0.0 (or newer): * note:you should not need to set the environment variables "Qtdir" or "qwt_cflags", so leave them is (for now).wget http://superb-east.dl.sourceforge.net/sourceforge/qwt/qwt-5.0.2.tar.bz2Tar jxf
View Linux version information: http://distrowatch.com/The meaning of the System folder under the Linux root directory/ boot This directory is the default Linux boot file and kernel, general 200Mswap Swap partition, generally set to twice times the
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
From: http://blog.csdn.net/svitter
Cited by: http://www.2cto.com/ OS /201305/209285.html
{Ubuntu checks the program that occupies a port to view port usage. Run the netstat command. View the connected service port (ESTABLISHEDnetstat-a) view all
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 is rare that sogou's input method supports ubuntu and can be used to download and try it.
Official Website: http://pinyin.sogou.com/linux/
Official website tutorial: http://pinyin.sogou.com/linux/help.php
According to the above instructions in
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
Grep-vKeywordsFileKeyword in the file is filtered out.
Grep-v"^Keyword"FileFilter out a token starting with a keyword
Sed-e'/Keywords/D'FileDelete keywords in output
To/Etc/passwdFor example:
Besides1-30Other rows:
Only output text1-3Row:
In
When a pointer with a smaller byte alignment type is strongly converted to a pointer with a larger byte alignment type, this may cause problems. On the arm platform, this problem is obvious. After running on the x86 platform, typdef struct {int addr;
Vim mysql. sh#! /Bin/bashDAY = 'date + % Y-% m-% d' // The date is displayed as year, month, and DAY, and the DAY variable is assignedSIZE = 'du-sh/var/lib/mysql // view the mysql SIZE and assign the variable SIZEEcho "Date: $ DAY">/tmp/mysqlbak.txt
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