Difference between revisions of "Grep -qxF"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
  {{add line}}
 
  {{add line}}
  
 +
== Related ==
 +
* [[Line]]
  
 
{{grep}}
 
{{grep}}

Revision as of 09:51, 19 April 2023


grep -qxF 'your text "additional text"' yourfile.txt || echo 'your text "additional text"' >> yourfile.txt

Related

ack, ag, grep, egrep, fgrep, agrep, ngrep, pgrep, awk, sed, strings, tr, tail, mtail, git grep, wc, uniq, LogQL, findstr (Windows), rg, git-grep, cut

Advertising: