Difference between revisions of "Grep -qxF"

From wikieduonline
Jump to navigation Jump to search
 
Line 6: Line 6:
 
== Related ==
 
== Related ==
 
* [[Line]]
 
* [[Line]]
* [[blockinfile]]
+
* [[Ansible: lineinfile]]
  
 
== See also ==
 
== See also ==

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: