[wellylug] modifying /etc/issue
Jethro Carr
dodocaptain at paradise.net.nz
Wed Aug 13 15:54:15 NZST 2003
On Wed, 2003-08-13 at 10:53, Jamie Dobbs wrote:
> I want to modify my /etc/issue file to display some information such as
> terminal/tty number, time, date, etc.
I found a list of all the possible commands in the 'Beyond Linux From
Scratch Book'.
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. i486
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.4.16.
t Insert the current time.
u Insert the number of current users logged in.
U Insert the string "1 user" or "<n> users" where <n> is the
number of current users logged in.
v Insert the version of the OS, e.g. the build-date etc.
I hope this helps...
--- Jethro
dodocaptain at paradise.net.nz
homepages.paradise.net.nz/jethroc/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20030813/a0f33567/attachment.htm
More information about the wellylug
mailing list