LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 08-02-2006, 06:33 PM   #1
JussiKp
Member
 
Registered: Aug 2006
Posts: 49

Rep: Reputation: 15
foo@bar:~$ <- how to change bar?


I have now user@localhost but I'd like to change that localhost to something else. How do I make the change?
 
Old 08-02-2006, 06:46 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 47
I assume you want to change your hostname. What distro are you running?
 
Old 08-02-2006, 06:48 PM   #3
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,137

Rep: Reputation: 55
search for PS1. mine's setup in ~/.bashrc as

PS1='\u@\h:\w\$ '

that gives me

Code:
raghu@kbo1:~$
Look here
 
Old 08-02-2006, 07:38 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Originally posted by JussiKp
Quote:
I have now user@localhost but I'd like to change that localhost to something else. How do I make the change?
man hostname
 
Old 08-03-2006, 05:46 AM   #5
JussiKp
Member
 
Registered: Aug 2006
Posts: 49

Original Poster
Rep: Reputation: 15
Thanks guys.

Last edited by JussiKp; 08-03-2006 at 06:41 AM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is foo bar satimis Programming 16 07-27-2008 10:22 PM
changing theme doesn't change the kde bar v4mpiro Mandriva 7 04-10-2006 01:38 PM
KDE task bar / menu bar has dissaspeared! KingofBLASH Suse/Novell 1 03-05-2006 09:24 PM
For foo in bar; do angel115 Programming 1 11-16-2005 04:52 PM
how to change kde menu side bar msalimane Mandriva 2 01-08-2005 05:21 PM


All times are GMT -5. The time now is 03:30 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration