A set of dynamic variables that can affect the running processes.

learn more… | top users | synonyms

1
vote
1answer
30 views

Unable to launch Spark

I followed this answer. I am getting this error: spark-class: line 86: /usr/lib/jvm/java-8-oracle/bin/java: No such file or directory And to my surprise, I have: gsamaras@gsamaras:/usr/lib/jvm$ ...
0
votes
2answers
32 views

How i can run java from terminal? [on hold]

I've copy the java from downloads folder to the bin folder and I've tried so many ways to set it. So can just type java in terminal. But it always not working. Please help me.
0
votes
0answers
16 views

HBase and Java_HOME

I have set JAVA_HOME. Nevertheless HBase doesn't recognize it. vagrant@precise32:/usr/local/hbase-1.0.3$ echo $JAVA_HOME /usr/lib/jvm/java-1.7.0-openjdk-i386 vagrant@precise32:/usr/local/hbase-1.0.3$ ...
0
votes
1answer
45 views

Ubuntu 15: after installing and configuring java, echo $JAVA_Home is working, Java -version is not working [duplicate]

I have installed the oracle Java 8 and configure it. cmd-> echo $JAVA_HOME /usr/lib/jvm/oracle_jdk8 cmd-> echo $PATH ...
0
votes
2answers
1k views

HDF5 and GSL library problem on Ubuntu 14.04.1 64-bit

I ran into errors in the installation of the FDTD software MEEP on Ubuntu.Although I have hdf5-tools and libhdf5 installed on my system(Ubuntu 14.04.1 64-bit), the make step of the installation of ...
10
votes
2answers
1k views

Desktop Files don't seem to use $PATH correctly

I am creating .desktop files for use in the Unity Launcher. I have my own location in my home directory where I put my executables (~/usr/bin/) which is correctly added to my PATH environment ...
387
votes
15answers
558k views

How to add a directory to my path?

How do I add a directory to my $PATH in Ubuntu and make the changes permanent?
1
vote
2answers
1k views

Importing a Python module works from command line, but not from PyCharm

My default Python binary is set to the one with the Anaconda distribution of Python. This is found at /home/karnivaurus/anaconda/bin/python, and I have made this the default by adding to my .bashrc ...
1
vote
1answer
24 views

What files are ran when I log into the desktop?

I don't know how to phrase this to be clear. I'm not talking about terminals or shells, I know what the difference between login and non-login shells are. What I want to know is when I start up my ...
1
vote
0answers
19 views

XFCE4 equivalent for GTK2_RC_FILES (for per-application basis themes)

I want to run separate applications with different themes, the only solution for this that I could find was to use bash -c 'GTK2_RC_FILES=/path/to/gtkrc program'; however, I currently am using a XFCE4 ...
0
votes
3answers
54 views

How do i efficiently use environment variables?

I'm curious about learning about choosing correct env. variables. How to make out setting what env. variable would get the job done Example: if you want to make sure that command history always ...
0
votes
2answers
37 views

Add android-studio/bin/ to PATH environmental variable

Recently I installed Android Studio. Now I want to add android-studio/bin/ persistently to PATH environmental variable as Session-wide environment variables and not as System-wide environment ...
0
votes
0answers
28 views

variable exported in sourced file not available

I have a script that contains the following: #!/bin/bash source $HOME/.bashrc echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" This script is run on @reboot by cron, with output redirected to a log file. ...
-2
votes
1answer
41 views

Adding Scala to `PATH` in Zsh

I have downloaded Scala to ~/bin for easy access on my machine; but I seem to have some difficulty adding it to the PATH. On my MacBook I simply added the following to ~/.profile and everything just ...
2
votes
3answers
39 views

$JAVA_HOME resets after every terminal login

I just installed openjdk-8-jdk. I already had openjdk-7-jdk installed. When I ran echo $JAVA_HOME, it printed /usr/lib/jvm/java-7-openjdk-amd64. So I tried changing the $JAVA_HOME variable but it ...
0
votes
0answers
11 views

Unicorn not setting ENV variables for Rails on a Droplet on Digital Ocean

I started out with the Rails Droplet, made some changes, wiped some keys, and then created my own image. I started from this tutorial: ...
0
votes
2answers
31 views

