LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-03-2009, 11:56 PM   #1
GGlinux
LQ Newbie
 
Registered: Oct 2008
Posts: 28

Rep: Reputation: 15
How do you change the console prompt?


I want to change the profile at the prompt, eg

Now when I ssh or login at console i get root@localhost,

i want to change it to root@pxe.KK.au.premiere.com

How do I do this? I edited the /etc/sysconfig/network and still no change, what am I missing?

Regards
 
Old 03-04-2009, 01:33 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
Quote:
Originally Posted by GGlinux View Post
I want to change the profile at the prompt, eg

Now when I ssh or login at console i get root@localhost,

i want to change it to root@pxe.KK.au.premiere.com

How do I do this? I edited the /etc/sysconfig/network and still no change, what am I missing?
One way would be to edit your /etc/hostname file.
 
  


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
console prompt logo amiro Debian 2 10-29-2007 12:12 AM
No 'Fancy' prompt in console? BroX Debian 11 11-09-2004 08:26 AM
Cant get console prompt or su in KDE on compiled 2.6.8.1 martinp26 Linux - General 3 09-02-2004 11:04 AM
Bluecurve to console prompt roiboy Linux - Newbie 1 04-28-2004 02:19 PM
Console prompt woes ericcarlson Linux - Software 3 03-12-2003 04:23 AM

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

All times are GMT -5. The time now is 11:14 AM.

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