LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-06-2002, 01:15 AM   #1
CauSTiC
LQ Newbie
 
Registered: Oct 2002
Posts: 2

Rep: Reputation: 0
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

Last edited by CauSTiC; 10-06-2002 at 02:15 AM.
 
Old 10-06-2002, 06:49 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

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

and spell your name properly, silly l33t person!
 
Old 10-06-2002, 07:05 AM   #3
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
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
 
Old 10-06-2002, 07:12 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
adam, don't reply to double posts.. it's already been answered...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help setting host name please? MichaelD Linux - Newbie 1 05-20-2005 11:33 PM
Linux Terminal Server and Host/Client processing workloads X_ArchAngel Linux - Networking 0 02-16-2005 09:11 PM
Setting up a virtual host zupidupi Linux - Networking 2 01-30-2005 09:58 AM
Setting the Host name xailer Linux - Newbie 9 11-18-2003 09:35 PM
Setting up host in Terminal? CauSTiC Linux - General 6 10-06-2002 08:54 AM


All times are GMT -5. The time now is 10:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration