Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 ESX 主机上有两个存储磁盘,名称分别为data和data1.
data
data1
如果我df -h|grep -E 'data'在 ESX shell 上执行,它会给出两个存储磁盘的磁盘大小。ESX shell 命令中是否有用于精确单词匹配的 grep 命令?
df -h|grep -E 'data'
grep -wESX shell 不存在注释。请帮忙。
grep -w