LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 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: 51
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 -current
Posts: 1,158

Rep: Reputation: 62
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: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

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



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
What is foo bar satimis Programming 25 04-26-2019 08:21 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 / openSUSE 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:47 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
Open Source Consulting | Domain Registration