Terrascope logo Proba-V MEP logo
This forum applies to Terrascope and Proba-V MEP. Please note that the forum is in English only.
Please log in using the link in the top menu to add new forum topics or comments.

Bash prompt

Dear supporters, The VM's bash prompts (SSH) are centrally managed (Puppet), but I guess there is a particular way to customize/configure the prompt. I would like it to look like default Ubuntu: [<username> <fullpath>]$ Preferably with colorized output. How can this be done? Thanks.

Comments

Hallo Robmarjot, You can customize the shell prompt by defining the PS1 parameter in the "~/.user_aliases" file, for example: PS1="\u@\h:\w\$ " Using a PS1-parameter like above should update the bash prompt like you requested. Kind regards, Simon Van Baelen
Restez à jour
Inscrivez-vous
Des Nouvelles perspectives

Restez à jour