Adding further variable to until command

I have the following command which works ok but I would like to add a further variable in somehow: #!/bin/bash x=40000 until [ $x = "180000" ]; do dd bs=1 if=static.file of=extracted${x}.file ...
0
votes
0answers
8 views

Can bash wrapline according to a tab?

Right now in bash, if a string of characters is too long for the window to display, it wraps the text, slicing words in half, and does not keep the tab indentation set at the beginning of the line. ...
28
votes
5answers
50k views

How do I modify my PATH so that the changes are available in every Terminal session

I want to add a directory to search my search path. I know I have to modify the $PATH environment variable. However, I want the change to be permanent, so that it is always in effect, for every ...
3
votes
3answers
37k views

How to set JAVA PATH in Ubuntu 12.04?

So java -version give path not found. I have tried the following: Edit: ~/.bashrc ~/.profile /etc/environment bash.bashrc files and add to them the following: ...
0
votes
0answers
19 views

Cannot update /var/lib/gdm/.ICEauthority after restoring /var directory

I have tried the following for getting this error fixed. Boot into "Recovery Mode". Input the root password for maintenance mode. Go to the /var/lib/gdm folder (cd /var/lib/gdm). Remove the ...
25
votes
3answers
95k views

How to configure ADB access for Android devices?

I'm using Ubuntu 12.10 and I have installed Android SDK, set it's path in my user .bashrc and it works. The problem is that my phone requires adb to be ran by root for permissions, but running adb ...
1
vote
2answers
281 views

Nautilus “open in terminal” extension will not propagate SSH_AUTO_SOCK?

I have Ubuntu Gnome 14.04, up-to-date; nautilus and nautilus-open-terminal are installed and updated: [romano:~] % wajig status nautilus nautilus-open-terminal Package Installed ...
11
votes
6answers
2k views

What does export PATH=something:$PATH mean?

I am very new to Linux and I put the following command at the end of the file .profile under my home folder: export PATH="~/.composer/vendor/bin:$PATH" I know the issues of environment variables ...
0
votes
1answer
39 views

Default environment for screen is /bin/sh when it should be /bin/bash?

I'm trying to invoke a program to run on startup in /etc/rc.local which runs two commands: Start a detatched screen using screen -dmS name Send a command to that screen using screen -S name -X ...
1
vote
1answer
5k views

JDK 8 Installation for Ubuntu 14.04 (Android Studio & NetBeans)

I downloaded jdk-8u11-nb-8-linux-i586.sh and installed it in my home folder. Then I install NetBeans, it is successful I think because I can compile my java code using netbeans. Now when I install ...
9
votes
5answers
3k views

How can I make it so I can run a specific program, just by typing its name in the console?

I have just recently installed Light Table downloading it from the git repository, and followed the instructions on this website to create a desktop launcher. Now I want to run the program by ...
0
votes
2answers
11k views

How to fix invalid identifier error after setting environment variables?

I'm trying to setup cocos2dx in Ubuntu 14.04 LTS but after setting the environmental variables (in .bashrc) I start getting this error: bash: export: dev/cocos2d-x-3.2/tools/cocos2d-console/bin': not ...
2
votes
4answers
7k views

Setting environment variables when executing Eclipse via Unity launcher icon

My question is a followup for the following: How to pin Eclipse to the Unity launcher? I created Eclipse's icon to the Unity launcher based on the selected answer at the above link. However, when I ...
0
votes
0answers
10 views

Error executing javascrit file through nashorn jjs

I can execute jjs on bash $ jjs jjs> but I can not execute script $ ./executable.js /usr/bin/env: jjs -scripting: No existe el archivo o el directorio executable.js #!/usr/bin/env jjs ...
0
votes
1answer
58 views

Vim-LatexSuite: /bin/bash: latex command not found

TeXLive 2015: I installed TeXLive 2015 following the simplest instruction sudo ./install-tl-ubuntu (without any options) of scottkosty/install-tl-ubuntu@GitHub. Vim-Latex-Suite: I installed ...
0
votes
0answers
21 views

Assigning 2 system-wide environmental varibales

Ubuntu 14.04 LTS. I need two system-wide environment variables: FOOD2FORK_KEY, FOOD2FORK_SERVER_AND_PORT In /etc/profile.d I have created a file module3.sh with: ...
0
votes
0answers
34 views

