SCIENTIFIC-LINUX-USERS Archives

August 2021

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ekkard Gerlach <[log in to unmask]>
Reply To:
Ekkard Gerlach <[log in to unmask]>
Date:
Fri, 13 Aug 2021 00:58:36 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
Hello,

how can I customize the bash/ terminal promtĀ  always

[root@arthur Desktop]#

to

[root@arthur /home/user41/Desktop]#

or root@arthur:/home/user41/Desktop#

?

I waste tons of concentration or time to type dozends times "pwd" only 
to detect that I am in the right user directory.

I know that its set in /etc/bashrc, but I don't understand how to change.

Who knows it?

tia Ekkard

ATOM RSS1 RSS2