Linux Conquering Cloud
Learn .. Conquer .. Share
Pages
Home
About me
Tuesday, March 9, 2021
Sed Command in MAC
Method to use Sed in Mac
sudo sed -i "/kube/d" /etc/hosts
give error sed: 1: "/etc/hosts": extra characters at the end of h command
Following Syntax Worked.
sudo sed -i '' '/kube/d' /etc/hosts
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment