id,groups
[root@CentOS6 ~]# id
uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
w, who,last
----------- history
--------------------------
cat -n
more,less,tail,head
tail -n 10 install.log 最后 10行
tail -n +10 install.log 第10行到最后一行
head -n 10 前10行
-------------------------
[root@CentOS6 ~]# which httpd
/usr/sbin/httpd
updatedb,locate
[root@CentOS6 ~]# updatedb
[root@CentOS6 ~]# locate httpd
/etc/httpd
/etc/httpd/conf
-------------------------
ip a
ifconfig
curl www.baidu.com
curl -i -v www.baidu.com
[root@CentOS6 ~]# curl -k -v www.baidu.com