Displaying Output from the First Match of a Regular Expression
When you use regular expressions, enclose any spaces, operators, or wildcard characters in quotation marks.
For information about common regular expression operators, see Table 12.
To display output starting with the first occurrence of text matching a regular expression:
The following example starts displaying information for the
show system information
command starting with theCurrent time
section of the output:user@host>show system information |find time
Current time 2006-10-31 09:34:17 ESTUptime 11 days, 17:26Number of active users 2Load Averages (1m/5m/15m) 0.09/0.08/0.09Memory
Total 15GFree 14GCPU Info
Number of CPU 4CPU Model Dual Core AMD Opteron(tm) Processor 265Clock Speed 1804.137 MHzDisk Information
Mountpoint Total Used Use%/ 2015M 1018M 50%/altroot 2015M 1015M 50%/boot 98M 14M 14%/var 5039M 497M 9%. . .