zoukankan      html  css  js  c++  java
  • Linux常用命令大全,常用命令总结

    转载自joshua317博客 https://www.joshua317.com/article/14

    本文只是对一些常用的命令进行汇总,具体使用方法,自行查询

    1.文件及目录操作命令

    touch
    mkdir
    rmdir
    rm
    vim/vi
    tree
    cat
    tail
    head
    more
    less
    find
    mv
    cp
    scp
    cd
    ls
    pwd
    grep
    ln
    

    2.磁盘

    df
    du
    fdisk
    mkfs
    fsck
    mount
    umount
    

    3.内存+cpu+I/O+进程+负载

    top
    vmstat
    mpstat 
    iostat
    chkconfig
    sar
    free
    ps
    kill
    killall
    

    4.网络相关命令

    ifconfig
    ping
    telnet
    netstat
    traceroute
    dig
    nslookup
    host
    hostname
    route
    arp
    ethtool
    mii-tool
    service
    ftp
    tcpdump 
    udpmt
    ssh
    iptables
    ipfstat
    wget
    curl
    

    5.系统常用命令

    which
    who
    whoami
    whereis
    locate
    uname
    man
    echo
    printf
    watch
    alias
    unalias
    date
    clear
    history
    time
    nohup
    xargs
    exec
    export
    unset
    type
    wc
    shutdown
    halt
    init
    

    6.系统安全

    useradd
    usermod 
    userdel 
    groupadd
    groupdel
    groups
    chmod
    chown
    chgrp
    chage
    passwd
    su
    sudo
    umask
    chattr
    

    7.安装及解压缩

    yum
    rpm
    apt-get
    tar
    gzip
    gunzip
    zip
    unzip
    bzip2
    bunzip2
    compress
    uncompress 
    
  • 相关阅读:
    前端-----盒子模型
    跨域
    DRF的分页
    DRF的权限和频率
    DRF 版本和认证
    DRF的视图和路由
    APIView和View的区别
    Serializers序列化组件
    RESTful
    Vuex以及axios
  • 原文地址:https://www.cnblogs.com/joshua317/p/14760446.html
Copyright © 2011-2022 走看看