linux add directory to global path

echo “PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/some/folder” >> /etc/environment

Or /etc/profile

Views All Time
Views All Time
461
Views Today
Views Today
1

Leave a Reply

Your email address will not be published. Required fields are marked *