Hi everyone,
In part of my script, I'm trying cut out couple of columns from the df -h command.
The ones I want is the Filesystem column and the Mounted On column. This is what I have so far.
df -h | cut -d " " -f1
And that will get the Filesystem in the first field, but for the next column, I tried different fields and I still keep getting a blank space.
Any help you guys can give will be greatly appreciated!
Thanks!