How to edit the hosts file in MacOS | Macbook Pro | Macbook Pro 2024

Опубликовано: 23 Октябрь 2024
на канале: TechSourcs Sushil
106
1

How to edit the hosts file in MacOS | Macbook Pro | Macbook Pro 2024
#hosts #macbook #macbookpro #macbookair

Edit Hosts File Macbook
Edit Hosts File Macbook Air
Edit Hosts File Macbook Pro
How to Edit Hosts File Macbook
How to Edit Hosts File Macbook Air
How to Edit Hosts File Macbook Pro
Block Domains Macbook Hosts File
Block Subdomains Macbook Hosts File
Modify Hosts File Macbook
Modify Hosts File Macbook Air
Modify Hosts File Macbook Pro
Hosts File Editing Macbook
Hosts File Editing Macbook Air
Hosts File Editing Macbook Pro
Macbook Hosts File Configuration
Macbook Air Hosts File Guide
Macbook Pro Hosts File Setup
Hosts File Domain Blocking Macbook
Editing Hosts File on Macbook
Macbook Hosts File Management

How to Edit Hosts File in macOS

Steps:
1- Click on the Launchpad and open Terminal.
2- We’ll be using the Nano Editor. To run it as an administrator, insert the statement below, and press Enter:
3- sudo nano /private/etc/hosts
4- Type in your password. You’ll be directed to the hosts file.
5- Add your chosen IP address, followed by the domain name, separated by a space.
6- Make sure to save your changes using the Ctrl + O shortcut.