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 06-16-2004, 06:47 PM   #1
coopns
Member
 
Registered: Jan 2004
Location: Scituate, MA
Distribution: Mandrake 10
Posts: 94

Rep: Reputation: 15
Can I change the console command line?


Is it possible to change the[coop@x1-6-00-a0-cc-5f-d9-d3 coop]$

x1-6-00-a0-cc-5f-d9-d3

Not a big deal, just something to frig with.

Also, what does .qt stand for?

Thanks.
 
Old 06-16-2004, 07:13 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
The stuff that you're talking about there is set by the environment variable PS1 http://ieee.uow.edu.au/documents/Uni...de/node26.html
Put something like this in ~/.bashrc or /etc/profile

export PS1='\u:\w\$ '
 
Old 06-16-2004, 07:17 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Here is a link to a bash prompt howto. The variable you want to change is $PS1.
You might also want to change your hostname to something a little shorter, and wordlike.

http://www.linux.org/docs/ldp/howto/...OWTO/c141.html
 
Old 06-16-2004, 07:20 PM   #4
jlturbos
Member
 
Registered: Jun 2002
Location: Pennsylvania
Distribution: Anything and Everything
Posts: 61

Rep: Reputation: 15
That's not your hostname. It is the mac address of your ethernet card. You need to do something like:
# echo "yourhostname" >> /etc/rc.local

I had this problem in the past and that was the only solution I could find.

JL
 
  


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
change background via command line verbose Linux - General 10 07-19-2012 10:31 AM
change the time from the command line juanb Linux - Newbie 3 10-31-2007 02:11 AM
Change workspace from command line 3saul Linux - Software 4 11-18-2005 06:02 PM
command line or console Audio Cd Player perfect_circle Slackware 4 02-15-2005 12:50 PM
Retrieving email using the command line/console wimnat Linux - General 2 01-26-2005 09:58 PM

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

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