随笔分类 -  linux

摘要:参考:https://blog.csdn.net/zhaoyue007101/article/details/7699259 阅读全文
posted @ 2018-07-18 16:41 lvlin241 阅读(1820) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-07-15 13:26 lvlin241 阅读(146) 评论(0) 推荐(0) 编辑
摘要:参考:http://blog.chinaunix.net/uid-22823163-id-3295220.html 阅读全文
posted @ 2018-07-15 13:23 lvlin241 阅读(280) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/yecao8888/p/6364830.html 阅读全文
posted @ 2018-07-15 13:21 lvlin241 阅读(358) 评论(0) 推荐(0) 编辑
摘要:参考: https://stackoverflow.com/questions/7389416/postgresql-how-to-pass-parameters-from-command-line https://blog.csdn.net/dazuiba008/article/details/7 阅读全文
posted @ 2018-07-08 16:18 lvlin241 阅读(4888) 评论(0) 推荐(0) 编辑
摘要:mysql, shell脚本中执行sql脚本并传递参数 阅读全文
posted @ 2018-07-08 16:03 lvlin241 阅读(14111) 评论(0) 推荐(0) 编辑
摘要:1、sql脚本(t.sql) 2、shell脚本(a.sh 为方便说明,a.sh与t.sql在同一目录下) 说明:3种执行方式,后两行也可以(已注释,感兴趣可以尝试下) #!/bin/sh mysql -u root < t.sql# mysql -u root -e "source t.sql"# 阅读全文
posted @ 2018-07-08 15:17 lvlin241 阅读(10613) 评论(0) 推荐(0) 编辑
摘要:1、mysql 数据库表信息 2、shell脚本(a.sh)信息 3、执行 ./a.sh 4、 执行结果 阅读全文
posted @ 2018-07-08 15:06 lvlin241 阅读(9279) 评论(0) 推荐(0) 编辑
摘要:(a.sh)读取用户输入参数,并在脚本(b.sh)中使用 1、a.sh 2、b.sh(这里把b.sh与a.sh放在同一目录下,便于演示) 3、 执行 4、执行结果 阅读全文
posted @ 2018-07-08 14:45 lvlin241 阅读(227) 评论(0) 推荐(0) 编辑
摘要:1、a.sh 2、b.sh(这里把b.sh与a.sh放在同一目录下,便于演示) 3、 执行 4、执行结果 阅读全文
posted @ 2018-07-08 14:30 lvlin241 阅读(672) 评论(0) 推荐(0) 编辑
摘要:1. 点击 设置 图标 2. 选择 UTF-8 3. 重启xshell即可 阅读全文
posted @ 2018-03-16 10:27 lvlin241 阅读(710) 评论(2) 推荐(0) 编辑