摘要: The pushd command saves the current working directory in memory so it can be returned to at any time, optionally changing to a new directory. The popd... 阅读全文
posted @ 2015-06-23 15:50 yeddatian 阅读(408) 评论(0) 推荐(0) 编辑
摘要: 在Linux系统上操作的时候,如果某些命令需要root权限才能执行,我们需要切换到root用户,这时我们有两种方法。第一种: 直接切换到root用户,执行该命令。该命令不仅把用户身份切换为root,也把工作环境切换到了root。su - 与 su - root是同样的功能[fedora@dhcp-1... 阅读全文
posted @ 2015-06-10 10:35 yeddatian 阅读(611) 评论(0) 推荐(0) 编辑