Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/bash/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 在使用ESX shell创建VM之前,请先查找磁盘空间是否可用_Linux_Bash_Shell_Esx - Fatal编程技术网

Linux 在使用ESX shell创建VM之前,请先查找磁盘空间是否可用

Linux 在使用ESX shell创建VM之前,请先查找磁盘空间是否可用,linux,bash,shell,esx,Linux,Bash,Shell,Esx,我在ESX主机上有两个名为data和data1的存储磁盘 如果我在ESX shell上执行df-h | grep-E“data”,它将给出两个存储磁盘的磁盘大小。ESX shell命令中是否有用于精确匹配单词的grep命令 注意:ESX shell不存在grep-w。 请提供帮助。ESX shell中是否存在grep-v?显示df-h的输出外观。尝试使用'data'或'data$'grep-v确实存在。我想出来了。df-m | grep-E“数据”| grep-v“数据1”

我在ESX主机上有两个名为data和data1的存储磁盘

如果我在ESX shell上执行df-h | grep-E“data”,它将给出两个存储磁盘的磁盘大小。ESX shell命令中是否有用于精确匹配单词的grep命令

注意:ESX shell不存在grep-w。
请提供帮助。

ESX shell中是否存在grep-v?显示df-h的输出外观。尝试使用'data'或'data$'grep-v确实存在。我想出来了。df-m | grep-E“数据”| grep-v“数据1”