BeginMan
V2EX  ›  问与答

ls 显示一堆问号?????

  •  
  •   BeginMan · Dec 28, 2015 · 3967 views
    This topic created in 3823 days ago, the information mentioned may be changed or developed.

    各位看官:

    [root@xx src]# ll
    total 40
    -rw-r--r-- 1 root root    0 Dec 28 14:58 ?????????????????????????????????????????????????????????????????????????????
    -rw-r--r-- 1 root root    0 Dec 28 14:57 ?????????????????????????????????????????????????????????????????????????????????
    drwxr-xr-x 4 root root 4096 Dec 28 14:54 api
    drwxr-xr-x 2 root root 4096 Dec 28 14:55 dataprovider
    drwxr-xr-x 2 root root 4096 Dec 28 14:48 db
    -rw-r--r-- 1 root root    0 Dec 28 14:48 __init__.py
    -rw-r--r-- 1 root root  241 Dec 28 14:57 redis-live.conf
    -rwxr-xr-x 1 root root 1343 Dec 28 14:48 redis-live.py
    -rwxr-xr-x 1 root root 9800 Dec 28 14:48 redis-monitor.py
    drwxr-xr-x 2 root root 4096 Dec 28 14:48 util
    drwxr-xr-x 4 root root 4096 Dec 28 14:48 www
    -rw-r--r-- 1 root root    0 Dec 28 15:06 你好.txt
    

    何解?

    11 replies    2015-12-28 19:02:08 +08:00
    Tink
        1
    Tink  
    PRO
       Dec 28, 2015
    有一个叫?????????????????????????????????????????????????????????????????????????????????的文件
    fising
        2
    fising  
       Dec 28, 2015
    乱码或者文件名本就如此
    Strikeactor
        3
    Strikeactor  
       Dec 28, 2015
    是不是下载了中文名的东西
    Strikeactor
        4
    Strikeactor  
       Dec 28, 2015
    不对,中文能正常显示。。刚刚没看到不好意思
    holystrike
        5
    holystrike  
       Dec 28, 2015
    与 你好.txt 不同编码的中文文件名
    holystrike
        6
    holystrike  
       Dec 28, 2015
    如果全是问号????????????????????,而不是还有其他乱码字符的话,还显示编码也基本找不回来原来的名称了
    cxbig
        7
    cxbig  
       Dec 28, 2015
    0 大小的文件删了算了
    maro
        8
    maro  
       Dec 28, 2015
    中文文件解压出来的吧
    kn007
        9
    kn007  
       Dec 28, 2015
    删掉就行了,通过文件 id
    hqs123
        10
    hqs123  
       Dec 28, 2015
    ls -a 看看有什么东西
    yech1990
        11
    yech1990  
       Dec 28, 2015
    ```
    ls -i
    find ./ -inum XXXX -print -exec rm {} -rf /;
    ```
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5379 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 63ms · UTC 07:14 · PVG 15:14 · LAX 00:14 · JFK 03:14
    ♥ Do have faith in what you're doing.