Question about .bashrc
Peter Flynn
peter at silmaril.ie
Sat Sep 9 09:55:21 UTC 2023
On 09/09/2023 09:30, Bret Busby wrote:
> Hello.
>
> I am wondering whether it is possible to set .bashrc to display, at
> terminal prompts, the date and time in ISO format, rather than in the
> USA format, and, if so, what setting(s) to apply.
Something like
export PS1="\u@\H \D{%Y-%m-%d}> "
at the command line, as a test.
In .bashrc, use set instead of export.
https://phoenixnap.com/kb/change-bash-prompt-linux
Peter
More information about the ubuntu-users
mailing list