Questions tagged «locate»

8
查找名称包含字符串的所有文件
我一直在寻找一个命令,该命令将从当前目录返回文件名中包含字符串的文件。我已经看到locate和find命令可以找到以某些内容开头first_word*或结尾的文件*.jpg。 如何返回文件名中包含字符串的文件列表? 例如,if 2012-06-04-touch-multiple-files-in-linux.markdown是当前目录中的文件。 如何返回此文件和其他包含字符串的文件touch?使用诸如find '/touch/'
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.