diff --git a/infra/ bash.md b/infra/ bash.md index f766386..efda73b 100644 --- a/infra/ bash.md +++ b/infra/ bash.md @@ -1,6 +1,24 @@ # Bash -Customize prompt: +# Customize prompt: + +Avant : ``` -PS1={hostname}-{now:%Y-%m-%dT%H:%M:%S.%f} +root@libre-service:~# +``` + +Modifier le nom de la machine : +``` +hostnamectl set-hostname libre-service.eu +``` + + +Modifier /root/.bahsrc : +``` +PS1='${debian_chroot:+($debian_chroot)}\u@\H:\w\$ ' +``` + +Après : +``` +root@libre-service.eu:~# ```