[clue] Bash baffler
foo7775 at comcast.net
foo7775 at comcast.net
Wed Jun 4 17:12:32 MDT 2014
Son of a gun... I must have totally looked right past that.. <shakes head ruefully>
Thanks for providing the "2nd pair of eyes" Vishal!
T.
----- Original Message -----
From: "Vishal Verma" <stellarhopper at gmail.com>
To: "list, CLUE" <clue at cluedenver.org>
Sent: Wednesday, June 4, 2014 4:59:34 PM
Subject: Re: [clue] Bash baffler
On Wed, Jun 4, 2014 at 4:53 PM, <foo7775 at comcast.net> wrote:
> df -hl | awk '{print $NF}' | grep -v ^\/dev
The 'on' seems to be coming from the last column of the 'header' of
the df command:
Filesystem Size Used Avail Use% Mounted on
You want something like:
df -hl | grep -v "^Filesystem" | awk '{print $NF}' | grep -v ^\/dev
-Vishal
_______________________________________________
clue mailing list: clue at cluedenver.org
For information, account preferences, or to unsubscribe see:
http://cluedenver.org/mailman/listinfo/clue
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20140604/e1d9fd25/attachment.html
More information about the clue
mailing list