need SIMPLE grep piping examples

Tim Waugh twaugh at redhat.com
Fri Mar 26 14:08:20 UTC 2004


On Fri, Mar 26, 2004 at 10:04:19AM -0300, Thiers Botelho wrote:

> All I need to do right now is something like:
> 
> df -m | grep [ 'ilesystem' , '/dev/foobar' ]

df -m | grep -E 'ilesystem|/dev/foobar'

Don't forget the quotes, or the shell will eat your '|' symbol.

Tim.
*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20040326/d344add8/attachment-0002.bin 


More information about the users mailing list