发布时间:2015-10-26 18:22:37
第一个(此处)#!/usr/bin/env python#coding:utf-8import os,sysf_dir=sys.argv[1]def GetFileList(dir, fileList): newDir = dir  .........【阅读全文】
发布时间:2015-10-26 18:08:22
公司的数据库备份脚本,本分完成后发送完成后的情况邮件,脚本有2个。这个是备份脚本#!/bin/bash#author:lujianwen#date:2015.08.31#backup db by mysqldumptype=$1dbhost=prod01smartcourt.mysql.rds.aliyuncs.c.........【阅读全文】
发布时间:2015-10-26 17:57:54
awk 'NR==FNR{a[i]=$0;i++}NR>FNR{print a[j]" "$0;j++}' file1 file2 >file3 paste -d " " file1 file2 >file3......【阅读全文】