摘要: 1. 连接ftp服务器格式:ftp [hostname| ip-address]a)在linux命令行下输入:ftp192.168.1.1b)服务器询问你用户名和密码,分别输入用户名和相应密码,待认证通过即可。2. 下载文件下载文件通常用get和mget这两条命令。a) get 格式:get [re... 阅读全文
posted @ 2014-05-28 18:22 寻何 阅读(18145) 评论(0) 推荐(0) 编辑
摘要: Date.prototype.format =function(format){var o = {"M+" : this.getMonth()+1, //month"d+" : this.getDate(), //day"h+" : this.getHours(), //hour"m+" : thi... 阅读全文
posted @ 2014-05-28 17:44 寻何 阅读(119) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bashDBBACKDIR="/home/oracle/fm/fm_backup" #数据库数据本机存放位置,根据情况自行修改LOGDIR="/home/oracle/fm/fm_backup/LOG.txt" #简单日志输出#检查备份目录是否存在和是否有读写权限if [ -f "$L... 阅读全文
posted @ 2014-05-28 14:56 寻何 阅读(714) 评论(0) 推荐(0) 编辑
摘要: cron是一个linux下的定时执行工具,可以在无需人工干预的情况下运行作业。由于Cron 是Linux的内置服务,但它不自动起来,可以用以下的方法启动、关闭这个服务: 1.cron的启动/sbin/service crond start //启动服务/sbin/service crond stop... 阅读全文
posted @ 2014-05-28 14:50 寻何 阅读(270) 评论(0) 推荐(0) 编辑