摘要: 问题:为何第二个whoami打印的还是root?root@localhost /]#[root@localhost /]#[root@localhost /]# more test.sh#!/bin/bashecho "current user is $(whoami)"su - oracle <<... 阅读全文
posted @ 2015-06-18 10:08 飞雪^流星 阅读(514) 评论(0) 推荐(0) 编辑