Hi
Ok guys I'm trying to make my own environment variables but it's not working , please help me with this .
Also please don't give me a link to something you got by googling , because i can search it myself but i need some simple explanation .
alaa sam
-2
Junior Poster
Recommended Answers
Jump to PostHi alaa sam,
The two ways of setting the environment variables are:
1. "name of your env variable"="path to command". For example, let's say you want to access a folder named alaa located on your desktop from anywhere in your directory path, say from /etc/sam , you can set an …
Jump to PostYou'll need to find your user profile which is usually under /etc/your_user_login_name/.bash_profile. N.B, you should replace the text in italics with your username on the system. To add the command, just type :absolute path to your command immediately after the line starting with PATH. Save the changes and exit. In …
All 8 Replies
shibblez
2
Junior Poster in Training
alaa sam
-2
Junior Poster
shibblez
2
Junior Poster in Training
alaa sam
-2
Junior Poster
c-tech
3
Junior Poster
Mouche
commented:
Great explanation.
+7
alaa sam
-2
Junior Poster
c-tech
3
Junior Poster
alaa sam
-2
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.