How to make df command?

in RHEL 6.10, how can we make the the df -k return the output without wrapping. And wihout using the df -Pk option. After we patched a Linux server from 6.5 to 6.10:

The df -k on RHAT 6.10 it wraps the line for ex:

6.10:

/dev/mapper/vgapp01-vendor

                   5160576 1731696   3166736  36% /vendor

Where 6.5 keeps it on one line:

6.5:

/dev/mapper/vgapp01-vendor 5160576 2041056 2857376 42% /vendor

The only way to keep from wrapping in 6.10 is to run the df -k command as df -Pk.

However, how can we make df -k behave at the server level like df -Pk ?

Thanks

With over 100 posts, mrn6430, you should know every well that to keep the forums high quality for all users, please take the time to format your posts correctly.

First of all, use Code Tags when you post any code or data samples so others can easily read your code. You can easily do this by highlighting your code and then clicking on the # in the editing menu. (You can also type code tags

```text
 and 
```

by hand.)

Second, avoid adding color or different fonts and font size to your posts. Selective use of color to highlight a single word or phrase can be useful at times, but using color, in general, makes the forums harder to read, especially bright colors like red.

Third, be careful when you cut-and-paste, edit any odd characters and make sure all links are working property.

Thank You.

The UNIX and Linux Forums

I am closing this "cut and paste" spam of a question.

You can see from the post, the poster has just cut and posted from another web site into this one without taking the time to format his post for this forum:

This is a kind of "cut-and-paste" spam, even though the question is technical and relevant to the site, it is none-the-less, cut-and-paste spam.

See also:

Please show the community a basic courtesy by (1) formatting your posts correctly and please (2) stop cutting and pasting improperly formatted text from other Internet properties, here.

According to our records, you have a very long history here (see image above) of not showing any concern for the formatting and quality of your posts. I hope your attitude toward posting poorly formatted information on Internet properties will change sooner than later.

Thanks.

2 Likes