Difference between revisions of "Grep -qxF"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
== Related ==
 
== Related ==
 
* [[Line]]
 
* [[Line]]
 +
* [[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: