Where is $PATH set up when Ubuntu boots ?
location: ubuntuforums.com - date: June 5, 2008
Silly beginners question here: Where are the initial values for $PATH set up in Ubuntu. What is the equivalent of the DOS "autoexec.bat" file in which paths are set ?
How to set PATH variables
location: linuxquestions.com - date: January 16, 2006
This may be a terribly easy question but being a newbie to the whole Linux stuff... I dont have any other option than asking it openly and accepting frankly my ignorance..
So how to set environment variables in Linux.
I think I have to use set PATH variable..
But I am dont want to take risk..
Also unlike Windows there seems to be many paths...
Will export pathname=PATH1;PATH2; suffice?
Also how to view the current PATHs..
All info regarding environmental variable setiing and manipulating are welcome
Thanks to all
how to set path in ubuntu terminal
location: ubuntuforums.com - date: August 13, 2013
How to set path for the file creation?
Whenever I am using cd command with specific path its not working..
Now what i have to do ?
Set path Permanently
location: ubuntuforums.com - date: April 30, 2010
I'm a newbie to the forums here, I'm a bit confused what to post where... Please pardon me. I have installed Ubuntu 10.04 32 bit in my Dell Studio 15. I've installed TeXLive2009 distribution and I need to add path to my username permanently.
I don't want to execute this line each and everytime when I open new terminal. Please suggest me a method where I can add it permanently.
Earlier, I think in Ubuntu 9.04, I used to add it to .bashrc file. But now, the file looks completely different, with all sorts of if statements. Hence I didn't want to touch it. Please suggest a way to add path to LaTeX permanently.
location: ubuntuforums.com - date: December 27, 2004
I'm beginning programming c with gcc, compilation went presumably ok, but cannot run compiled file a.out:
bash: a.out: command not found
I think i must set path to find the file, but how? I tried:
but after that: echo $path gives only empty line... Anyone who can help?
Set path on login (Lubuntu)
location: ubuntuforums.com - date: October 31, 2011
I know how to add to the path on login in Ubuntu: enter the new path in either /etc/profile (for all users) or ~/.profile (for just one user). For example:
Neither of these files works in Lubuntu. I have tried ~/.bash_profile, but that also does not work.
How can I set the path in Lubuntu on login, please?
Howto set PATH globally?
location: linuxquestions.com - date: January 3, 2006
I'm sorry if I'm asking a question repeated a billion times, but I can't seem to figure out how to set a path for any and all users by modifying as few files as possible...
What I do know: To edit a single user's bash profile, I need to edit .bash_profile in whichever user I want to edit's Home directory, right?
What I don't know: How can I edit the bash profile globally? Where is the file located? What do I need to add in the file itself and where?
Let's say I want to add /sbin/ as a path in a bash profile, where do I need to go and what do I need to do?
Thanks all for any help!
Something else I'd like to know: How can I make it that all users don't need to add ./ when executing commands in bash?
I'm using RHEL3 btw...
Set Path on /etc/environment
location: ubuntuforums.com - date: March 12, 2012
I installed java from Oracle. As per https://help.ubuntu.com/community/EnvironmentVariables, set the PATH at /etc/environment.
$sudo vi /etc/environment
I logged out and restarted the host just to be sure.
Now when I try running ./startup.sh from Tomcat,
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
However, when I try the following, it works:
$ $JAVA_HOME/bin/javac -version
But the following command is unable to find the right path,
$ javac -version
The program 'javac' can be found in the following packages:
Try: sudo apt-get install <selected package>
I probably could just throw it in the /etc/profile and
location: linuxquestions.com - date: August 1, 2006
I am trying to install a gcc compiler.
I set my path in my home directory:
Is this correct and is this the right file to edit?
[SOLVED] can't set $PATH variable in .bashprofile
location: ubuntuforums.com - date: October 3, 2008
Hi, I can't seem to setup my own $PATH variable. I read it was to be set in ~/.bash_profile and to use PATH=$PATH:/home/leke/dev/bin
This doesn't seem to work though. Stranger still, if I put it in .bashrc it works, but I heard thats bad because it will multiply when you call bash within the gnome terminal (which it does).
So what am I doing wrong?
Page: 1 2 3 4 5 6 7 8 9 10