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 *

Time limit is exhausted. Please reload CAPTCHA.

Optimization WordPress Plugins & Solutions by W3 EDGE