Linked Questions

-1 votes
1 answer
945 views

when tried to edit .bashrc file The command could not be located because '/usr/bin' is not included in the PATH environment variable [duplicate]

When i tried to edit .bashrc file I am getting the above error how to solve this. when i gave $ echo $PATH /home/vijay/usr/bin:PATH:/bin is displayed Steps in detail would help
0 votes
2 answers
507 views

Set custom added PATH vars to work in each Terminal session [duplicate]

I ran these 2 commands simply in the terminal: export PATH="$PATH:/home/milkncookiez/Developer/android-studio/bin" export PATH="$PATH:/home/milkncookiez/Developer/PhpStorm/bin" in the 2 bin folders ...
0 votes
1 answer
511 views

How can I permanently change PATH variable in Ubuntu 20.04? [duplicate]

How can I permanently change PATH variable in Ubuntu 20.04? What file should I modify? Thank You
0 votes
1 answer
83 views

Conda activation [duplicate]

I recently moved miniconda2 to another directory and now I can't activate the conda environment. Please any suggestion to resolve this problem. bash: conda: command not found
15 votes
7 answers
46k views

Can't find or run spotify after `snap install spotify`

I am using Ubuntu 16.04, running this command succeeded: sudo snap install spotify And running it again indicates Spotify is installed. However, running: spotify Gives command not found! Searching ...
7 votes
4 answers
64k views

How to set environmental variable PATH?

I'm using Ubuntu 10.10 and downloaded jdk7 from java.sun.com. That jdk is a compressed file and on extraction there I got all the files and folders of jdk1.7.0. But now if I tries to compile a java ...
4 votes
1 answer
8k views

Open a new terminal and source scripts

I want to write a script to activate a virtual environment and run my server for Django project in a new terminal. My startProject.sh is: #!/bin/bash source virtualenv/bin/activate python manage.py ...
  • 169
0 votes
1 answer
2k views

Export path working from terminal but not bash script

If I run export PATH=$PATH:/home/mike/bin/*:/home/mike/app/* from a command line it works fine, but if I put it into a bash script, it doesn't work (even with a restart). I have also tried including ...
3 votes
1 answer
2k views

Path given in Environment variable shows empty after reboot

I am trying to set environment variable CATALINA_HOME for tomcat server. I used the command CATALINA_HOME=/usr/local/apache-tomcat-8.0.22 JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386 and export ...
0 votes
1 answer
977 views

PATH variable to Apache OPENNLP OK but doesn't work

yesterday I installed in my Ubuntu AWS 12.04 (Amazon) micro istance OpenNLP and seemed working. Today when digiting opennlp:command not found Following suggestions found here: I modified my ....
0 votes
2 answers
225 views

Unset a particular PATH variable?

I have the following PATH. PATH=/home/josemserrajr/anaconda3/bin:/home/josemserrajr/bin:/homejosemserrajr/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/us I ...
0 votes
1 answer
96 views

How to add browser cutable path in ubuntu

just trying out ubuntu, and installed a node/npm CLI application where we can run the command in the terminal. That command/tool requires us to specify the browser e cutable path every time when we ...