Home
|
简体中文
|
繁体中文
|
杂文
|
Search
|
ITEYE 博客
|
OSChina 博客
|
Facebook
|
Linkedin
|
作品与服务
|
Email
第 18 章 Bash Shell
上一页
部分 II. Shell
下一页
第 18 章 Bash Shell
目录
18.1. bash - GNU Bourne-Again SHell
18.1.1. -n 检查脚本是否有语法错误
18.1.2. -x 显示详细运行过程
18.2. Introduction
18.2.1. chsh - change login shell
18.2.2. test 命令
18.2.3. I/O 重定向
18.2.3.1. error 重定向
18.2.3.2. 使用块记录日志
18.2.3.3. tee - read from standard input and write to standard output and files
18.2.3.4. 创建文件
18.2.3.5. 快速清空一个文件的内容
18.2.4. pipes (FIFOs)
18.2.5. mktemp - create a temporary file or directory 临时目录与文件
18.2.6. History 命令历史记录
18.2.6.1. .bash_history
18.2.6.2. .mysql_history
18.2.7. hash - hash database access method
18.2.8. prompt
18.3. variable
18.3.1. 表达式
18.3.2. Internal Environment Variables
18.3.3. set 设置变量
18.3.4. unset 变量销毁
18.3.5. 设置变量默认值
18.3.6. export 设置全局变量
18.3.7. declare
18.3.8. 系统变量
18.3.9. Numerical 数值运算
18.3.10. Strings 字符串操作
18.3.10.1. ##/#
18.3.10.2. %%/%
18.3.10.3. :n1:n2
18.3.10.4. #
18.3.10.5. example
18.3.10.6. 计算字符串长度
18.3.10.7. 字符串查找替换
18.3.11. Array 数组
18.3.11.1. 拆分字符串并转换为数组
18.3.11.2. 数组转为字符串
18.3.12. eval
18.4. conditions if and case
18.4.1. if
18.4.2. case
18.5. Loops for, while and until
18.5.1. for
18.5.2. while
18.5.3. until
18.6. Functions
18.6.1. Local variables
18.7. User interfaces
18.7.1. input
18.8. Example
18.8.1. 有趣的Shell
18.8.2. backup
18.8.3. CPU 核心数
18.8.4. Password
18.8.5. processes
18.8.5.1. pid
18.8.5.2. kill
18.8.5.3. pgrep
18.8.6. Shell 技巧
18.8.6.1. 行转列,再批评
18.8.6.2. for vs while
18.8.6.3. 遍历字符串
18.8.7. to convert utf-8 from gb2312 code
18.8.8. 使用内存的百分比
18.8.9. 合并apache被cronlog分割的log文件
18.1. bash - GNU Bourne-Again SHell
18.1.1. -n 检查脚本是否有语法错误
18.1.2. -x 显示详细运行过程
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus