05 2018 档案

摘要:Linux的变量种类按变量的生存周期来划分,Linux变量可分为两类永久的:需要修改配置文件,变量永久生效临时的:使用export命令行声明即可,变量在关闭shell时失效。 1.设置环境变量时,export只对当前登录bash登录session有用,放在内存中。$ export TEMP_KEVI 阅读全文
posted @ 2018-05-31 15:35 year12 阅读(207) 评论(0) 推荐(0)
摘要:时间05/31 环境red hat 7.0 执行halt, 提示必须是root. 改用poweroff关机,成功断电,对三者产生百度的兴趣。。。 shutdown实际上是调用init 0, init 0会cleanup一些工作然后调用halt或者poweroff。其实主要区别是halt和powero 阅读全文
posted @ 2018-05-31 10:26 year12 阅读(6632) 评论(0) 推荐(0)
摘要:1、 show processlist; 2、select * from information_schema.innodb_trx\G 3、SELECT user, host, time, command, state,left(info,4000) FROM information_schema 阅读全文
posted @ 2018-05-30 15:52 year12 阅读(314) 评论(0) 推荐(0)
摘要:$string = '{"tmallDelivery":"true","3plTiming":"false","deliveryCps":24}';$t = json_encode($string);$t = json_decode($t);var_dump($t);if($t->tmallDeli 阅读全文
posted @ 2018-05-18 15:11 year12 阅读(417) 评论(0) 推荐(0)