Re: need SIMPLE grep piping examples

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

 



On Fri, 2004-03-26 at 09:08, Mihai Maties wrote:
> On Friday 26 March 2004 15:04, Thiers Botelho wrote:
> > All I need to do right now is something like:
> >
> > df -m | grep [ 'ilesystem' , '/dev/foobar' ]
 
> df -m|grep -E 'Filesystem|/dev/foobar'
> or
> df -m|egrep 'Filesystem|/dev/foobar'

or
df -m|grep 'Filesystem\|/dev/foobar'
or
df -m|grep Filesys\\\|/dev/foobar
 
-- 
Oisin Curtin                      Oisin.Curtin (@) PhoenixFltOps (.) com
"Life is a non-renewable resource, use it well." -- Curly++, a survivor.
In my opinion, my opinions are mine and may differ from those of my wife
or my employer.  Oddly, my wife and my employer both agree emphatically.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux