Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-15-2009, 06:56 AM   #1
LQ Newbie
Registered: Jun 2005
Posts: 15

Rep: Reputation: 0
Change default prompt

I am using Puppy Version 430.
I want to change the default prompt from # to the current working directory followed by one space.

I can do this by opening a console window and entering PS1="\w "

How do I force this to persist when I restart the computer.

Old 12-15-2009, 07:13 AM   #2
Senior Member
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Put them in your ~/.bashrc ?


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
I'd like to change the default shell prompt. lynnevan Linux - General 9 09-08-2011 09:00 AM
change openbsd default prompt... sarajevo *BSD 1 05-26-2009 10:05 AM
change grub boot order, all instructions say change default, but I don't see default mhg Linux - Newbie 5 11-09-2008 11:01 AM
GDM doesn't prompt me for default session nuzzy Linux - Software 1 11-14-2004 09:56 AM
default prompt nero64 Linux - Newbie 6 12-10-2002 07:16 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration