Skip to main content

Questions tagged [path]

PATH (all upper case) is the name of an environment variable on Unix-like operating systems, DOS, OS/2, and Microsoft Windows, specifying a set of directories where executable programs are searched for.

1 vote
2 answers
73 views

I'm encountering a confusing behavior with sudo and the which command. An executable is found when running which as a regular user, but not when using sudo which, even though it's accessible when ...
Just a learner's user avatar
1 vote
1 answer
139 views

In Ubuntu Desktop 24 $ grep VERSION= /etc/os-release VERSION="24.04.2 LTS (Noble Numbat)" When I open a Terminal window my $PATH has two copies of /snap/bin $ echo $PATH | sed -e 's/:/:\n/...
RedGrittyBrick's user avatar
1 vote
0 answers
73 views

I can't change the PATH at gnome-shell level so I can execute programs in my ~/bin or ~/.local/bin folder from my .desktop files. I am able to easily define other variables through ~/.config/...
Farid Cheraghi's user avatar
2 votes
0 answers
222 views

A fresh installed Ubuntu 24.04 system creates the first user account. That user account has by default the following $PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/...
paladin's user avatar
  • 284
2 votes
1 answer
1k views

I am trying to run a Python program from my command line on my Mac. (in this case: python3 Hello.py). For the life of me, I can’t get it to consider the PATH where the program is located. This is the ...
user61392's user avatar
0 votes
2 answers
67 views

say I want to add the current directory to path. I need to run echo "export PATH=$PATH:$(pwd)" >> ~/.bash_profile. this expands $(pwd) like I wanted, but it also expands the $PATH ...
notacorn's user avatar
  • 101
0 votes
0 answers
40 views

I've built an executable which, for the sake of this question, is named foo. There is already a version of it at /usr/bin/foo, and I install a different version as /usr/local/bin/foo. My path has /usr/...
einpoklum's user avatar
  • 11.1k
1 vote
0 answers
107 views

I wish to rsync a directory structure from one remote server to another - using an Ansible playbook.yml. During the play, the ansible shell module's command for rsync fails. I know the reason - it's ...
RichWalt's user avatar
  • 111

15 30 50 per page
1
2 3 4 5
69