sed -i

From wikieduonline
Revision as of 13:47, 13 February 2023 by Newworld (talk | contribs)
Jump to navigation Jump to search

-i tells sed to modify the file in place.
sudo sed -i '/#net.ipv4.ip_forward=1/s/^#//g' /etc/sysctl.conf
.BAK
gsed -i

See also

Advertising: