11 2016 档案
linux shell for循环使用命令中读取到的值实例
摘要:#!/bin/bash file="states" for state in `cat $file` do echo "Visit beautiful $state" done 阅读全文
posted @ 2016-11-27 21:41 baraka 阅读(2926) 评论(0) 推荐(0)
linux shell 读取for循环中出现难处理的数据之单引号错误实例
摘要:原语句: #!/bin/bash for test in I don't know if this'll work do echo "work:$test" done 结果: work:I work:dont know if thisll work:work 改成后语句: #!/bin/bash f 阅读全文
posted @ 2016-11-27 21:31 baraka 阅读(609) 评论(0) 推荐(0)
linux ssh和scp实例
摘要:ssh 192.160.1.100 -p 40012 scp user 192.169.72.2:/ scp -i /id_rsa -P40027 root@221.212.235.17:/sdzw/ramdisk/ftp/data/sdzw/url/* /home/sdzw/data_1121 s 阅读全文
posted @ 2016-11-22 10:41 baraka 阅读(339) 评论(1) 推荐(0)
qt纯c++编程增加多线程支持库
摘要:.pro + LIBS += -lpthread 阅读全文
posted @ 2016-11-19 11:30 baraka 阅读(225) 评论(0) 推荐(0)