Re: grep- how to cut /usr but leave in /usr/local?

From: Bruce Harvey (BruceH@ROUTESCAPE.COM)
Date: Fri Oct 25 2002 - 12:08:48 EDT


lsvgfs rootvg | egrep -v "/$|/var$|/usr$|/tmp$"

---------------------------------------
Bruce T. Harvey, Special Projects Developer
bruceh@routescape.com, www.routescape.com
Insight Distribution Systems --- Hunt Valley, MD

-----Original Message-----
From: Clifton, Pablo [mailto:Pablo.Clifton@BCBSFL.COM]
Sent: Friday, October 25, 2002 11:57 AM
To: aix-l@Princeton.EDU
Subject: Re: [aix-l] grep- how to cut /usr but leave in /usr/local?

Let me re-phrase the question :)
how do I get:

        lsvgfs rootvg | grep or egrep SOMETHING HERE

to list EVERY FILESYSTEM except for /, /var, /usr, /tmp
including /usr/local

-pablo

--
Pablo Clifton
UNIX Tech Services
(904) 905-7116
(210) 287-4021 cell
-----Original Message-----
From: Pugliese, Edward [mailto:s11018@SLK.COM]
Sent: Friday, October 25, 2002 11:25 AM
To: aix-l@Princeton.EDU
Subject: Re: grep- how to cut /usr but leave in /usr/local?
How about
"lsvgfs rootvg | grep local"
-----Original Message-----
From: Clifton, Pablo [ mailto:Pablo.Clifton@BCBSFL.COM
<mailto:Pablo.Clifton@BCBSFL.COM> ]
Sent: Friday, October 25, 2002 11:17 AM
To: aix-l@Princeton.EDU
Subject: grep- how to cut /usr but leave in /usr/local?
How can I get:
        lsvgfs rootvg | grep ???????
to cut /usr out, but leave in /usr/local?
thanks
Blue Cross Blue Shield of Florida, Inc., and its subsidiary and
affiliate companies are not responsible for errors or omissions in this
e-mail message. Any personal comments made in this e-mail do not reflect the
views of Blue Cross Blue Shield of Florida, Inc.
Blue Cross Blue Shield of Florida, Inc., and its subsidiary and
affiliate companies are not responsible for errors or omissions in this
e-mail message. Any personal comments made in this e-mail do not reflect the
views of Blue Cross Blue Shield of Florida, Inc.


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:17 EDT