HOSTSED(1)

πŸ“¦
version 0.4.0 Β· 2 versions
  • 0.4.0 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 0.3.0 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– HOSTSED(1) πŸ’–

okay so bestie, gather round, because today we're talking about hostsed β€” a simple lil CLI tool for hosts file edition ✨ she's small, she's mighty, she edits your hosts file so you don't have to open an editor like some kind of medieval peasant πŸ‘‘


✨ NAME ✨

hostsed β€” a simple CLI tool for hosts file edition πŸŽ€


🌸 SYNOPSIS 🌸

hostsed [OPTION]... [ENTRY]...

πŸ¦‹ DESCRIPTION πŸ¦‹

This manual page documents the hostsed CLI tool, fr fr. Here's the vibe: if you run hostsed with no arguments at all, she just hands you the entire content of /etc/hosts file straight to STDOUT. No drama, no edits, just showing you what's there πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

  • -h β€” show help message and exit. she's helpful like that 🫢
  • -f FILE β€” location of hosts file, default /etc/hosts. so if your hosts file lives somewhere else, this is your girl πŸ’œ

🌈 COMMANDS 🌈

  • add IPADDRESS HOSTNAME1 [HOSTNAME2...] β€” add entry to hosts file. you can stack as many hostnames as you want, she's not judging πŸ’–
  • rm, del, delete, remove IPADDRESS HOSTNAME β€” remove entry from hosts file. four whole aliases because she believes in options, periodt ✨
  • drop IPADDRESS_OR_HOSTNAME β€” drop lines with specified ip or hostname from hosts file. either one works, she's flexible like that πŸ”₯
  • docker CONTAINERNAME β€” show docker container IP address of the given name. container got a name? she'll find her IP 🐳

πŸŽ€ AUTHOR πŸŽ€

Written by Li <socrateslee@users.noreply.github.com> πŸ’Œ


πŸ’€ REPORTING BUGS πŸ’€

Report bugs to https://github.com/socrateslee/hostsed/issues β€” she wants to hear from you, no cap 😭


⭐ LICENSE ⭐

The MIT License (MIT) πŸ“œ


πŸ’… COMMENT πŸ’…

This manual page was written by Josue Ortega <josue@debian.org> for the Debian Operative System and can be used by others 🫢


not me making a whole manpage cute... anyway bestie, that's the whole thing, go forth and edit those hosts 🌸

Version 0.3.0, dated July 04, 2019 β€” mwah, that's the vibe check, iykyk πŸ’œπŸ¦‹βœ¨

πŸ“¦ where this page comes from