Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

hostname: when domain is none, it should be outputted to stdout

Open Beginner friendly
#14,962 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
cli

Research direction

Start by running the reported uu_hostname command and compare its behavior with GNU hostname --domain. Locate the uu_hostname implementation and its tests, then ensure the --domain case outputs (none) to stdout and add or update coverage for that behavior.

Written by the indexing model from the issue text.

Description

U - hostname

GNU:

$ hostname --domain
(none)

uutils:

$ cargo run -q -p uu_hostname -- --domain
Dominant language
Rust
Stars
24.2k
Forks
2.1k
Avg merge
1d 7h
Merged PRs (30d)
312

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from uutils/coreutils

All issues in uutils/coreutils

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.