LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-15-2004, 05:19 PM   #1
Jair
LQ Newbie
 
Registered: Mar 2004
Posts: 11

Rep: Reputation: 0
Prompt w/ current dir and user


I've finally gotten Slackware-Current installed, and it seems pretty good. However, I notced that the prompt for the console is root@arborlon~# and in GTerm its bash-2.05b#. Is there any way (I know there is...) to modify this, and to get color coded file names as well? Thanks.
 
Old 03-15-2004, 05:38 PM   #2
rootyard
Member
 
Registered: Aug 2003
Posts: 167

Rep: Reputation: 30
Check out some of these links:

http://www.freebsddiary.org/prompt.php
I know... it's a freebsd link but I've used this on various *nix boxes before with success.

On colors:
http://lists.debian.org/debian-user/.../msg02330.html
http://www.pages.drexel.edu/~jec43/bash.htm
A long shot but look at this:
http://www.mepis.org/node/view/1120

Misc Bash:
http://floppix.ccai.com/bashcfg.html

Hope it's helpful.
 
Old 03-15-2004, 06:16 PM   #3
Jair
LQ Newbie
 
Registered: Mar 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Exactly what I was looking for. Thanks.
 
  


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
su - and stay in current dir lord-fu Linux - Newbie 2 11-16-2005 08:08 AM
PWD question : Current dir not full path facets Programming 2 06-09-2004 04:58 AM
Placing current path in the prompt zepplin611 Linux - General 2 05-13-2004 12:07 PM
How xterm get known that current dir changed? pvv Programming 3 03-15-2004 08:27 AM
Delete a dir from prompt bkeating Linux - General 11 05-23-2002 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:16 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