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

    解决方法:

  • 相关阅读:
    枚举与常量需要注意的一个问题
    parted分区用法
    Linux下常用服务的端口号
    NFS服务
    mount用法
    Rsync服务部署
    常见的RAID级别
    SQL注入语句 (很全)
    数据库被注入daxia123或cn.jxmmtv.com原因及解决办法
    StringTemplate.net模板技术用法
  • 原文地址:https://www.cnblogs.com/yunlongaimeng/p/9406109.html
Copyright © 2011-2022 走看看