Skip to content

Bash script to interactively change hostname in Debain-based OSs, or macOS.

License

Notifications You must be signed in to change notification settings

marshki/change_hostname

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Change Hostname (Debian-based OSs, or macOS)

Codacy Badge Maintenance made-with-bash MIT licensed Open Source Love png3

Bash script allows you to interactively change the hostname of a machine running Debian-based systems, or macOS.

change_hostname.sh → command-line interface

change_hostname_tui.sh → text-based user interface via Whiptail.

Requirements

change_hostname_tui.sh requires Whiptail. You may install the package via:

  • apt with: sudo apt-get install --yes whiptail
  • brew with: brew install newt

Usage

As ROOT, call the script with: bash change_hostname.sh or bash change_hostname_tui.sh, then follow on screen prompts, e.g.:

alt text

History

v.0.1 12-DEC-2015

v.0.2 23-DEC-2023

License

LICENSE.

About

Bash script to interactively change hostname in Debain-based OSs, or macOS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages