Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rocket domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/practical-tips.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the soledad domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/practical-tips.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the soledad domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/practical-tips.com/wp-includes/functions.php on line 6114
Linux:搜索文件-方法如下 - Practical Tips

Linux:搜索文件–方法如下

by Mike

如果你要在 Linux 下查找文件,你可以通过 Linux 终端找到它。

通过 Linux 终端搜索文件

用组合键 [Ctrl] + [Alt] + [T] 打开 Linux 终端,或在搜索中输入 “终端 “一词。

  • 如果要查找 Linux 中的文件夹,”find / -name folder name”(查找 / -name 文件夹名称)命令会对你有所帮助。
  • 假设你要查找 “Office “文件夹,请在终端中输入 “find / -name Office”。您将收到通往要查找的文件夹的路径
  • “find “后面的”/”和”-name “前面的”/”表示应搜索所有地方的文件夹。
  • 您也可以搜索特定目录。然后输入搜索起点–例如在 “Work “目录中,如下所示: find /Work / -name Office “

How to search for a special file in Linux

如果你要查找的是单个文件而不是文件夹,你可以在本节中找到更多信息。

  • 在控制台中输入 “find / -iname DateiName”。例如,如果要查找文件 “Reimi.txt”,命令为 “find / -iname Reime.txt”。
  • 文件扩展名很重要,否则终端将不会返回任何搜索结果。
  • 文件名不得包含空格,否则也不会得到任何结果。

Related Articles

Leave a Comment