zoukankan      html  css  js  c++  java
  • 测试必知150个常用Linux命令,已为各位筛选整理

    ●线上查询及帮助命令(1 个)
    help   如:mkdir --help
     
    ●文件和目录操作命令(12 个) 
      ls tree pwd mkdir rmdir cd touch cp mv rm ln find  
     
    ●查看文件及内容处理命令(21 个) 
    cat tac more less head tail cut split paste sort uniq wc iconv dos2unix file diff vimd ff chattr lsattr rev grep  
     
    ●文件压缩及解压缩命令(4 个) 
     
    tar unzip gzip zip 
     
    ●信息显示命令(12 个)
    uname hostname dmesg uptime file stat du df top free date cal 
     
    ●搜索文件命令(4 个)
    which find whereis locate  
     
    ●用户管理命令(10 个) 
    useradd usermod userdel groupadd passwd chage id su visudo sudo 
     
    ●基础网络操作命令(10 个) 
    telnet ssh scp wget ping route ifconfig ifup ifdown netstat  
     
    ●深入网络操作命令(6 个)
    lsof route mail mutt nslookup dig  
     
    ●有关磁盘文件系统的命令(8 个)
      mount umount df du fsck dd dumpe2fs dump
     
    ●关机和查看系统信息的命令(3个)
    shutdown halt init 
     
    ●系统管理相关命令(8个)
      uptime top free vmstat mpstat iostat sar chkconfig 
     
    ●系统安全相关命令(10 个)
      chmod chown chgrp chage passwd su sudo umask chattr lsattr  
     
    ●查看系统用户登陆信息的命令(7 个)
      whoami who w last lastlog users finger
     
    ●查看硬件信息相关命令(8 个) 
      ifconfig free fdisk ethtool mii-tool dmidecode dmesg lspci 
     
    ●其它(19 个)
      echo printf rpm yum watch alias unalias date clear history eject time nohup nc xargs exec export unset type  
     
    ●系统性能监视高级命令(12 个) 
      内存:top free vmstat mpstat iostat sar 
      CPU:top vmstat mpstat iostat sar
      I/O:vmstat mpstat iostat sar 
      进程:ipcs ipcrm lsof strace lstrace 
      负载:uptime mount umount df du fsck dd dumpe2fs dump  
     
    ●关机和查看系统信息的命令(3 个)
      shutdown halt init 
     
    ●系统管理相关命令(8 个)
      uptime top free vmstat mpstat iostat sar chkconfig  
     
    ●系统安全相关命令(10 个)
      chmod chown chgrp chage passwd su sudo umask chattr
  • 相关阅读:
    03_ if 练习 _ little2big
    uva 11275 3D Triangles
    uva 12296 Pieces and Discs
    uvalive 3218 Find the Border
    uvalive 2797 Monster Trap
    uvalive 4992 Jungle Outpost
    uva 2218 Triathlon
    uvalive 3890 Most Distant Point from the Sea
    uvalive 4728 Squares
    uva 10256 The Great Divide
  • 原文地址:https://www.cnblogs.com/zhichao123/p/11299847.html
Copyright © 2011-2022 走看看