Digital Marketing

Add directory to system path in Linux

PATH="$PATH:/new/path";export PATH

Since the pathnames are searched in order, you probably want to add your new path at the end of the variable as we've done here. Instead, if you typed:

PATH=/my/new/path:$PATH
Your new path would be searched before, not after, the default system paths.

Comments

Popular posts from this blog

How to fix Google Apps Script: Script function not found: doGet

Creating sort index in MySQL

How to fix: df shows no file systems processed on Linux