zoukankan      html  css  js  c++  java
  • Linux系统常用的命令

    1、查看本机IP地址:ifconfig

    2、查看当前所在路径:pwd

    3、查看指定名称线程:ps -ef | grep tomcat

    4、查看当前目录结构:ll 或者 ls

    5、杀死指定线程:kill -9 8080

    6、文件的解压:tar -zxvf fileName.tar.gz

    7、建立软连接:ln -s /path1/file /path2/file

    8、建立硬链接:ln /path3/file /path4/file

    9、动态查看文件后10行:tail -f /path/file

    10、关闭mysql:service mysqld stop 或者 /etc/init.d/mysqld stop

    11、查看Linux版本:uname -m

    12、创建文件夹:mkdir fei

    13、删除文件、文件夹:rm -rf fei

  • 相关阅读:
    CCF201604试题
    CCF201512试题
    CCF201509试题
    CCF201509试题
    CCF201503试题
    CCF201503试题
    CCF201412试题
    CCF201412试题
    CCF201409试题
    CCF201409试题
  • 原文地址:https://www.cnblogs.com/luckyjcx/p/12269660.html
Copyright © 2011-2022 走看看