![Cisco ASR 14000 Series Management Command Reference Download Page 754](http://html.mh-extra.com/html/cisco/asr-14000-series/asr-14000-series_management-command-reference_66667754.webp)
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
Utility Commands on Cisco IOS XR Software
utility fgrep
SMR-752
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
The
utility fgrep
command searches files for a fixed character string (as opposed to grep and egrep
which search for a a pattern that matches an expression).
The results are displayed to the standard output (terminal screen).
Note
Keywords are entered using the displayed syntax, or with UNIX-equivalent syntax. The
UNIX-equivalent syntax is displayed in parentheses () in the syntax description. For example, the
keyword
count
can also be entered using the UNIX-equivalent (
-c
). To display the UNIX-equivalent
syntax online, enter the keyword
usage
.
Task ID
Examples
The following example, the
utility fgrep
command is used with the
nocase
and
linenum
keywords:
RP/0/RP0/CPU0:router#
show version | utility fgrep expr uptime nocase linenum
7:router uptime is 5 days, 20 hours, 10 minutes
Related Commands
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.
Task ID
Operations
universal
execute
Command
Description
Searches a file using full regular expressions.