FG

How do I save changes after editing vi /etc/hosts?

Fresh3 days ago
Mar 15, 202693290 views
Confidence Score0%
0%

Problem

I am doing a Linux installation. I installed the system fine and am trying to change the vi file. I have edited the file but am not sure how to save it. I have showing at the bottom.

Error Output

/etc/hosts

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I save changes after editing vi /etc/hosts?

Low Risk

First press ESC so you get back to command mode, then do. or or

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment