首页 > 其他 > 详细

RedHat 自定义用户环境

时间:2015-09-30 01:12:54      阅读:214      评论:0      收藏:0      [点我收藏+]

自定义用户环境 

[root@localhost ~]# vim /etc/bashrc


最后一行加入 alias qstat=‘/bin/ps -Ao pid‘

fi
# vim:ts=4:sw=4
  alias qstat=‘/bin/ps -Ao pid‘

:wq保存退出


[root@localhost ~]# source /etc/bashrc   

执行qstat命令

[root@localhost ~]# qstat
   PID
     1
     2
     3
     5
     7
     8
     9
    10
    11
    12
    13
    14





本文出自 “liunx” 博客,谢绝转载!

RedHat 自定义用户环境

原文:http://centers.blog.51cto.com/10640901/1699272

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!