documentation/infra/ bash.md

25 lines
282 B
Markdown
Raw Normal View History

2021-11-09 18:10:12 +01:00
# Bash
2021-11-09 18:13:39 +01:00
# Customize prompt:
Avant :
```
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 :
2021-11-09 18:10:12 +01:00
```
2021-11-09 18:13:39 +01:00
root@libre-service.eu:~#
2021-11-09 18:10:12 +01:00
```