Home > Máy tính > Modify $PATH for root account Ubuntu / Linux Mint

Modify $PATH for root account Ubuntu / Linux Mint

The way to modify $PATH on Ubuntu / Linux Mint is a bit different from that of other Linux distros. When you have tried several ways to modify $PATH but to no avail, give yourself a chance to try this and see =).

To modify all users’ $PATH, edit this file: /etc/profile

To modify root’s $PATH, edit this file: /etc/environment

  1. No comments yet.
  1. No trackbacks yet.