摘要: 如下使用tee命令在屏幕上看见输出并同样写入到日志文件my.log中: [root@localhost home]# top |tee my.log tee可以保证你同时在屏幕上看到top的输出并写入文件 my.log。 阅读全文
posted @ 2016-04-14 21:30 maxomnis 阅读(384) 评论(0) 推荐(0) 编辑
摘要: 1 var; 10 } 11 } 12 13 14 15 $instance = new SimpleClass(); 16 17 $assigned = $instance; 18 $reference =& $instance; 19 20 $assigned->var = "aaaaaaa"; 21 22 $assigned = null; 23 24 v... 阅读全文
posted @ 2016-04-14 17:34 maxomnis 阅读(169) 评论(0) 推荐(0) 编辑