回顾 命令: history pwd cd ls -alt (ll) touch vi cat/head/tail/more/less cp mv rm(-rf) mkdir tail -f xxx.log |grep Err
打包压缩命令: tar zip
tar -c(z)vf target.tar(.gz) src1 src2 … c—create v–verbose
tar -x(z)vf target.tar(.gz) x—eXtract
zip target.zip src1 src2 …
unzip target.zip
改变权限 chmod 文件(夹)权限Read Write eXecute
三种角色: 文件所有者(u) 组内用户(g) 其他用户(o)
000b=0 001b=1 010b=2 … 101b=5 111b=7 16进制
用户管理(IT 运维, 了解)
网络管理
命令 ifconfig(ipconfig) ping 探测三层ip层网络连接 netstat 查看传输层连接情况 http应用层 看进程
What is important are basics.
进程管理 资源管理(windows 任务管理器)
命令: top ps kill free df
yum安装
命令 yum -y (遇到提示信息输入yes) install/search/update/remove zip/unzip/less/tree
Localhost 域名 对应 127.0.0.1 本机loopback ip地址