Updating...
Skip to main content
Filter your search by category. Current category:
All
All
Knowledge Base
Service Catalog
Search the client portal
Search
Sign In
Show Applications Menu
Client Portal
Sign In
Search
TECHNOLOGY AT MSU
IT Help
Projects Hub
Projects
Services
Knowledge Base
More Applications
Skip to Knowledge Base content
Search
Articles
Blank
Knowledge Base
Infrastructure
Network and Connectivity Management
Network - Modifying your Hosts File on Linux
Network - Modifying your Hosts File on Linux
Tags
how-to
Linux
public
Objective
Following these steps will modify the hosts file used on your Linux device.
Environment
Linux
Before You Begin
N/A
Steps
Open the terminal window.
Open the hosts file in a text editor (you can use any text editor) by typing the following line:
sudo nano /etc/hosts
Enter your domain user password.
Make the necessary changes to the file.
Press
Control-x
.
When ask if you want to save your changes, answer "
y
".
Additional Info
N/A
Sign in to leave feedback
0 reviews
Blank
Blank
Blank
Blank
Print Article
Deleting...
×
Share
Recipient(s)
- separate email addresses with a comma
Message
Press Alt + 0 within the editor to access accessibility instructions, or press Alt + F10 to access the menu.
Check out this article I found in the Client Portal knowledge base.<br /><br /><a href="https://tdx.msu.edu/TDClient/32/Portal/KB/ArticleDet?ID=1461">https://tdx.msu.edu/TDClient/32/Portal/KB/ArticleDet?ID=1461</a><br /><br />Network - Modifying your Hosts File on Linux<br /><br />This article provides information on how to modify your hosts file on Linux