zoukankan      html  css  js  c++  java
  • linux command --- terminal common commands

    switch to root : sudo su、su root、sudo -s

    switch to users : su god(user name)

    set root password : sudo passwd root

    check out kernel version : uname -r

    generate 'config.gz' file(the compressed package of '.config') : modprobe configs

    check the current path: pwd

    enter current user root directory: cd ~

    check thread: top

    check process: ps

    kill process: kill <process number>

    check network information: ifconfig

    request URL: curl

    output the last part of files: tail -f

    print the value of environment: echo $PATH

    list all installed software: dpkg -l

    config network: ifconfig 

     display or manipulate a disk partition tablefdisk

    check mount status: df

    exit current shell: exit

    open terminal: ctrl+alt+t

    close terminal: ctrl+d

    exit current thread: ctrl+c

    copy: ctrl+insert

    paste: shift+insert

  • 相关阅读:
    杂篇章
    敲代码中遇到的小问题
    数组的运用
    java中强大的免费的集成开发环境(IDE)eclipse的使用技巧及注意事项
    流程
    博客目录
    pgk
    gogs
    github相关
    axios记录
  • 原文地址:https://www.cnblogs.com/god-of-death/p/5087588.html
Copyright © 2011-2022 走看看