please advise how to match the / volume from df -k command?I  tried the following:[root@machine /]# df -k | grep //dev/vx/dsk/bootdg/rootvol 130926685 71378710 58238709    56%    //devices                   0       0       0     0%    /devicesctfs                       0       0       0     0%    /system/contractproc                       0       0       0     0%    /procmnttab                     0       0       0     0%    /etc/mnttab   .   ..df -k | grep  /        ( no any output ).df -k | grep  \/       ( no any output )the requested output:/dev/vx/dsk/bootdg/rootvol 130926685 71378710 58238709    56%    /
df -k + how to match the root volume line
linux;sed;awk;grep;perl
Try:df -k | grep '/$'or you can use awk:df -k | awk '$NF == /'