摘要:
http://www.norvig.com/index.html Teach Yourself Programming in Ten Years Peter Norvig Why is everyone in such a rush? Walk into any bookstore... 阅读全文
posted @ 2011-08-26 20:08
katago
阅读(339)
评论(0)
推荐(0)
摘要:
摘自 shell 13问 好了,最后为大家介绍 $(( )) 的用途吧:它是用来作整数运算 的。 在 bash 中,$(( )) 的整数运算符号大致有这些: + - * / :分别为 "加、减、乘、除"。 % :余数运算 & | ^ !:分别为 "AND、OR、XOR、NOT" 运算。 ~ # a=1 ~ # b=2 ~ # e... 阅读全文
posted @ 2011-08-26 16:53
katago
阅读(909)
评论(0)
推荐(0)
摘要:
root@james-desktop:~# help : :: : Null command. No effect; the command does nothing. Exit Status: Always succeeds. ~ # : sdafsadf ~ # ~ # echo sdfsadf sdfsad... 阅读全文
posted @ 2011-08-26 11:17
katago
阅读(888)
评论(0)
推荐(0)
摘要:
help命令可以查看帮助 help test 正确做法: #!/bin/sh STRING= if [ -z "$STRING" ]; then echo "STRING is empty" fi if [ -n "$STRING" ]; then echo "STRING is not empty" fi root@jam... 阅读全文
posted @ 2011-08-26 10:44
katago
阅读(184098)
评论(1)
推荐(2)

浙公网安备 33010602011771号