1. linux修改系统时间
date --set "2012/07/11 15:20" (年/月/日 小时:分钟)
2. php exec返回值意义列表
Table D-1.
Exit Code Number | Meaning | Example | Comments |
---|---|---|---|
1 | Catchall for general errors | let "var1 = 1/0" | Miscellaneous errors, such as |
2 | Misuse of shell builtins (according to Bash documentation) | | Seldom seen, usually defaults to exit code |
126 | Command invoked cannot execute | | Permission problem or command is not an executable |
127 | "command not found" | | Possible problem with |
128 | Invalid argument to | exit 3.14159 | exit |
128+n | Fatal error signal | kill -9 | $? |
130 | Script terminated by Control-C | | Control-C is fatal error signal |
255* | Exit status out of range | exit | exit |
3.