Skip to main content

All Questions

Tagged with
3 votes
2 answers
1k views

Where is the login shell path set for /user/games etc..?

When I launch a terminal in ubuntu I get following path on echo $PATH /home/myuser/anaconda3/condabin:/home/myuser/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/...
Sreeraj Chundayil's user avatar
1 vote
3 answers
1k views

How to change .profle and have the setting effective without sourcing .profile every time or needing to reboot?

If it is on the Mac or on Ubuntu, sometimes we have to add a path to PATH: https://stackoverflow.com/questions/33725639/npm-install-g-less-does-not-work-eacces-permission-denied # add the following to ...
nonopolarity's user avatar
  • 3,249
1 vote
1 answer
1k views

Ubuntu 14.04.2 LTS: 'find' not found in PATH or not executable

I am trying to install some graphics libraries with the following command: sudo apt install jpegoptim optipng It however fails to run with stating the following: Reading package lists... Done ...
ACanal's user avatar
  • 19
5 votes
1 answer
1k views

Installed program executable runs from wrong location

I installed parcellite in Ubuntu (downloaded from http://parcellite.sourceforge.net/) After installing from sources, sudo make install, I can see that it is installed at below location. However, ...
xxx374562's user avatar
  • 304
0 votes
1 answer
6k views

After starting terminal always getting bash: export: "path" not a valid identifier [closed]

I was trying to install Angularjs through the Ubuntu terminal and to have proper install, I'd to change the path. Maybe during these time I've messed up with the path. After this, when I'm starting ...
Mamun's user avatar
  • 111
1 vote
3 answers
1k views

Why did this trivial rm -rf command destroy my operating system?

I use Bash 4.3.48(1) and I ran the following command pattern on a testing VPS machine: rm -rf ${drt}/${pma}* This command deleted the entire operating system (Ubuntu). That was evident by executing ...
Arcticooling's user avatar
1 vote
2 answers
1k views

Do programs source .bashrc when run?

I append to my PATH environment variable in my .bashrc file (Ubuntu v12). I also have a service (Atlassian Bamboo) that relies on the modifications to PATH. When I restart the service (which runs as ...
void.pointer's user avatar