1. $^O 操作系统的类型: like: linux solaris etc
2. $> script 运行的用户UID
3. perldoc -l Data::Dumper check where is the module Dumper is
4. $output=~tr/A-Z/a-z/ 大写转换成小写
5. mkdir $LOGDIR, oct(777); mkdir of $LOGDIR and set to 777 (no overwrite if exist)
6. grep (do { chomp; s/^([^=]+)=(.*)$/$ENV{$1}=$2/e},`. ${envscript}; env`);
to be explained later
7.
阅读(960) | 评论(1) | 转发(0) |