摘要: 问题描述:1.传入path没有效果,但是print path 明明有值:(显示为'/root/test')2. for root, dirs, files in os.walk('/root/test'):又是可以的问题解决:看不出任何问题,后来突然发现我传入... 阅读全文
posted @ 2018-05-08 23:49 韧小钊 阅读(253) 评论(0) 推荐(0)
摘要: 1.判断终端是csh还是bash: 终端命令:env 直接执行:echo $SHELL 可以直接看出当前使用的shell2.更改shell设置: 终端命令:chsh -s /bin/bash 执行完退出重新登录,更改生效 阅读全文
posted @ 2018-05-08 23:31 韧小钊 阅读(524) 评论(0) 推荐(0)