SYSTEMD-PTY-FORWARD(1)

โœจ SYSTEMD-PTY-FORWARD โœจ

okay bestie, so this is systemd-pty-forward, from the systemd-pty-forward(1) manual page, and it's genuinely one of the cutest little tools in the whole systemd family, no cap ๐Ÿ’–


๐ŸŽ€ NAME ๐ŸŽ€

systemd-pty-forward โ€” run a command with a custom terminal background color or title


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

systemd-pty-forward [OPTIONS...] {COMMAND}

๐Ÿ’… DESCRIPTION ๐Ÿ’…

so like. systemd-pty-forward lets you run a command with a custom terminal background color or title. that's it, that's the whole vibe. you give it a command, it gives that command a lil makeover while it runs ๐ŸŒˆโœจ


๐Ÿ‘‘ OPTIONS ๐Ÿ‘‘

here's everything it understands, and yes we're going through all of them because every single one matters:

  • --background=COLOR โ€” changes the terminal background color to whatever ANSI color you name, and keeps it that way for as long as the command is running ๐Ÿ’œ the color you pass needs to be an ANSI X3.64 SGR background color, so like strings such as "40", "41", ..., "47", "48;2;...", "48;5;...". if you wanna know the details, go look at ANSI Escape Code (Wikipedia) โ€” link's down in NOTES, iykyk ๐Ÿงš

for example: "--background=44" gives you a blue background. iconic.

Added in version 258.

  • --title=TITLE โ€” changes the terminal title to whatever string you pass, and holds it there for as long as the command runs โœจ

Added in version 258.

  • --quiet, -q โ€” suppresses extra informational output while running ๐Ÿคซ so like, it still works, it's just not gonna chat at you about it.

Added in version 258.

  • --read-only โ€” do not accept any user input on standard input ๐Ÿ™ˆ basically it stops listening to your keyboard entirely.

Added in version 258.

  • -h, --help โ€” prints a short help text and then dips ๐Ÿ‘‹
  • --version โ€” prints a short version string and then dips ๐Ÿ‘‹

๐Ÿ“ NOTES ๐Ÿ“

  1. ANSI Escape Code (Wikipedia) https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_(Select_Graphic_Rendition)_parameters

and that's the whole page bestie ๐Ÿซถ this was systemd-pty-forward(1) from systemd 262.1 โ€” go give your terminal a glow-up, you've earned it ๐Ÿ’–๐ŸŒธ๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from
  • arch rolling: systemd 262.1-1 ยท LGPL-2.1-or-later AND CC0-1.0 AND GPL-2.0-or-later AND MIT-0
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms