LinuxQuestions.org
Review your favorite Linux distribution.
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 12-28-2018, 07:56 AM   #1
gaburton1@comcast.net
LQ Newbie
 
Registered: Dec 2018
Location: South Boston, VA
Distribution: Puppy
Posts: 3

Rep: Reputation: Disabled
Question Changing the default prompt in Puppy terminal


I'm having an awful time trying to make this change happen at boot time. Can someone help with a step by step process?
 
Old 12-28-2018, 09:05 AM   #2
milhan
Member
 
Registered: Sep 2005
Location: NH, USA
Distribution: Fedora 35
Posts: 49

Rep: Reputation: 1
why don't you show us what you have so far?
 
1 members found this post helpful.
Old 12-28-2018, 09:26 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by gaburton1@comcast.net View Post
I'm having an awful time trying to make this change happen at boot time. Can someone help with a step by step process?
Read the "Question Guidelines" link in my posting signature. We're happy to help you, but we aren't going to type up step-by-step instructions that will probably repeat what's already available with a brief search online; please do basic research first.

That said, you need to edit your .bashrc file, and add whatever you'd like in as the PS1 environment variable. There are LOTS of different ways to set things up, from color, to time/date, current working directory, etc.
 
1 members found this post helpful.
Old 12-28-2018, 11:37 AM   #4
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by gaburton1@comcast.net View Post
I'm having an awful time trying to make this change happen at boot time. Can someone help with a step by step process?
If you're trying to make this happen at boot time, I suspect you want to be setting this for all system users. To do that you'll want to be editing "/etc/bash.bashrc" (obviously as "root" or using "sudo vi /etc/bash.bashrc". There's a section in that file that defines "PS1" and "PS2". Edit those and the prompt is set for all users.

If all you want is for a custom prompt for yourself, define those environment variables in your personal profile "${HOME}/.bashrc".

Good luck...
 
1 members found this post helpful.
Old 12-28-2018, 12:30 PM   #5
gaburton1@comcast.net
LQ Newbie
 
Registered: Dec 2018
Location: South Boston, VA
Distribution: Puppy
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks to everyone who responded. I was able to accomplish my goal with your help. Lots better info than I was getting on the internet.
 
  


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
New install Xubuntu 14.04 trying to replace default terminal with Terminator error:Failed to execute default Terminal Emulator bdalzell Ubuntu 2 06-19-2016 04:40 AM
[SOLVED] Pinguy terminal opens to Desktop prompt by default LinuxBestOS Linux - Newbie 1 11-03-2013 08:35 PM
Changing the location a module is loaded from without changing the default path zOSGuy Linux - Newbie 2 09-28-2010 02:43 PM
terminal prompt different from console prompt dh2k Slackware 5 03-29-2010 04:38 PM
Problems changing the default login prompt... wmqman Linux - General 3 09-01-2005 01:30 PM

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

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