1834483 Members
2868 Online
110067 Solutions
New Discussion

fgrep problems?

 
SOLVED
Go to solution
leereg_5
Frequent Advisor

fgrep problems?

Why
$fgrep "PATTERN1PATTERN2" FILENAME
$
can not work? I want to grep PATTERN1 and PATTERN2 in file FILENAME.
If i was wrong, then how to do ?

Thanks in advance!
Always UNIX!
1 REPLY 1
Frank Li
Trusted Contributor
Solution

Re: fgrep problems?

It should be " fgrep -e PATTERN1 -e PATTERN2 files "
Hi Friend