How to get the df -h output in one line?

HI Admin,

I would like to get the df -h output in one line in one of the RHEL server. How can I get it?

Here the filesystem name is getting on 1 separate line, and other columns are in 1 line. How can I get all in 1 line? Any script?

Thanks is advance.

---------- Post updated at 01:17 PM ---------- Previous update was at 11:02 AM ----------

IN other words, how can I increase the space between column "filesystem" & "size" ?

Try

df -hP
1 Like

awesome!!! Thanks MadeInGermany!!!