Linux questions and answers
I would like to grep fixed string "/usr" from the below command. When I used the command below it gave the output with other strings as well.Your help would be appreciated.
[root@lab~]# df -h | grep -wF "/usr"
/dev/mapper/vg00-usr 5.0G 1.8G 3.0G 38 /usr
/dev/mapper/vg00-test2 6.9G 69M 6.5G 2% /usr/data
[root@lab ~]#
Last edited by orzune; 08-11-2015 at 12:49 PM.
Reason: grametical incorrect
|