Good day,> [johan at unknown2a6800000000 ~]$How/where could I make the above a lot shorter please. Thanks Johan
Just for prompt ? If yes, just play with PS1 : export PS1="\u at myhost \w" If not I think you have to change your hostname, right ? On Thu, Nov 25, 2010 at 21:36, Johan Scheepers <johansche at telkomsa.net> wrote:> Good day, > >> [johan at unknown2a6800000000 ~]$ > > How/where could I make the above a lot shorter please. > Thanks > Johan > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
On 11/25/10 12:36 PM, Johan Scheepers wrote:> Good day, > >> [johan at unknown2a6800000000 ~]$ > How/where could I make the above a lot shorter please.A) choose a shorter hostname B) change your default prompt via an export PS1=.... in $HOME/.bashrc see http://tldp.org/HOWTO/Bash-Prompt-HOWTO/bash-prompt-escape-sequences.html for the PS1 options...