On 2007/07/28 13:42 (GMT-0700) joe apparently typed:
> Felix Miata wrote:
>> I'm having no luck figuring out why
>> alias Vol='tune2fs -l $1 | grep volume'
>> causes a usage message when 'Vol /dev/hda7' is run. Can anyone explain what
>> I'm doing wrong, or provide a better method to discover a volume label?
> That works fine here
It gets me exactly what I want from the command line, but fails as an alias.
> - I'd be curious to know more about /dev/hda7
Leave off the grep filter? When I want to know if there is a volume label
set, I run tune2fs -l on the appropriate partition. Without a grep or less
filter, the only part of its output that I want scrolls offscreen before I
can see it.
--
"All scripture is God-breathed and is useful for teaching,
rebuking, correcting, and training in righteoousness."
2 Timothy 3:16 NIV
Team OS/2 ** Reg. Linux User #211409
Felix Miata *** http://mrmazda.no-ip.com/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]