Environment variable in linux/ubuntu/mint/debian

Environment variable in linux/ubuntu/mint/debian. https://youtu.be/5xIsfvsl4oU
how to set environment variable in ubuntu/mint/debain
STEPS:-
1 - open terminal
2 - type : sudo gedit etc/environment
3 - add path at the last in that file and save then close
4 - type again in terminal : sudo gedit ~/.bashrc
5 - add this line in the end of the bashrc file : source /etc/environment
6 - save and exit
7 - you're good to go
8 - if again want to add new path then just do STEP 1, 2, 3
Note : step 4,5,6 has to be done only first time ever.

Related Videos

Hello Everyone!
This is my first video in series of videos that i have planned to make covering basic Linux Concepts.
In this video, we will understand $PATH environment variable, how to edit PATH and how to create your own custom commands.
Subscribe t...

Learn Linux Environment Variables Step-By-Step Easy Guide
What are global and local variables and how to persist them and how to use them in you bash shell and learn about variable arrays
and how to set and unset them...

More videos like these at http://www.theurbanpenguin.com
You don't really want all your admins to know your root password and you won't want them all to do everything. This is where sudo comes in. Even in a home environment you can use sudo to allow famil...

This video looks at how the DNS name space is broken up and divided between servers. Check out http://YouTube.com/ITFreeTraining or http://itfreetraining.com for more of our always free training videos. This allows the DNS name space to be controlled whil...

In this video we go over how to install ROS on Ubuntu and some potential issues you may run into if you're using Python 3.
ROS Installation Link: http://www.ros.org/install/
Ubuntu Download Link: https://www.ubuntu.com/download/desktop...

This is an intro to shell scripting with Bash. We will learn what shell scripting is and create a cheat sheet with things like variables, conditionals, loops, functions, etc. We will also do things like rename multiple files.
Cheat Sheet Gist:
https://gi...

This lesson shows you how to create and edit text files in Linux using the nano command. This is important because when we start programming we will need a text editor in which to write the programs. We also show in this lesson how to make directories or ...

DNS zones hold DNS records. These records are what contain the mapping between an IP address and a DNS name. There are many different types of DNS zones. At the end of this video you will understand the different types as well as know when to use them.
h...