April 28th, 2011, 06:49 AM
Linux 'du' command output
Hi, just a quickie... does anyone know how to stop the du command from displaying the directory name?
du -mhs mike
It said 'Insert disk #2', but only one will fit.
April 28th, 2011, 07:29 PM
Pipe the output of du into cut and tell it to only print the 1st column?
Comments on this post
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo