zoukankan      html  css  js  c++  java
  • 随手

    wc 统计字节时,行的结束符算1个,中文算3个。

    乱码文件,删节点

    [root@centos1 opt]# ls
    2345+?+???+?.url 2345+?+?????.url bugfree3.0.1 bugfree.zip lampp xampp-linux-1.8.3-3-installer.run
    [root@centos1 opt]# ll -i
    总用量 125712
    670550 -rw-r--r-- 1 root root 225 6月 26 2012 2345+?+???+?.url
    670551 -rw-r--r-- 1 root root 235 6月 26 2012 2345+?+?????.url
    670552 drwxr-xr-x 8 root root 4096 12月 31 2011 bugfree3.0.1
    670548 -rw-r--r-- 1 root root 5032944 12月 11 19:50 bugfree.zip
    654295 drwxr-xr-x 30 root root 4096 12月 11 19:49 lampp
    654294 -rwxrwxr-x 1 root root 123675606 12月 11 19:43 xampp-linux-1.8.3-3-installer.run
    [root@centos1 opt]# find . -inum 670550 -exec rm {} -rf ;
    [root@centos1 opt]# find . -inum 670551 -exec rm {} -rf ;
    [root@centos1 opt]# ll -i
    总用量 125704
    670552 drwxr-xr-x 8 root root 4096 12月 31 2011 bugfree3.0.1
    670548 -rw-r--r-- 1 root root 5032944 12月 11 19:50 bugfree.zip
    654295 drwxr-xr-x 30 root root 4096 12月 11 19:49 lampp
    654294 -rwxrwxr-x 1 root root 123675606 12月 11 19:43 xampp-linux-1.8.3-3-installer.run
    [root@centos1 opt]#

    看进程-pid :::ps -aux | grep mysql

    看端口号 :::netstat -anp|grep 3411

    netstat -anp|grep mysql

    [root@redhat95242 ~]# lsof -i :14191
    COMMAND  PID USER  FD  TYPE DEVICE SIZE NODE NAME
    vcsauthse 31863 root  18u  IPv6 634454  TCP *:14191 (LISTEN)

    ps –aux::

    ps –ef:::

    find /etc -type f -iname 'eth*'

    ifconfig eth0 down
    curl www.baidu.com
    nm-tool

    sysctl

  • 相关阅读:
    Apache虚拟主机(VirtualHost)配置
    LAMP源码安装
    SUSE上配置SAMBA服务
    Linux下安装或升级Python 2.7
    HTML5,CSS3,JS绘制饼图
    Single Number
    Reverse Words in a String
    C++控制台日历
    百度JS破盗链
    腾讯前端突击队Ⅱ
  • 原文地址:https://www.cnblogs.com/stay-sober/p/4159774.html
Copyright © 2011-2022 走看看