zoukankan      html  css  js  c++  java
  • find: 路径必须在表达式之前:

    python@ubuntu:~/Desktop/test$ ls
    11.txt 123.txt 12.txt 13.txt 223.txt 323.txt
    python@ubuntu:~/Desktop/test$ find ./ -name 1*
    find: 路径必须在表达式之前: 123.txt
    用法: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec|time] [path...] [expression]
    python@ubuntu:~/Desktop/test$ ls
    11.txt 123.txt 12.txt 13.txt 223.txt 323.txt
    python@ubuntu:~/Desktop/test$ find . -name 1*
    find: 路径必须在表达式之前: 123.txt
    用法: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec|time] [path...] [expression]
    python@ubuntu:~/Desktop/test$ find -name 1*
    find: 路径必须在表达式之前: 123.txt
    用法: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec|time] [path...] [expression]
    python@ubuntu:~/Desktop/test$ find -name 1*
    find: 路径必须在表达式之前: 123.txt
    用法: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec|time] [path...] [expression]
    python@ubuntu:~/Desktop/test$ find . -name 1*
    find: 路径必须在表达式之前: 123.txt
    用法: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec|time] [path...] [expression]
    python@ubuntu:~/Desktop/test$ find ./ -name 1*
    find: 路径必须在表达式之前: 123.txt
    用法: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec|time] [path...] [expression]
    python@ubuntu:~/Desktop/test$ cd ..

    解决方法:

  • 相关阅读:
    joomla
    笨兔兔的故事(下)
    wine乱码
    笨兔兔的故事(中)
    gedit中文乱码
    php不常用函数
    android配置开发环境ubuntu
    笨兔兔的故事(上)
    关于linux编码
    linux常用命令小记
  • 原文地址:https://www.cnblogs.com/yunlongaimeng/p/9406109.html
Copyright © 2011-2022 走看看