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

    解决方法:

  • 相关阅读:
    Linux操作系统的介绍和安装教程(Centos6.4)
    通过漫画轻松掌握HDFS工作原理
    2018HUAS_ACM暑假比赛5题解
    codeforces #271D Good Substrings
    jQuery插件开发
    面试题及答案
    知乎日报 API 分析
    CSS值自动转REM的Sublime Text插件
    Sublime Text3常用插件以及安装方法(实用)
    移动开发的坑
  • 原文地址:https://www.cnblogs.com/yunlongaimeng/p/9406109.html
Copyright © 2011-2022 走看看