Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to pipe my tty number through figlet (ASCII generator) for the /etc/issue (message shown before login). Obviously this means I can't just update it from /etc/rc.local.

On my system (Arch), agetty is responsible for parsing the file.

share|improve this question
It seems you're going to need to hack your own agetty replacement or at least write a wrapper :) – Vitor Py Jul 18 '11 at 2:06

I'm sure there's a cleaner way to do this, but one solution would be to run your figlet command and redirect the output into /etc/issue.tty{1-11}, effectively hard-coding the figlet output for each tty.

share|improve this answer

This reminds me of the linuxlogo package. Check it out like this:

$ apt-cache search linuxlogo
linuxlogo - Color ANSI System Logo

$ sudo apt-get install linuxlogo

$ linuxlogo -L list
share|improve this answer
The OP is looking for an Arch solution, not a Debian/Ubuntu one... – jasonwryan Jul 20 '11 at 1:48
archlinux.org/packages/extra/i686/linux_logo is the Arch native package. – Mark Hudson Feb 7 '13 at 22:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.