gcb
10-20-2001, 03:09 PM
does anyone know the commands that you can place in the /etc/issue file?
|
Click to See Complete Forum and Search --> : /etc/issue customizing gcb 10-20-2001, 03:09 PM does anyone know the commands that you can place in the /etc/issue file? error27 10-20-2001, 03:30 PM man issue or man getty bdg1983 10-20-2001, 04:02 PM You cannot add commands to /etc/issue. Only text. issue - pre-login message and identification file gcb 10-20-2001, 05:07 PM but i've seen things like \s and \l in an issue file and they do thinks like print the kernel version & what tty your on...i was wondering where i'd find these things error27 10-20-2001, 05:10 PM ISSUE ESCAPES The issue-file (/etc/issue or the file set with the -f option) may contain certain escape codes to display the system name, date and time etc. All escape codes consist of a backslash (\) immediately followed by one of the let? ters explained below. 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, eg. 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 OS, eg. 1.1.9. 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, eg. the build-date etc. bdg1983 10-20-2001, 05:18 PM Sorry as I thought you meant actual commands such as ls, insmod etc. error27 is correct with the escape codes. gcb 10-20-2001, 05:28 PM ah don't worry about it login name, thanks anyway...thanks for the info guys justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |