摘要: 引用自:https://blog.csdn.net/dream_broken/article/details/53115770 阅读全文
posted @ 2018-06-22 16:12 Presley 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 一、$(cmd) a=$(cmd) 将括号中的命令结果赋值给a 二、${} a=123 echo "wohaoshuai${a}" 阅读全文
posted @ 2018-06-22 10:30 Presley 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/pugu12/article/details/51564857 1. set -eset命令的-e参数,linux自带的说明如下:"Exit immediately if a simple command exits with a non-zero 阅读全文
posted @ 2018-06-22 10:07 Presley 阅读(924) 评论(0) 推荐(0) 编辑
摘要: 一、rz:上传 二、sz:下载 阅读全文
posted @ 2018-06-22 09:27 Presley 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.linuxidc.com/Linux/2015-05/117774.htm 一、history 78 cd /mnt/ 79 ls 80 cd / 81 history 82 ls 83 ls /mnt/ !78 相当于执行cd /mnt !-6 也相当于执行cd /m 阅读全文
posted @ 2018-06-22 09:25 Presley 阅读(111) 评论(0) 推荐(0) 编辑