Results 1 to 3 of 3

Thread: Changing prompt

  1. #1

    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

  2. #2
    Junior Member registered user
    Join Date
    Mar 2004
    Location
    Wilhelmshaven, Germany
    Posts
    11
    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

  3. #3
    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

  1. Knoppix 3.4 can't get to boot prompt
    By abbynormal in forum Hardware & Booting
    Replies: 0
    Last Post: 05-06-2005, 03:24 AM
  2. Log out prompt
    By Fiazle in forum General Support
    Replies: 2
    Last Post: 12-05-2004, 10:25 PM
  3. no commad prompt
    By mover50 in forum General Support
    Replies: 2
    Last Post: 06-20-2004, 04:51 AM
  4. it does not prompt me how to log in
    By DimGR in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 05-25-2004, 02:46 AM
  5. trying to launch but stops at dos prompt
    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
  •  


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

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 picture

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 picture

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) picture

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** picture

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

$18.99



Vintage DEC LK201 Computer Keyboard Used picture

Vintage DEC LK201 Computer Keyboard Used

$59.97



Vintage DEC PDT11 (VT100 Series) Terminal (Powers On). picture

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

$550.99



Vintage Digital DEC 3000/600 Model PE42A-BA Workstation picture

Vintage Digital DEC 3000/600 Model PE42A-BA Workstation

$399.00



DEC DIGITAL VINTAGE DEHUB-AX picture

DEC DIGITAL VINTAGE DEHUB-AX

$129.99



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

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

$69.99