Skip to Content
gnux

-f, --file

Take PATTERNS from FILE.

An option of grepx.

Usage

grepx -f FILE PATTERNS [FILE]...
grepx --file=FILE PATTERNS [FILE]...

Details

ShortLongValueDefaultMeaning
-f--fileFILEtake PATTERNS from FILE

Examples

Take the patterns from a file, one to a line, as fixed strings

grepx -F -f blocklist.txt users.csv

Help in the terminal

gnux help grepx --file

On this page