Hi Folks,
Currently my 9.2 systems show
On Tue, Dec 07, 2004 at 12:19:08PM -0600, Peter B Van Campen wrote:
Currently my 9.2 systems show
at the cmd line prompt and other places. Where in YAST can I change that?
It's somwhere under "Network" in yast, but usually it's faster to just edit /etc/HOSTNAME Regards, -Kastus
On Tue, 2004-12-07 at 12:19 -0600, Peter B Van Campen wrote:
Hi Folks,
Currently my 9.2 systems show
at the cmd line prompt and other places. Where in YAST can I change that? PeterB
The "linux" bit is the system host name: you can change it in YaST > Network Services > DNS and Host Name. Is it a "stand-alone" machine, or part of a network? David -- Registered Linux User No 207521 at The Linux Counter http://counter.li.org/ "Never offend people with style when you can offend them with substance."
Jim Sabatke wrote:
Peter B Van Campen wrote:
Hi Folks,
Currently my 9.2 systems show
at the cmd line prompt and other places. Where in YAST can I change that? PeterB
yast -> DNS and Host Name
The host name is the first field on the screen.
Jim
Oops, typed too fast: yast -> Network Services -> DNS and Host Name Jim
On Tuesday 07 December 2004 12:19, Peter B Van Campen wrote:
Hi Folks,
Currently my 9.2 systems show
at the cmd line prompt and other places. Where in YAST can I change that? PeterB
Yast2->Network Services->DNS and Host Name -- JAY VOLLMER JVOLLMER@CONSOLIDATEDLINT.COM TEXT REFS DOUBLEPLUSUNGOOD SELFTHINK VERGING CRIMETHINK IGNORE FULLWISE
Tue, 07 Dec 2004, by peterb@vancampen.org:
Hi Folks,
Currently my 9.2 systems show
at the cmd line prompt and other places. Where in YAST can I change that?
For a more generic answer of how to replace your prompt: man bash /prompt_command e.g #v+ PROMPT_COMMAND='PS1=`if test "$UID" = 0 ; then \ echo "\[\033[33;40m\]\u:\`pwd -P\` #\[\033[0m\] " ; \ else \ echo "\[\033[32;40m\]\u:\`pwd -P\` $\[\033[0m\] " ; \ fi `' #v- which set the prompt to green-on-black 'user:pwd $' for mortals and red-on-black for uid 0 Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 27N , 4 29 45E. + ICQ: 277217131 SUSE 9.2 + Jabber: gurp@nedlinux.nl Kernel 2.6.8 + MSN: twe-msn@ferrets4me.xs4all.nl See headers for PGP/GPG info. +
participants (6)
-
David Robertson
-
Jay Vollmer
-
Jim Sabatke
-
Kastus
-
Peter B Van Campen
-
Theo v. Werkhoven