Edit a file on CentOS 6.3 Minimal

I installed CentOS 6.3 Minimal on VMWare Player, and I realized how ‘minimal’ the setup is…

Don’t have network connectivity. From what I searched on google, I need to edit the file


but since I don’t have any editor installed (as far as I know), I don’t know how to edit the file.

How do I edit the file????

Asked By: CoCoMonk


From CentOS 6.3 release notes for the minimal install, vi is available.

Answered By: Renan


vi /etc/sysconfig/network-scripts/ifcfg-eth0

Press i to insert. Once finished with your changes, press Esc then :wq to save changes.

Answered By: Andres Ramos
Categories: Answers Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.