-
Changing prompt
Hi people!
Well, I have a little problem. Not a problem, but something that is irritating me!
When on KDE, after Knoppix boot, I open a konsole. OK.
But the prompt is "knoppix@knoppix" (or something like that. I donīt remember, sorry).
The question: which file I have to change to display something that I want on the prompt, instead that?
(sure, I will remaster Knoppix after)
Thank you very much
Nelson
-
Junior Member
registered user
Hi !
the default logon-shell should be bash. The shell var defining the promt is PS1 (there are some other PS2 and PS3, don't know when they will be used instead).
The default value for PS1 is "\\u@\\h:\\w\\\$ "
It should be possible to change this for the root's login within the bash profile for the root-user (export PS1="..." in file /root/home/.bashrc or globally in /etc/profile.
Also see "man bash"
cheers
Knut
-
Hi Knut!
Thnak you very much for you help!
Searching a little more, I found that on Knoppix, it's necessary to change the files /etc/bashrc and /etc/profile.
Nelson
Similar Threads
-
By abbynormal in forum Hardware & Booting
Replies: 0
Last Post: 05-06-2005, 03:24 AM
-
By Fiazle in forum General Support
Replies: 2
Last Post: 12-05-2004, 10:25 PM
-
By mover50 in forum General Support
Replies: 2
Last Post: 06-20-2004, 04:51 AM
-
By DimGR in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 05-25-2004, 02:46 AM
-
By rom1616 in forum General Support
Replies: 2
Last Post: 05-13-2004, 06:56 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

VINTAGE DEC LA34/ LA100 SERIES KEYBOARD W/NUMERIC PAD 70-17864-01C
$140.00

Vintage DEC Digital Starion 200 Desktop PC Powers On Boots To BIOS NO HDD - DW
$269.99

Vintage Digital DEC 54-15688 rainbow color graphics option
$129.99

Vintage DEC/Mostek memory systems MK 8015 AA-00 6805-08015 1100 REV C(B7)
$279.99

lot of 2 ~ Vintage Digital DEC ~ H8584-AA ~ 8-pin MP to 6-pin MJ **NOS**
$18.99

Vintage DEC LK201 Computer Keyboard Used
$59.97

Vintage DEC PDT11 (VT100 Series) Terminal (Powers On).
$550.99

Vintage Digital DEC 3000/600 Model PE42A-BA Workstation
$399.00

DEC DIGITAL VINTAGE DEHUB-AX
$129.99

VINTAGE DEC/MDB Systems MLSI-TEV Circuit Board #40040340 1976 (B5)
$69.99