2013年(24)
发布时间:2013-04-15 23:26:39
1. The exit command terminates a script. It can also return a value, which is available to the script's parent process.2. $? reads the exit status of the last command executed. After a function returns, $? gives the exit status of the last command executed in the function. Following the execution o.........【阅读全文】
发布时间:2013-04-09 00:23:51
1. Note that $variable is actually a simplified form of ${variable}.2. An uninitialized variable has no value, however it acts as if it were 0 in an arithmetic operation. This is undocumented (and probably non-portable) behavior, and should not be used in a script.(P31)3. 此处a的值为21,使用let对.........【阅读全文】
发布时间:2013-04-04 21:54:53
# Comments; Command separator [semicolon];; Terminator in a case option [double semicolon];;.........【阅读全文】