郁闷了今天进行如下的查询居然报告错误,
[root@localhost /]# find /root/ -name *.txt
find: paths must precede expression
Usage: find [-H] [-L] [-P] [path...] [expression]
[root@localhost /]#
进行查找资料,多文件的查找的时候需要增加单引号
[root@localhost /]# find /root/ -name '*.txt'
/root/.mozilla/firefox/5w8zmvga.default/cookies.txt
/root/tomcat7.0/aa.txt
/root/tomcat7.0/apache-tomcat-7.0.11/logs/localhost_access_log.2011-04-13.txt
/root/tomcat7.0/apache-tomcat-7.0.11/logs/localhost_access_log.2011-04-21.txt
/root/tomcat7.0/apache-tomcat-7.0.11/logs/localhost_access_log.2011-04-22.txt
/root/tomcat7.0/apache-tomcat-7.0.11/RUNNING.txt
/root/tomcat7.0/apache-tomcat-7.0.11/webapps/docs/RUNNING.txt
/root/tomcat7.0/apache-tomcat-7.0.11/webapps/docs/appdev/sample/docs/README.txt
/root/tomcat7.0/apache-tomcat-7.0.11/webapps/docs/appdev/build.xml.txt
/root/tomcat7.0/apache-tomcat-7.0.11/webapps/docs/appdev/web.xml.txt
/root/tomcat7.0/apache-tomcat-7.0.11/webapps/docs/RELEASE-NOTES.txt
/root/tomcat7.0/apache-tomcat-7.0.11/webapps/docs/BUILDING.txt
/root/tomcat7.0/apache-tomcat-7.0.11/webapps/docs/architecture/startup/serverStartup.txt
/root/tomcat7.0/apache-tomcat-7.0.11/webapps/ROOT/RELEASE-NOTES.txt
[root@localhost /]#
分享到:
相关推荐
Gimp 视频教程:paths-tool
Gimp 视频教程:paths-tool 1
Gimp 视频教程:paths-tool2
Gimp 视频教程:paths-tool2
Gimp 视频教程:paths-tool2
使用GitLab页面的示例网站。在和官方文档了解有关GitLab Pages的更多信息。... paths: - test except: - masterpages: stage: deploy script: - mkdocs build --strict --verbose artifacts: paths: - public
paths : - ' **.sch ' - ' **.kicad_pcb ' pull_request : paths : - ' **.sch ' - ' **.kicad_pcb ' jobs : example : runs-on : ubuntu-latest steps : - uses : actions/checkout@v2 - uses : ...
python打包exe文件,利用pyinstaller报错 Cannot find existing PyQt5 plugin directories Paths checked: C:/qt64/-附件资源
theory of rough paths, but rather to complement the existing literature on the subject. As a consequence, there are a number of aspects that we chose not to touch, or to do so only barely. One ...
byte[] privateKeyBytes = Files.readAllBytes(Paths.get(privateKeyPath)); PrivateKey loadedPrivateKey = KeyFactory.getInstance("RSA").generatePrivate(new PKCS8EncodedKeySpec(privateKeyBytes)); ...
在Java编程语言中,处理文件压缩任务是一项常见的需求。`ZipUtil`是一个专门用于文件压缩的工具类,它解决了在处理包含中文字符的文件或目录时可能出现的乱码问题。`ZipEntry`是Java标准库`java.util.zip`包中的核心...
引擎要启用luacheck引擎,请将以下内容添加到您的.codeclimate.yml文件中: engines : luacheck : enabled : trueratings : paths : - " **.lua "配置Luacheck引擎支持大量配置选项。支票您可以通过控制启用/禁用...
paths : - " **.py " jobs : lint : name : Python Lint runs-on : ubuntu-latest steps : - uses : actions/checkout@v2 - uses : actions/setup-python@v2 with : python-version : " 3.8 " - name : ...
paths:必要参数,指定在哪个目录查找。可以指定多个路径,用逗号隔开。也可以使用path patterns:指定要查找的文件名,默认是文件类型,目录需要用参数指定。支持通配符,如果需要用python的正则去匹配的话,需要...
paths : - .github/workflows/textlint.yml - ' docs/**/*.md ' jobs : textlint : runs-on : ubuntu-latest steps : - uses : actions/checkout@v2 - run : npm install - name : run textlint id : run-...
paths : - ' metadata/*.yaml ' jobs : hasura-change-summary : runs-on : ubuntu-latest steps : - uses : actions/checkout@v2 - uses : Fieldguide/action-hasura-change-summary@v1 id : hasura-change...
var paths = require('gedi-paths'); paths.create(number/string/array); // Create a valid gedi path from a string/number, or an array of strings/numbers. paths.isAbsolute(path); // Checks if a path is ...
**全球路径(Global Paths)在前端开源库中的应用** 在前端开发中,有时我们需要访问到全局路径,例如安装的全局NPM包、用户特定的配置文件或者全局工具。`global-paths`是一个针对Node.js和JavaScript环境的开源库...
用法您只需要像这样设置工作流程: # file: .github/workflows/vlang-build-pipeline.ymlname : vlang-build-pipelineon : push : paths-ignore : - ' **.md 'jobs : run : name : Run runs-on : ubuntu-latest ...