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 ..

    解决方法:

  • 相关阅读:
    一天一个shell实例(1)文本中n个出现频率最高的单词(转)
    JNDI全攻略(一)(转)
    JNDI 学习(转)
    JNDI全攻略(二)(转)
    C#开发系列 文章索引
    AppControls
    JSF系列 文章索引
    [转载]DELPHI组件安装全攻略
    什么是有价值的人生
    [转载]InnoSetup5.2.3啊风增强版 安装代码
  • 原文地址:https://www.cnblogs.com/yunlongaimeng/p/9406109.html
Copyright © 2011-2022 走看看