Linked Questions

11 votes
1 answer
1k views

I have a script called jsl in /usr/local/bin. Running which jsl finds it there. I want to temporarily use a different version, and when I echo $PATH I see that /usr/bin is earlier in the path. So I ...
Nathan Long's user avatar
  • 1,693
1 vote
1 answer
9k views

Below is the environment in Mac: ~$ ~$ ~$ echo $0 -bash ~$ ~$ ~$ ~$ ~$ ~$ cat /etc/paths.d/go /usr/local/go/bin ~$ ~$ cat /etc/paths /usr/local/bin /usr/bin /bin /usr/sbin /sbin /Users/MYUSER/go/bin ~$...
overexchange's user avatar
  • 1,606
2 votes
1 answer
5k views

I just installed git on CentOS 6.8. When I run the command git from a bash-shell, I get the following error message: -bash: /usr/bin/git: Bestand of map bestaat niet Sorry, Dutch installation. ...
doekman's user avatar
  • 259
1 vote
1 answer
533 views

I am on OSX and installed Homebrew to get the GNU coreutils. I wanted gsort to be used instead of the preinstalled sort command so I created a symlink to gsort. My limited experience tells me that ...
Linoob's user avatar
  • 335
1 vote
1 answer
478 views

I've a command in the ~/.local/bin/ path (lets call it dog). Calling the command with the full path ~/.local/bin/dog works as expected . When I do which dog I get the expected ~/.local/bin/dog. When ...
Eden's user avatar
  • 111
2 votes
0 answers
206 views

It is the default version of the imagemagick program convert that comes with ubuntu 14.04 ip-173-31-35-119:~ [prod]$ convert -version Version: ImageMagick 6.7.7-10 2014-03-06 Q16 http://www....
Anthony Kong's user avatar
4 votes
0 answers
135 views

I was trying to install a newer version of curl and when I ran: curl -V, the version number didn't change. After running which curl, it displayed the path of the newly installed version: /usr/local/...
JayMech's user avatar
  • 41
0 votes
0 answers
171 views

system says the latest version of gfortran has been installed when I retry the sudo command, but then i still get the command not found error for gfortran. I'm guessing it's something to do with the ...
antonia's user avatar
0 votes
0 answers
117 views

I would like to force default execution to happen from my home directory. However, regardless of what I try, it seems that the whereis utility finds programs to be in /bin instead of /home/user. E.g....
AlphaCentauri's user avatar
0 votes
1 answer
54 views

My old xournal is 0.4.5, which is /usr/bin/xournal. I just installed a new version 0.4.8 by compiling from source to /usr/local/bin/xournal. When I call xournal directly from the terminal, it is the ...
Tim's user avatar
  • 107k
-1 votes
1 answer
52 views

I notice that when I compile a custom build of a packaged program stored in /usr/bin eg /usr/bin/emacs, which emacs shows the already existing executable at /usr/bin/emacs instead /usr/local/bin/emacs,...
vfclists's user avatar
  • 7,919
0 votes
0 answers
29 views

When I type in bash (Linux Mint 20) abc I get output same as typing /usr/bin/abc, different from /usr/local/bin/abc. I have done web search, have read https://superuser.com/questions/238987/how-does-...
Martian2020's user avatar
  • 1,483
0 votes
0 answers
29 views

In Fedora 30, a youtube-dl problem just surfaced and I resolved it via pip install --user -U youtube-dl. This created ~/.local/bin/youtube-dl. echo $PATH gives ".../home/steve/.local/bin...". ...
user2661923's user avatar
509 votes
6 answers
100k views

When looking for the path to an executable or checking what would happen if you enter a command name in a Unix shell, there's a plethora of different utilities (which, type, command, whence, where, ...
Stéphane Chazelas's user avatar
151 votes
6 answers
107k views

If you run hash it shows the path of all commands run since the hash was last reset (hash -r) [root@c04c ~]# hash hash: hash table empty [root@c04c ~]# whoami root [root@c04c ~]# hash hits ...
spuder's user avatar
  • 18.6k

15 30 50 per page