Introduction

When you get verbose output from a system but you want to only see a number of specific lines:

Required Command

The following is an example from an Isilon node:

isi nfs exports list --verbose | egrep "ID|UID|Paths" > /ifs/data/blah/blahblah.txt

As you can see here done on an Isilon node to give me the info I wanted to see. And also output to a file cause there a so damn many. Sigh.

Using Egrep to Return Multiple Lines From a List
Tagged on:         

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.