![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shell
dingtao7890
这个作者很懒,什么都没留下…
展开
-
shell将多行文本重定向到文件
在shell中,使用Here Document方式将文本重定向到文件,格式如下: ( cat << EOF 要写的文本 EOF ) > 目标文件 示例test.sh: #! /bin/sh ( cat << EOF { "warehouse":"$1", "ipaddr": "$2", "bindaddr": "$2:9995", "repopath": ".原创 2016-12-08 20:17:35 · 7370 阅读 · 0 评论 -
wget断点续传和限速
wget断点续传和限速wget 断点续传和限速: 1. -c为断点续传 2. –limit-rate 为限速 wget -c --limit-rate=9m -P /data0/ 10.93.107.38:8004/pcap38.tar原创 2016-12-21 15:34:58 · 5937 阅读 · 0 评论