脚本功能:日志切割类脚本,包含:nginx的访问日志、网关设备、AC设备、认证信息等等日志,都通过ftp上传到相应的服务器进行保存。---------------#!/bin/bash
#Cutanduploadnginxlog
#bycolin
#revisionon2016-02-22
########################################
#功能说明:该..
分类:
Web程序 时间:
2016-07-05 22:43:01
阅读次数:
395
脚本功能:用于分析汇总大量ping日志文件------------------#!/bin/bash
#checkpingresult
#bycolin
#on2016-06-08
########################################
#功能说明:该脚本用于分析汇总某项目在线ping日志文件
#
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sb..
分类:
系统相关 时间:
2016-07-05 22:41:34
阅读次数:
659
脚本功能:mysql库备份脚本,全备与binlog日志备份脚本可以根据指定的参数进行全备,其余时间备份binlog日志---------------#!/bin/bash
#description:TrianServerbackupdatabases
#revisionon2016-02-18
#bycolin
#
####################################
#功能说明:该脚本运..
分类:
数据库 时间:
2016-07-05 22:41:07
阅读次数:
477
I am trying to clone a repository, my OpenSSH is set up correctly and I can do everything fine in Git Bash. But when I put in the git@ address in Sour ...
分类:
其他好文 时间:
2016-07-05 17:05:53
阅读次数:
1186
一、在Windows上安装Git,从https://git-for-windows.github.io下载,安装完成后,在开始菜单里找到“Git”->“Git Bash”,蹦出一个类似命令行窗口的东西,就说明Git安装成功。安装完成后,还需要最后一步设置,
Git 全局设置:
在命令行输入:
git config –global user.name “Your Name”
git confi...
分类:
其他好文 时间:
2016-07-05 15:40:40
阅读次数:
191
bash基本特性及linux基本命令1、命令历史history环境变量:HISTSIZE:命令历史记录的条数;HISTFILE:~/.bash_history;HISTFILESIZE:命令历史文件记录历史的条数;history-dOFFSET-chistory#:显示历史中最近的#条命令;[root@master~]#history6
1003HISSIZE
1004history
1005..
分类:
系统相关 时间:
2016-07-05 06:33:24
阅读次数:
307
#刚开始直接root用户登录,在etc目录,切换到oracle,输入lsnrctlstart启动oracle时提示"lsnrctl:commandnotfound"
[root@loveyao_testetc]#suoracle
[oracle@loveyao_testetc]$lsnrctlstart
bash:lsnrctl:commandnotfound#切换回root用户,cd/根目录,再次su-oracle,输入lsnrctlsta..
分类:
数据库 时间:
2016-07-05 06:32:09
阅读次数:
198
#刚开始直接root用户登录,在etc目录,切换到oracle,输入lsnrctlstart启动oracle时提示"lsnrctl:commandnotfound"
[root@loveyao_testetc]#suoracle
[oracle@loveyao_testetc]$lsnrctlstart
bash:lsnrctl:commandnotfound#切换回root用户,cd/根目录,再次su-oracle,输入lsnrctlsta..
分类:
数据库 时间:
2016-07-05 06:31:28
阅读次数:
255
bash基本特性及linux基本命令1、命令历史history环境变量:HISTSIZE:命令历史记录的条数;HISTFILE:~/.bash_history;HISTFILESIZE:命令历史文件记录历史的条数;history-dOFFSET-chistory#:显示历史中最近的#条命令;[root@master~]#history6
1003HISSIZE
1004history
1005..
分类:
系统相关 时间:
2016-07-05 06:31:16
阅读次数:
360
在修改当前shell时,用命令: usermod -s /bin/csh home home 为 你所想要改变的用户地址 此处home 为家目录,一般自己创建的用户都会在家目录下生成用户名,亦可单独指定,如/home/idcdpi 当然修改shell亦可配置 /etc/passwd 如下: # vi ...
分类:
系统相关 时间:
2016-07-04 20:34:05
阅读次数:
10194