Linux Console Login Screen TTY Change Message

This is all controlled by /etc/issue

You can basically enter anything in there that you like, but there are preset variables that are mentioned at the end of the page that discuss this.

Some examples of /etc/issue:

Centos 7:

\S
Kernel \r on an \m

Ubuntu 16.04:

Ubuntu 16.04.6 LTS \n \l

You can also insert any of the characters below preceded by a blackslash \ and it will insert the relevant information.

b   Insert the baudrate of the current line. d   Insert the current date. s   Insert the system name, the name of the operating system. l   Insert the name of the current tty line. m   Insert the architecture identifier of the machine, e.g., i686. n   Insert the nodename of the machine, also known as the hostname. o   Insert the domainname of the machine. r   Insert the release number of the kernel, e.g., 2.6.11.12. t   Insert the current time. u   Insert the number of current users logged in. U   Insert the string "1 user" or " users" where  is the     number of current users logged in. v   Insert the version of the OS, e.g., the build-date etc.


Tags:

linux, console, login, tty, messagethis, controlled, etc, preset, variables, examples, centos, kernel, ubuntu, lts, insert, characters, preceded, blackslash, relevant, baudrate, operating, architecture, identifier, nodename, hostname, domainname, users, logged, quot, user, os,

Latest Articles

  • Enable AMDGPU Linux Driver
  • apache symlinks denied even with followsymlinks
  • chown how to change ownership on a symlink
  • how to use ifplugd in Linux to execute a command or script when a NIC cable is unplugged or plugged in
  • dd how to backup and restore disk images including compression with gzip
  • mpv / mplayer with Radeon / AMD GPU Video Card Driver enable VDPAU GPU Accelerated Video Decoding
  • Wordpress Reset Blog User Password from MySQL Using Linux Bash and not PHPMyadmin
  • Ubuntu Linux Mint Debian xorg performance and tear-free tuning for AMD Radeon Based Cards
  • Centos 7 Stopped and Disabled Firewalld and ports still blocked
  • MariaDB / MySQL Reset Root Forgotten Password on Centos 7
  • Centos 7 How to install Mysql/Mariadb
  • PHP 7.2, Apache and Centos 7 How To Install
  • Ubuntu Debian Linux Mint r8169 r8168 Network Driver Problem and Solution
  • Linux 3D Performance benchmarks with glxgears 59-60fps solution
  • How To Install Asterisk 16 17 on Debian Ubuntu Linux
  • Linux Ubuntu Debian Centos How To Make a Bootable Windows 7, 8, 10, 2016, 2019 Server USB from ISO
  • How To Restore Windows MBR Bootsector from Linux using syslinux
  • Linux Ubuntu Cannot Print Large Images
  • Cannot Print PDF Solution and Howto Resize
  • Linux Console Login Screen TTY Change Message