命令帮助
[root@localhost ~]#man ps
#查看一个命令或服务的详细帮助信息
[root@localhost ~]# whatis ls
ls (1) - list directory contents
ls (1p) - list directory contents
[root@localhost ~]# which ls
#
alias ls='ls --color=auto'
/bin/ls
[root@localhost ~]# whereis ls
#查看命令或程序的相关文件安装目录
ls: /bin/ls /usr/share/man/man1p/ls.1p.gz /usr/share/man/man1/ls.1.gz
[root@bogon ~]# whoami
#查看当前用户
root
You have new mail in /var/spool/mail/root