Skip to content

JeneralMotors/newhost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

newhost

The newhost script facilitates the addition of a new entry to the /etc/hosts file, linking a specified IP address to a given hostname. Upon execution, the script provides feedback on the success or failure of the operation.

Usage

To use the script, follow the format below:

sudo newhost <IP> <hostname>

About

Bash script that automates new /etc/hosts entries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages