摘要: 在windows下新建的sh文件,copy到linux下有的会报错,一般是格式问题。 使用vim进行一下文件格式fileformat转换 可使用fileformat或简写ff set ff 或 set ff? #显示当前文件格式 set fileformat=unix 或 set ff=unix # 阅读全文
posted @ 2020-10-22 16:23 rjm123456 阅读(348) 评论(0) 推荐(0) 编辑
摘要: crontab 定时环境crontab -l 查看crontab -e 编辑10 7,8,9 * * * sh /app/dcol/markit/markit/markit.sh shell 脚本跑python 脚本#!/bin/bashsource ~/.bash_profiledata_date 阅读全文
posted @ 2020-10-22 16:21 rjm123456 阅读(57) 评论(0) 推荐(0) 编辑
摘要: shell 模板#/bin/shprocessl=`sqlplus -s dcm/dcm@215.8.7:11521/dcsdb<<E0FINSERT INTO T1 () VALUSES();COMMIT;EXIT;EOF` process2=`sqlplus -s dcm/dcm@215.8.7 阅读全文
posted @ 2020-10-22 12:03 rjm123456 阅读(79) 评论(0) 推荐(0) 编辑
摘要: sftp zygf@xxx.xxx.xxx.xxx 进行登录(zygf为用户名) bye 退出sftpcd change your remote working directoryclear clear screenexit 退出sftpexplore 浏览本地目录 get 下载help give 阅读全文
posted @ 2020-10-22 11:57 rjm123456 阅读(632) 评论(0) 推荐(0) 编辑