Search Results

Search: Posts Made By: ghettochild2600
1,481
Posted By ghettochild2600
I'm quite new to all this so some of my syntax is...
I'm quite new to all this so some of my syntax is probably incorrect.

sudo awk '{sub("</IfModule>", "TLSRequired off", $0); print}' /etc/proftpd/tlsBAK.conf

sed -i 's/</IfModule>/TLSRequired...
1,481
Posted By ghettochild2600
Replace string in a file.
Hopefully my request is a simple one. I need to replace, rather remove the string </IfModule> from a file, tls.conf. As I have a script that adds a bunch of other lines including that one to the end...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 12:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy