shell day01 : Shell概述 编写及执行脚本 、 Shell变量
生活随笔
收集整理的這篇文章主要介紹了
shell day01 : Shell概述 编写及执行脚本 、 Shell变量
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1, 查看shell解釋器
[root@ycz ~]# cat /etc/shells? /bin/sh /bin/bash /usr/bin/sh /usr/bin/bash /bin/tcsh /bin/csh?
2, 清空已記錄的歷史命令
[root@svr5 ~]# history -c //清空自己的歷史命令[root@svr5 ~]# > ~/.bash_history //清空記錄文件[root@svr5 ~]# history //再次檢查歷史命令列表42 > ~/.bash_history43 history?
總結
以上是生活随笔為你收集整理的shell day01 : Shell概述 编写及执行脚本 、 Shell变量的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 服务器常用shell巡检脚本
- 下一篇: linux 系统打造man中文帮助手册图