Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux fgrep Command

Linux fgrep Command

Linux Command Reference Linux Command Reference

This command is equivalent to running the grep command with arguments -F, seethe grep commanddocumentation for details.

The Linux fgrep command is used to find strings in files that match a specified pattern.

Syntax

fgrep [范本样式][文件或目录...]

Example

For specific usage examples, please refer togrep command.

Linux Command Reference Linux Command Reference