FGETTY(8)
π NAME π
ok so fgetty β it's a tiny little getty for linux β¨ like the smallest, cutest bouncer at the door of your terminal. that's the whole vibe. you're welcome.
πΈ SYNOPSIS πΈ
fgetty tty [--noclear] [--long-hostname]
bestie you literally just hand it a tty and maybe sprinkle some flags on top. that's it. that's the whole summoning ritual π«Ά
β¨ DESCRIPTION β¨
okay so picture this: fgetty is normally called by init(8) (yes, that init, the main character of boot). it opens a tty port, hits you with a login name prompt, and then hands the whole situation over to the /bin/login command. no drama, no extra steps, just vibes and authentication π
it's giving "small but does its job perfectly". lowkey iconic.
π OPTIONS π
--noclearβ makesfgettynot clear the screen before it shows the login prompt. so all your previous terminal chaos stays on display. no wipe, just vibes π--long-hostnameβ makesfgettydisplay the full hostname in the login prompt. like the whole entire thing, not the short one. flex it π
π¦ FILES π¦
/etc/issueβ printed before the login prompt. it's the little welcome banner energy β¨/etc/inittabβ theinit(8)configuration file/var/run/utmpβ the system status file. it keeps the receipts of who's logged in π
π ISSUE ESCAPES π
so the issue-file β that's /etc/issue, or the file may contain certain escape codes β can show the system name, date and time etc. and the way that works is every escape code is a backslash (\) immediately followed by one of the letters below. literally just \ + one letter. iykyk π§
dβ the current date. (eg:2002-01-19)sβ the system name, the name of the operating system. (eg:Linux)lβ the name of the current tty line. (eg:tty3)mβ the architecture identifier of the machine (eg:i586)nβ the nodename of the machine, also known as the hostname. (eg:sirius)oβ the domainname of the machine. (eg:(none))rβ the release number of the OS. (eg:2.4.3-i)tβ the current time. (eg:14:51:51)uβ the number of current users logged in. (eg:4)Uβ the string"1 user"or"<n> users", where<n>is the number of current users logged in. (eg:4 users)vβ Insert the version of the OS. (eg:#2 Fre Jan 18 23:05:45 CET 2002)
β οΈ note thatuandUare different letters bestie. one is a number, one is a whole little sentence. don't mix them up π
π ENVIRONMENT VARIABLES π
HOSTβ is set to your hostnameTERMβ is set tolinuxTTYβ is set to the current tty line
π RETURN VALUES π
okay so when things go sideways, fgetty tells you exactly which way, with numbers. here's the whole chart, no skips, no cuts π
1β could not chown/chmod tty device3β could not open tty device4β not a typewriter5β vhangup failed6β could not open tty (can't happen)7β dup failed8β could not exec login9β read returned an unexpected error10β unprintable character in login name11β login name too long (>40)13β user name started with a dash23β received SIGQUIT
π the way 6 literally says "can't happen"β¦ anyway it's still on the list so here it is. periodt.
π AUTHOR π
Felix von Leitner <felix-fgetty@fefe.de>
Homepage: http://www.fefe.de/fgetty/
okay bestie that's the whole page π«Ά this was fgetty from the System Administrator's Manual, version/date 2002-01-19. go forth and log in, main character π
β¨π
π¦ where this page comes from
- debian bookworm: fgetty 0.7-7+b2 Β· GPL-2.0-or-later
- debian trixie: fgetty 0.7-11 Β· GPL-2.0-or-later
- ubuntu jammy: fgetty 0.7-7 Β· GPL-2.0-or-later
- ubuntu noble: fgetty 0.7-9 Β· GPL-2.0-or-later
- ubuntu questing: fgetty 0.7-11
- ubuntu resolute: fgetty 0.7-12 Β· GPL-2.0-or-later
- ubuntu stonking: fgetty 0.7-12 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms