How to Clear Usernames from the Terminal: A Step-by-Step Guide

By November 17, 2020Linux

To clear username from terminal in linux simply add the following to the end of your ~/.bashrc file, then logout and login!

export PS1="\W \$ "

Solves : How to hide computer name and user name in terminal

Leave a Reply