Re: [opensuse] alias failure
- From: Felix Miata <mrmazda@xxxxxx>
- Date: Sat, 28 Jul 2007 19:58:07 -0400
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: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- References:
- [opensuse] alias failure
- From: Felix Miata
- Re: [opensuse] alias failure
- From: joe
- [opensuse] alias failure
- Prev by Date: Re: [opensuse] alias failure
- Next by Date: Re: [opensuse] alias failure
- Previous by thread: Re: [opensuse] alias failure
- Next by thread: Re: [opensuse] alias failure
- Index(es):
Relevant Pages
|