Home
|
简体中文
|
繁体中文
|
杂文
|
Github
|
知乎专栏
|
Facebook
|
Linkedin
|
Youtube
|
打赏(Donations)
|
About
第 19 章 Bash Shell
上一页
部分 II. Shell
下一页
知乎专栏
第 19 章 Bash Shell
目录
19.1. bash - GNU Bourne-Again SHell
19.1.1. -n 检查脚本是否有语法错误
19.1.2. -x 显示详细运行过程
19.2. 切换身份
19.3. I/O 重定向
19.3.1. stdout
19.3.2. error 重定向
19.3.3. 使用块记录日志
19.3.4. test - 条件判断命令
19.3.5. tee - read from standard input and write to standard output and files
19.3.6. 创建文件
19.3.7. 快速清空一个文件的内容
19.4. pipes (FIFOs)
19.5. mktemp - create a temporary file or directory 临时目录与文件
19.6. History 命令历史记录
19.6.1. .bash_history
19.6.2. 清理历史记录
19.6.3. .mysql_history
19.7. hash - hash database access method
19.8. prompt
19.9. 变量 variable
19.9.1. 系统变量
19.9.2. 表达式
19.9.3. Internal Environment Variables
19.9.4. set 设置变量
19.9.5. unset 变量销毁
19.9.6. 设置变量默认值
19.9.7. export 设置全局变量
19.9.8. declare
19.9.9. Numerical 数值运算
19.9.10. Strings 字符串操作
19.9.11. Array 数组
19.9.12. read 赋值多个变量
19.9.13. eval
19.9.14. typeset
19.9.15. envsubst - substitutes environment variables in shell format strings
19.10. conditions if and case
19.10.1. if
19.10.2. case
19.11. Loops for, while and until
19.11.1. for
19.11.2. while
19.11.3. until
19.12. Functions
19.12.1. Local variables
19.13. User interfaces
19.13.1. input
19.14. subshell
19.15. Help Commands
19.15.1. man - an interface to the on-line reference manuals
19.16. getconf - Query system configuration variables
19.17. 快捷键
19.17.1. 命令行编辑命令
19.17.2. 重新执行命令快捷键
19.17.3. 终端控制快捷键
19.17.4. Bang (!) 命令
19.18. chsh - change login shell
19.19. 执行程序返回值
19.20. Z Shell
19.20.1. installing Z shell
19.20.2. Oh My ZSH!
19.20.3. Starting file
19.20.4. Prompting
19.20.5. Aliases
19.20.6. History
19.20.7. FAQ
19.21. Berkeley UNIX C shell (csh)
19.21.1.
19.22. KornShell
19.22.1.
19.23. fish shell
19.23.1. 安装 fish shell
19.23.2. 配置 fish
19.23.3. 环境变量
19.24. 有趣的 Shell 应用
19.24.1. Ascii 星球大战电影
19.24.2. 天气预报
19.24.3. htop - interactive process viewer
19.24.4. elinks
19.24.5. chat
19.25. Example
19.25.1. 有趣的Shell
19.25.2. backup
19.25.3. CPU 核心数
19.25.4. Password
19.25.5. processes
19.25.6. Shell 技巧
19.25.7. to convert utf-8 from gb2312 code
19.25.8. 使用内存的百分比
19.25.9. 合并apache被cronlog分割的log文件
19.25.10. Linux 交集 差集 并集
19.1. bash - GNU Bourne-Again SHell
19.1.1. -n 检查脚本是否有语法错误
19.1.2. -x 显示详细运行过程