Hi I am a python bigginer, I have a scenario where I need to search and select a particular value from linux command "df -h".
dumpe2fs 1.42.13.x5 (23-Mar-2017)
Inode count: 786432000
[root@copper02 ~]#
In this above output I need to store the inode count number in to a variable to use it for further calculation.
Can anyone explain how to use python regular expressions to do the above task?