How to create a symlink without expanding variable?

I'm trying to create a symlink that links /root/.gtkrc-2.0.mine to /home/$USER/.gtkrc-2.0.mine. Whenever I try to run the following, the variable expands, so if I copied it to another computer, it ...
1
vote
1answer
31 views

Replace word in file with Username [duplicate]

I am trying to replace a word in a text file with the current username. I am trying to do this with "sed" using $USER, but it keeps actually writing "$USER" in the text file instead of my username. ...
23
votes
5answers
33k views

Environment variables when run with 'sudo'

As example to my question, my ~/.bashrc file contains this lines: export LD_LIBRARY_PATH=/opt/intel/mkl/lib/ia32:$LD_LIBRARY_PATH export LD_PRELOAD=/opt/intel/mkl/lib/ia32/libmkl_core.so so that ...
0
votes
1answer
43 views

How to load environment variable from a file for an upstart job?

I'm writing an upstart job for a service that is configured using environment variables, and a lot of them (> 20). The way this was handled so far was usually to run it from a Ruby launcher that ...
0
votes
1answer
266 views

Run a shell script from terminal

I have a shell script at /home/user/android-sdk-linux/tools. I wish to run the script from the terminal by typing ddms so I added :/home/user/android-sdk-linux/tools/ddms.sh to /etc/environment and ...
6
votes
3answers
192 views

How do I find out what my default terminal text editor is? [duplicate]

While reading the git introductory material, I read a piece that brought this question to mind. How do I use the Terminal to find out what my Default Text Editor is? Are there a General Commands ...
-1
votes
1answer
34 views

Which config file has my path variable? [duplicate]

So in my "the linux command line" book, it says this "The PATH variable is often (but not always, depending on the distribution) set by the /etc/profile startup file and with this code: ...
0
votes
2answers
38 views

How to edit the `$PATH` variable [duplicate]

Where exactly is the $PATH variable stored? I am changing the /etc/environment file with my desired path. Then I am doing echo $PATH and the old version is showed.
2
votes
1answer
84 views

Setting system-wide environment variable using /etc/environment

I want to add to my PATH so that my computer (Ubuntu) knows where to interpret the "R" command (for launching R). I need this so a Terminal or RStudio can find where I installed R. I did all of the ...
0
votes
1answer
28 views

PATH variable for newly installed executable files

I am installing a series of programs for bioinformatics purposes; I am installing the folders of these packages in /usr/local/lib/ and creating soft links to the executable files in /usr/bin/ so I am ...
2
votes
2answers
103 views

Where is my PATH variable being set?

I'm trying to set my path variable to look like this: ...
108
votes
6answers
155k views
3
votes
3answers
865 views

Change environment variable (TERM)

According to this answer, "it is the job of the terminal emulator to set the TERM environment variable". Is there any way to change the TERM value used by Terminator? Right now it's xterm, but I need ...
0
votes
0answers
21 views

~/.pam_environment is not workig for root

I want to use zsh for root with oh-my-zsh. I already have oh-my-zsh cloned by my regular user, so all I need to do is to set ZSH env variable to that directory. So I put this in my ...
1
vote
1answer
2k views

Setting Environment Variables for Android Studio [duplicate]

I am running cordova, so i wanted to install android-sdk. Here is the path Android-Studio Path = /home/apps/android-studio Android- /Android/Sdk Whenever i tried to add via export.. it seems to be ...
13
votes
1answer
436 views

How to increase waiting time for non responding programs?

I have installed a Ubuntu GNOME and found that I am getting lots of PROGRAM is not responding messages. I have either to "Force Quit" the program or "Wait" for it a little more. I've noticed that ...
4
votes
3answers
98 views

How to set session-wide environment variables and PATH?

I have seen other people on the Internet also having this problem but the solutions have been non-conclusive, so I wanted to bring it to attention again. According to this page in Ubuntu wiki: ...
0
votes
1answer
61 views

Why do variables set in my /etc/environment show up in my cron environment?

For a long time, I have been used to thinking that any environment I wanted in cron, I basically needed to set in the crontab itself -- see the "Different Environment", likely top answer here: Reasons ...