Difference between revisions of "Grep -qxF"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
  {{add line}}
 
  {{add line}}
  
 +
== Related ==
 +
* [[Line]]
 +
* [[Ansible: lineinfile]]
  
{{grep}}
+
== See also ==
 +
* {{grep}}
 +
 
 +
[[Category:Grep]]

Latest revision as of 13:07, 9 September 2023


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

Related[edit]

See also[edit]

Advertising: