[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: nahant-list Digest, Vol 5, Issue 36



On Fri, 2005-07-01 at 08:42 -0700, Collins, Kevin (MindWorks) wrote:
> /dev/mapper/vg00-lvol1
> /dev/mapper/vg00-lvol2
> 
> Anyone know how I can fix that? It causes 'df' to break lines which
> sucks for scripting - in fact the LogWatch report shows bad data for the
> Disk Usage section...

'df -P' (use POSIX output format) put your output on one line. While
it's less readable (columns don't always line up), it works great for
scripting.

Jason
-- 

Jason T Hardy
Office of Information Technology
University of Texas at Arlington
GnuPG Public Key: http://omega.uta.edu/~jthardy/jthardy.gpg.asc


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]