Ubuntu :: Location Of PATH Variable On Netbook 10.10 Maverick?
Nov 13, 2010
I'm trying to install Go (programming language):
[URL]
The installation was OK, but I can't find where the PATH variable is set for 10.10 netbook remix.
Code:
~$ echo $PATH
gives:
Code:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
View 9 Replies
ADVERTISEMENT
Apr 26, 2011
Experimenting with shell variables, accidentally deleted the path variable how could I return to the original path value. What kinds of problems will I have if I don't have a path variable.
View 3 Replies
View Related
Oct 21, 2010
how to add a path to PATH variable permanently so that it remains persisent even after closing shell and rebooting the system when i added a path, to variable it remained there as long as i didn't closed the shell. but when i reopened it ,changed were undone.
View 2 Replies
View Related
Apr 19, 2009
I am trying to figure out how i can add the path /usr/sbin/ into the $PATH variable. I want this to be used from the normal account. I am bored settinh this manualy each time my computer starts.
View 2 Replies
View Related
Jan 14, 2010
How do I permanently add a location to my $PATH so it is always there when I open terminal?
Also is there a GUI for this?
View 2 Replies
View Related
Aug 27, 2010
Quote:
Select a starter package from the table at the top of this page and download it to your development computer. To install the SDK, simply unpack the starter package to a safe location and then add the location to your PATH.How do I add a location to PATH?
View 1 Replies
View Related
Oct 26, 2010
I'd like to upgrade my netbook from Lucid Netbook Edition to Maverick. However, in trying the live USB, I found Unity to be unusable. Is it possible to use Maverick and keep the interface from the Lucid Netbook Edition?
<rant>Unity is painfully slow and missing several essential features. Also, who in their right mind would make a sidebar that's reminiscent of the MacOS dock? Mixing launchers with icons for currently-open programs is brain dead.
View 2 Replies
View Related
Dec 1, 2010
I installed Ubuntu 10.04 only be dismayed to find ${HOME}/bin FIRST IN THE PATH. I blogged about it at my blog (I sudo an xterm rather than just sudoing to get a different background for the sudo'd xterm): [url]
I agree that some new user should probably not be logging on as root. But if the replacement for 'ls' is in their ${HOME}/bin/ the sudo'd shell inherits the same PATH, umask, and everything else! In general I take a dim view of a sudo only way of doing things. It seems to cause more problems than it solves for disciplined, knowledgeable users. In the case of Ubuntu it caused me to create a /root folder for root to reset the umask back from 077 which is what I use over to 022 which is what root should use. The /root/.profile of course made sure there is no /home/me/bin in the sudo'd PATH. It didn't matter because somebody is not just SETTING the file perms and is instead calculating them based off of modifications to the umask. JUST SET THEM! I ran into a problem with GRUB getting things fouled up because I was having to remove the new kernels and instead of using the command line option (much prefereable) used Synaptic Manager instead: [url]
In fhe case of an infection living in a user's file space you really should want to go in to clean it out as some other user than the user that is infected. Having said that the hackers seem to be going for the whole enchilada right off the bat. A WARNING is in order here. DO NOT USE A ROOT ACCOUNT OR SUDO FOR NORMAL TASKS! But please put ${HOME}/bin last in the PATH or preferably don't even put it in the PATH at all. Let users add it themselves if they want it. Also once hackers figure out that hijacking a sudo tty (from what I just read else-where here I would say several hackers are working on doing that right now - sendmail my ****) is a dandy way of doing things you really will need to provide for ways of cleaning a user infestation out by going at it some other way than through that infected user. A lot of Ubuntu users have only one login account, the one they created when they set the machine up.
View 9 Replies
View Related
Oct 20, 2010
I have just installed Ubuntu onto my machine and my question is if it automatically comes with the PATH environment variable?If so, how do I add something such as python.exe to the PATH environment variable?
View 2 Replies
View Related
Jul 29, 2011
I need to set PATH environment variables so they will be set every tie I startup ubuntu. Is there a startup script that will do this, and where is it located?
View 2 Replies
View Related
Dec 5, 2010
Unity is too slow and buggy for me right now and I really really loved the old netbook remix interface (I wish they would make that one the default instead of Unity).Anyways, I read somewhere that I can still install it in maverick with a simple package install but I've looked everywhere for it and couldn't find the exact package.
View 1 Replies
View Related
Jan 14, 2010
By mistake I have modified the PATH variable you know what a kind of mess it is.
Code:
echo $PATH
I just need to set the path variable again so I just need the format. Or can anybody come up with how to set the path variable.
View 6 Replies
View Related
Mar 16, 2010
I want to add a path (/usr/sys) to the global $PATH. I will use this to test commands and scripts, which I don't want to be mixed up with regular commands. I've added the path to /etc/environment. When I start a terminal session under my user account, the path is included in the $PATH variable. However, when I start a root terminal, it is not. Is there a way to to change $PATH on one place where it will also affect the root terminal, or do I have to change it on 2 locations?
View 4 Replies
View Related
Mar 7, 2010
How can I find the lynx location path on my server via SSH
View 2 Replies
View Related
Sep 22, 2010
I have a program that has a GUI which I have placed in /usr/local/bin however when I invoke the program I receive the following error:
Unable to find a supported JDK or JRE version. Version 1.3.1 or higher is required. Check your installation and use +javahome to specify the JDK or JRE location
I have since installed Java into the usr/local/ directory however I am now just totally Lost! Additionally, I believe that i have tried to install Java several times with no luck.
Questions:
1) Where should java be installed to have system wide access to all programs?
2) How can I place the Java location in my $PATH? here I am going to need very easy and detailed instructions?
3) Is there a way to ensure that the location where I intall java gets updates?
View 1 Replies
View Related
Mar 12, 2011
I was changing my sudoers file to give permission of using "sudo" command to all root commands, asking for the password. It works, it's fine. The problem I'm having is with the variable PATH to my user, I think.
In terminal:
normal user:
Code:
ataias@ataias-notebook:~/Downloads$ echo $PATH
/usr/local/bin:/bin:/usr/bin
super user:
Code:
root@ataias-notebook:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin
As many commands are in /sbin/, root can use them without writing "/sbin/" but I can't do the same cause it's not in my path.
while root do this:
Code:
shutdown -h now
I should do:
Code:
sudo /sbin/shutdown -h now
and I want to use only
Code:
sudo shutdown -h now
I want to change my user's path variable to make it equal to root's path. how to change it? I don't know many things of shell still.
View 5 Replies
View Related
Oct 16, 2010
I want to add my current working directory to the PATH variable and make it permanant in my .bash_profile so I can run my testscript without using the ./ charactors.can this be done?
View 5 Replies
View Related
Jan 22, 2010
One of my colleague ran into trouble with setting up of path variable.
Earlier the entry for PATH in /etc/profile was:
Code:
Now what he mistake is:
He added a new Lines at the end as
Code:
Now due to this he is unable to run commmands now because that has overwritten the earlier PATH varaible.
If he types now:
It shows:
Code:
View 7 Replies
View Related
Apr 25, 2011
set the PATH environment variable?
View 4 Replies
View Related
Dec 8, 2009
I didn't find this question in the FAQ or through the Search button.I added a server application and would like to update the PATH env't variable so that I don't have to type the full path for its binaries. I'd like to make sure I do it right: Do I just need to edit /etc/profile or is there another file somewhere in CentOS that I should use instead?
View 3 Replies
View Related
Dec 6, 2010
I get this every time I try to run a game eg pacman Command 'pacman' is available in '/usr/games/pacman' The command could not be located because '/usr/games' is not included in the PATH environment variable. pacman: command not found
View 4 Replies
View Related
Jan 21, 2011
I am Just trying to set the Environmental variable using a script file and my code is as follows:
#!/bin/bash
echo $PATH
PATH=${PATH}:/opt/bin
export PATH
echo Environmental Variable path is Set
echo $PATH
When I am running the above script, from the last line "echo $PATH" I am getting that /opt/bin has been appended to the PATH but again when I am typing echo $PATH in the terminal I am not getting the newly appended path.
View 3 Replies
View Related
Feb 18, 2011
I installed java in my pc by running the following on the shell
./jdk-6u24-linux-i586.
I need to set the path to the bin directory and also a new environmental variable JAVA_HOME.
View 2 Replies
View Related
Sep 7, 2011
I installed new jre in linux. but i when i checked env variable $JAVA, it is showing old version. how to set the default java env variable to new installed location
View 1 Replies
View Related
May 19, 2015
I have been trying to change my PATH environment variable to no avail. I am using Jessie i386 with MATE. Using my .bashrc file works but not well because with subshells the modifications get repeated. I want the change to occur on login.
I tried modifying ~/.profile ~/.bash_profile /etc/profile and /etc/environment and one or two others but in no case did my change get picked up even after logging out and in again and even after rebooting. I searched the Internet and found each of the above places to make the change but they don't seem to work with Jessie.
Where do I make the necessary change?
View 7 Replies
View Related
Mar 15, 2010
Originally Posted by Gekitsuu you should be able to do NEWSTRING=$STRING1$STRING2 it works but i can't use it for creating a path variable / file name.
e.g.
$STRING1 = path
$STRING2 = filename
cat $STRING1$STRING2 will not work.
so how to get this working?
View 4 Replies
View Related
Dec 20, 2010
I tried to install JRE to my remote Suse 11 SP1 linux.After i finished with files i typed like
export PATH=<my jre path>
now i have no bash commands - typing ls causes
-bash: ls: command not found
i think that i should re-export my PATH to the right value but i don't know what it should be. I tried differend values
/etc/profile
/usr/bin
View 3 Replies
View Related
Jan 30, 2010
What steps have to be followed for having customized contents of PATH environment variable whenever new users are created? I require this in order to include a special directory into PATH variable; and this has to be a default one for all the newly created users.
View 3 Replies
View Related
Oct 1, 2010
I have downloaded java and installed it with chmod +x and then ./bin package.
Hereunder is an output from CLI (putty)
I understand that the system knows the java is in a wrong place but if I do java -version it finds it correctly. I don't know and I don't understand how do I need to tell the OS that the java is somewhere else, I just did that with export java home and java path but still dosen't work, it keep tells when I do whereis java "java: /usr/share/java"
Here is another output:
View 10 Replies
View Related
May 28, 2010
I'm having a strange issue with the PATH variable when running the command 'sudo su'. When executing this command the PATH variable changes. No problems there, but it changes to:
Code:
Looking at this, there are two weird entries (//sbin and //bin) which should both start '/usr' instead. I'm not sure how I've managed to change this, or how a piece of software I'm using has done it (more likely it was me I expect), but could anyone suggest which file to look in to correct it? If it makes a difference the machine is running CentOS 5.
View 2 Replies
View Related