LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Setting up host in Terminal? (https://www.linuxquestions.org/questions/linux-newbie-8/setting-up-host-in-terminal-32017/)

CauSTiC 10-06-2002 12:15 AM

Setting up host in Terminal?
 
I'm using RH8, I was wondering how to change the host/prompt in the console.

For example, mine looks like: [CauSTiC@The-Lab CauSTiC]$

That's one too many caustic's for me. I'd rather just have [CauSTiC@The-Lab]$ if possible.

Is it?

Thanks in advance!

Peace

acid_kewpie 10-06-2002 05:49 AM

please do not double post
http://www.linuxquestions.org/questi...threadid=27542

and spell your name properly, silly l33t person!

adam_boz 10-06-2002 06:05 AM

In the PS1 variable of /home/.bash_profile or in /etc/profile, take out the "\u" character. Here's a great how-to on the bash prompt:

http://www.linux.org/docs/ldp/howto/...WTO/index.html

acid_kewpie 10-06-2002 06:12 AM

adam, don't reply to double posts.. it's already been answered...


All times are GMT -5. The time now is 12:04 AM.