How Do I Edit My Profile in Ubuntu?
Contents

How do I edit .profile in Linux?

The first way of setting your $PATH permanently is to modify the $PATH variable in your Bash profile file, located at /home/<user>/. bash_profile. A good way to edit the file is to use nano , vi , vim or emacs . You can use the command sudo <editor> ~/.

Where is .profile in Ubuntu?

The . profile file is located in the user-specific folder called /home/<username>. So, the . profile file for notroot user is located in /home/notroot.

Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article
Twitter Facebook Pinterest