FIDO2 安全令牌应用于在启动时解密 Linux 计算机中的所有磁盘。systemd 从版本 248 开始允许这样做。
使用 LUKS 进行全磁盘加密时,FIDO2 安全令牌是否可以在启动后删除,或者是否需要保持插入状态才能使磁盘可用于读/写操作?
FIDO2 安全令牌应用于在启动时解密 Linux 计算机中的所有磁盘。systemd 从版本 248 开始允许这样做。
使用 LUKS 进行全磁盘加密时,FIDO2 安全令牌是否可以在启动后删除,或者是否需要保持插入状态才能使磁盘可用于读/写操作?
我想搜索任意文件/目录名称,但只想在同一位置列出包含搜索字符串的文件路径一次。特别是不是目录中的每个文件都与搜索字符串匹配。
这是一个示例,locate -i flatpak
列表:
/etc/flatpak
/etc/dbus-1/system.d/org.freedesktop.Flatpak.SystemHelper.conf
/etc/flatpak/remotes.d
/etc/profile.d/flatpak.sh
/home/simon/.cache/gnome-software/flatpak/installation-tmp/repo/objects/74
/home/simon/.cache/gnome-software/flatpak/installation-tmp/repo/objects/75
/home/simon/.cache/gnome-software/flatpak/installation-tmp/repo/objects/76
/home/simon/.cache/gnome-software/flatpak/installation-tmp/repo/objects/77
/home/simon/.cache/gnome-software/flatpak/installation-tmp/repo/objects/78
/home/simon/.cache/gnome-software/flatpak/installation-tmp/repo/objects/79
/home/simon/.cache/gnome-software/flatpak/installation-tmp/repo/objects/7a
/home/simon/.cache/gnome-software/flatpak/installation-tmp/repo/objects/7b
/home/simon/.cache/gnome-software/flatpak/installation-tmp/repo/objects/7c
/home/simon/.cache/gnome-software/flatpak/installation-tmp/repo/objects/7d
/var/lib/flatpak
/var/lib/flatpak/.changed
/var/lib/flatpak/.removed
/var/lib/flatpak/app
/var/lib/flatpak/appstream
/var/lib/flatpak/exports
/var/lib/flatpak/repo
/var/lib/flatpak/runtime
但我想要这样的搜索结果:
/etc/flatpak
/etc/dbus-1/system.d/org.freedesktop.Flatpak.SystemHelper.conf
/etc/profile.d/flatpak.sh
/home/simon/.cache/gnome-software/flatpak
/var/lib/flatpak
哪种工具最适合这个?locate
, find
, fd-find
?