Customizing Your Terminal Name — Give Your Lab Some Personality!
Hey folks 👋
While practicing Bash commands in my home lab, I found a quick way to customize the terminal name — and it honestly makes your setup feel way more personal and DevOps-ready 😎
Instead of the default name:
root@pve:~#:~$
You can make it something like:
devlab@ubuntu:~$
⚙️ Try it yourself:
For Mac (Zsh) or Ubuntu (Bash) users — open your config file:
nano ~/.zshrc # for Mac
nano ~/.bashrc # for Ubuntu
Add this line:
PROMPT='devlab@lab %1~ %# ' # zsh
PS1='devlab@lab:\w\$ ' # bash
Save and reload:
source ~/.zshrc || source ~/.bashrc
Optional — rename your system too:
sudo hostnamectl set-hostname devlab
It’s a small tweak, but it really makes your terminal feel like your own playground.
If you’ve customized yours too, drop a screenshot or name idea below 👇
13
16 comments
Adeyemi Ojo
5
Customizing Your Terminal Name — Give Your Lab Some Personality!
KubeCraft (Free)
skool.com/mischa
Only for DevOps Engineers
Get hired to build the future
Use the Community, Blueprint and the KubeCraft Roadmap
Leaderboard (30-day)
Powered by