欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Bash
来自开放百科 - 灰狐
(版本间的差异)
小 (→链接) |
|||
(未显示1个用户的2个中间版本) | |||
第1行: | 第1行: | ||
{{SeeWikipedia|Bash (Unix shell)}} | {{SeeWikipedia|Bash (Unix shell)}} | ||
− | |||
Bash is the shell, or command language interpreter, that will appear in the GNU operating system.Bash is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh). | Bash is the shell, or command language interpreter, that will appear in the GNU operating system.Bash is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh). | ||
第14行: | 第13行: | ||
STR="Hello World!" | STR="Hello World!" | ||
echo $STR | echo $STR | ||
− | + | ||
touch test.sh | touch test.sh | ||
#!/bin/bash | #!/bin/bash | ||
第26行: | 第25行: | ||
$ bash test.sh | $ bash test.sh | ||
− | [[ | + | ==链接== |
+ | *[http://ldp.huihoo.org/LDP/abs/html/index.html Advanced Bash-Scripting Guide] | ||
+ | *[https://github.com/LinuxStory/Advanced-Bash-Scripting-Guide-in-Chinese 《高级Bash脚本编程指南》Revision 10中文版] | ||
+ | |||
+ | [[category:GNU]] |
2016年1月18日 (一) 11:56的最后版本
您可以在Wikipedia上了解到此条目的英文信息 Bash Thanks, Wikipedia. |
Bash is the shell, or command language interpreter, that will appear in the GNU operating system.Bash is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh).
http://www.gnu.org/software/bash/
[编辑] BASH Programming
- BASH Programming - Introduction HOW-TO - http://ldp.huihoo.org/HOWTO/Bash-Prog-Intro-HOWTO.html
- Bash Guide for Beginners - http://ldp.huihoo.org/LDP/Bash-Beginners-Guide/html/index.html
- Bash Guide for Beginners(中文版)Bash新手指南 - http://xiaowang.net/bgb-cn/
tar -cZf /var/my-backup.tgz /home/me/ ls -l > ls-l.txt STR="Hello World!" echo $STR
touch test.sh #!/bin/bash for i in $(ls); do echo item: $i done for i in `seq 1 10`; do echo $i done $ bash test.sh
[编辑] 链接
分享您的观点