Ubuntu20.4找到 `/tmp` 目录及其所有子目录下,文件名包含 `666` 的所有文件
时间: 2023-10-25 12:08:05 浏览: 97
可以使用以下命令来找到 `/tmp` 目录及其所有子目录下,文件名包含 `666` 的所有文件:
```
find /tmp -name "*666*"
```
该命令使用 `find` 命令来查找指定目录下符合条件的文件。其中:
- `/tmp` 表示要查找的目录为 `/tmp`
- `-name` 表示按照文件名进行匹配
- `"*666*"` 表示文件名包含 `666` 的文件
因此,该命令会在 `/tmp` 目录及其所有子目录下查找文件名包含 `666` 的所有文件。
相关问题
Ubuntu 20.4 没有/etc/network/interfaces
是的,从 Ubuntu 18.04 版本开始,Ubuntu 引入了 netplan 来管理网络配置。netplan 是一个网络配置工具,它使用 YAML 文件来定义网络接口和相关设置。
在 Ubuntu 20.04 中,网络配置文件位于 /etc/netplan/ 目录下,以 .yaml 扩展名结尾。默认情况下,Ubuntu 20.04 使用 netplan 来配置网络接口。
你可以编辑 /etc/netplan/ 目录下的配置文件来更改网络配置,并使用以下命令应用更改:
```
sudo netplan apply
```
这将使更改生效。请确保在修改配置文件之前备份原始配置文件,以防止出现问题。
win10安装ubuntu20.4子系统
您好,安装Ubuntu 20.4子系统需要以下步骤:
1. 打开Windows 10的设置,选择“应用程序和功能”,然后点击“启用或关闭Windows功能”。
2. 在弹出的窗口中,找到“适用于Linux的Windows子系统”并勾选。
3. 点击“确定”后,系统会提示您重新启动计算机。
4. 重新启动后,打开Microsoft Store,搜索“Ubuntu 20.4”,选择安装。
5. 安装完成后,打开Ubuntu 20.4子系统,设置用户名和密码即可开始使用。
希望对您有所帮助!
阅读全文
相关推荐














