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
[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
相关文章推荐
- 网易云音乐8亿用户背后的伤疤
- 谷歌正式开始补偿Nexus 6P重启门和电池门用户:最高赔400美元
- windows server域用户提升到本地更高权限组中的方法
- 管理 Linux 系统中的用户
- 个人用户防黑指南
- SQL Server提示"选定的用户拥有对象,所以无法除去该用户”
- PowerShell查看进程的所属用户
- C#创建windows系统用户的方法
- MongoDB系列教程(四):设置用户访问权限
- 如何实现只授予用户查看存储过程定义的权限
- 用户的详细注册和判断
- Oracle 添加用户并赋权,修改密码,解锁,删除用户的方法
- SQL Server"错误 21002: [SQL-DMO]用户 * 已经存在问题解决
- mysql误删root用户恢复方法
- C#实现判断当前操作用户管理角色的方法
- php+mysql实现用户注册登陆的方法
- oracle创建删除用户示例分享(oracle删除用户命令及授权)
- php实现的用户查询类实例
- php后台如何避免用户直接进入方法实例
- Windwos服务器远程桌面限制用户使用同一个会话的3种设置方法