How to export $PATH variable in Ubuntu

How to export $PATH variable in Ubuntu

sudo vim /etc/profile.d/scrip_name.sh
export PATH=your_path:$PATH
sudo chmod a+x script_name.sh

About sanhom
Free Your Mind..

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.