Tag Info

New answers tagged


No, there is nothing wrong with copying the rc file somewhere else. That said, while you can indeed change your $HOME by adding HOME=/foo to one of the files read on startup (~/.profile, for example), that is really not a good idea. HOME is used by many things, not just your scripts and there's no reason to change it since that can have unintended ...


As described in the PPA description: i386 and amd64 packages for Trusty Ubuntu release. Each package contains one Qt module and installs under the /opt/qt55 prefix. Source /opt/qt55/bin/qt55-env.sh to set the correct environment. therefore source /opt/qt55/bin/qt55-env.sh


The main problem is with the value of system variable PATH which contains relative folders in it, so for security reasons find command won't allow you to execute binaries, because potentially it can execute wrong programs. So for example, if you have your current dir in your PATH as per warning which you get: The current directory is included in the ...


The variables in your .bashrc are only set up by a bash shell, which, if the variables are exported, stores the vars and their values in its environment, and passes a copy this environment to any process it starts. Starting sublime text from the desktop does not invoke bash to read .bashrc. You could set the variables globally by defining (and exporting) ...


Since your path has spaces in it you need to enclose both the path AND the variable in "". Try this from the command line. export week4="/home/Justin/Week 4/assignment/" Now you should be able to navigate to that directory by typing cd $week4 If you want to make this permanent then add the same line to your .bashrc file.


It is mentioned in the man page, you just need to look at the right one. From man 5 crontab: By default, cron will send mail using the mail "Content-Type:" header of "text/plain" with the "charset=" parameter set to the charmap / codeset of the locale in which crond(8) is started up - ie. either the default system locale, if no LC_* environment ...


"Get unset randomly"? No. The PYTHONPATH environment variable is set by a process (probably running bash). If PYTHONPATH is exported, a copy of PYTHONPATH is passed to any processes started by this one (or any they start). If some child process destroys PYTHONPATH via: unset PYTHONPATH or PYTHONPATH= then the bad PYTHONPATH is visible only to ...


The problem is that your java is not jdk but only jre. And it is installed a weird way. Install java a normal way by sudo apt-get install openjdk-7-jdk and set JAVA_HOME=/usr/lib/jvm/openjdk-7-jdk-amd64/


You can use -E sudo option to preserve current environment (if you have rights to do that) $ man sudo -E, --preserve-env Indicates to the security policy that the user wishes to preserve their existing environment variables. The security policy may return an error if the user does not have permission to preserve ...


Yes, there is. man bash will lead you to OLDPWD The previous working directory as set by the cd command.


Since Wine will pass on the entire shell environment variable settings to the Windows environment variable space you can set this environment variable in the Linux shell. Example for the bash shell : export MYENVIRONMENTVAR=myenvironmentvarsetting This will make sure your Windows program can access the MYENVIRONMENTVAR environment variable once you start ...

Top 50 recent answers are included