您的位置:首页 > 其它

RedHat 自定义用户环境

2015-09-29 18:22 183 查看
自定义用户环境
[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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  用户