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

  • 相关阅读:
    使用.sig签名验证文件
    ubuntu server 安装nextcloud12
    centos 搭建owncloud私有云
    archlinux错误:无法提交处理 (无效或已损坏的软件包)
    Oracle数据库-建库、建表空间,建用户
    JS中几种遍历方式
    常用的正则表达式
    JavaWeb中GET请求url传参中文乱码问题
    常用的ajax方式
    table中td内容过长自动换行
  • 原文地址:https://www.cnblogs.com/stay-sober/p/4159774.html
Copyright © 2011-2022 走看看