命令说明 $ type cmd # 获取命令类型 $ which cmd # 命令的位置 $ help cmd / cmd --help / man cmd # 获取命令帮助 $ whatis cmd # 命令描述信息 Linux – filesystem path notation Notation Desc / the root directory . the current working directory .. the parent directory (i.e. one direct…
一.文件和目录.(文件目录的增删改查) ls pwd cd mkdir touch rmdir ln dd rm cp mv nl cat tac more less head tail stat ########################################### grep awk sed find locate which whereis wc ############################################ df du mount umount f…
一.vmstat1.命令示例#vmstat 5每5秒输出一次 2.输出详解procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------ r b swpd free buff cache si so bi bo in cs us sy id wa st 0 0 168 2226204 538428 11535444 0 0 1 30 0 0 7 1 91 1 0 1 0 168 2210472 5…
linux上安装: tar zxvf lsof_4.76.tar.gz cd lsof_4.76 ls 00.README.FIRST_4.76 lsof_4.76_src.tar.gz README.lsof_4.76 lsof_4.76_src.tar.sig RELEASE.SUMMARY_4.76 gunzip lsof_4.76_src.tar.gz cd lsof_4.76_src ls 00CREDITS 00PORTING arg.c dlsof.h dproto.h lsof…