1.3.3 • Published 5 years ago

manage-my-hosts v1.3.3

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

manage-my-hosts

This is a node js CLI application to manage your hosts file with ease

This tool also lists, activates, deactivates, creates, removes and formats your hosts file to manage them easily

Installation

npm install manage-my-hosts -g

Usage :

For Linux / Darwin

sudo mmh -h
sudo mmh -l

For Windows

Open Command Prompt with administrative permission

mmh -h
mmh -l
-v, --version                                                   output the version number
-l, --list                                                      Shows the list of hosts in a tabular format
-d, --deactivate <lineNum> or <[2,3,5,8]> or <[2..9]> or all    Mention the line number to deactive the host
-a, --activate <lineNum> or <[2,3,5,8]> or <[2..9]> or all      Mention the line number to activate the host
-c, --create <ip> <domain>                                      Mention the IP and domain to be added to the hosts file
-r, --remove <lineNum>                                          Mention the line number to remove the host from the hosts file
-p, --print                                                     Prints the entire hosts file
-f, --format                                                    Format your hosts file to manage them easily
-b, --backup                                                    Backup your hosts file
-s, --search <searchQuery>                                      Search your IP or domain name
-h, --help                                                      output usage information

Supported OS

  • Darwin
  • Linux
  • Windows

Notes : npm audit security report found 0 vulnerabilities

1.3.3

5 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago