Я думаю, что это работает без канала и grep.
вот так :tar tvf archive.tar.gz "foo"
as this way, globs will also work.
tar tvf archive.tar.gz "*.foo"
As I understand it, starting from Centos7 (and other newer distros), the file /etc/mtab no longer exists.
Он существует как символическая ссылка, указывающая на ../proc/self/mounts
.
On a Centos6 system, can I delete /etc/mtab (the file) and create it as a symlink to /proc/self/mounts?
Зачем тебе это? Это может сработать.