Questions tagged [path]
218 questions
0
votes
0 answers
Network path was not found while joining domain (samba)
I have my AC server on 10.0.0.2 (debian, samba installed). From PC1 (notebook, windows 7 professional) I can easy join my domain and all things are good. But from PC2 (windows 7 professional too) I have one simple problem. I try to join to domain,…

Wowol
- 1
- 1
- 2
0
votes
1 answer
How can I modify the $PATH used by my vagrant provisioning script?
I have a shell script in /etc/profile.d that adds some directories to my $PATH, but vagrant doesn't see when running a privileged provisioning script. This uses sudo and sudo does not see this modified $PATH.
Is there a way to get vagrant to see…

wsaxton
- 195
- 11
0
votes
2 answers
Powershell split-path formatting
I'm having some issues on some of the formatting. My code looks for the new files in a folder structure and returns those items, but I would like to trim the result to only show the first 3 folders in the path. Is there anyway to do this using…

psstdnt
- 3
- 1
- 2
0
votes
2 answers
Node.js executable issue
I have installed node.js from repositories (v0.10.25, Ubuntu 14.04.3, nodejs-legacy package).
I need a specific version (v0.10.35) for a project.
I installed n (sudo npm install -g n) and installed the needed node.js version using it (sudo n…

warvariuc
- 358
- 1
- 5
- 14
0
votes
1 answer
sudo (-E) doesn't preserve path, even when configured appropriately
I have circus installed in a python virtualenv using virtualenvwrapper, and I want to run it with sudo. Sounds simple, right? Unfortunately even after reading man sudo and man sudoers, I don't succeed in getting the normal user's PATH to stick…

antgel
- 131
- 7
0
votes
3 answers
sed replace unix path with variable that contain another unix path
I need to replace Unix path via sed with variable that contain another unix path in a bash script
Example:
another_unix_path=/another/unix/path
sed -i 's/ \/some\/path\/file.txt/ '$another_unix_path'/g' some_file.txt

vasek
- 13
- 1
- 1
- 3
0
votes
1 answer
SVN : How to get path of repository knowing its URL?
I'm trying to backup my SVN respository with svnadmin dump command. So I must give it the path of my repository which I don't know how to find it. I'm using svn over http.
How can I find this?
FYI: I'm having TortoiseSVN installed too if that could…

mounaim
- 109
- 1
- 4
0
votes
1 answer
PATH details disapear
I installed the following on Ubuntu 14.04.1 LTS as the Ubuntu user:
nvm and node
strongloop
git
postgres
Everything worked fine after the installs. I was able to use which and all paths resolved. For instance I got this:
ubuntu@ip-10-0-0-110:~$…

Lee Johnson
- 103
- 4
0
votes
3 answers
Command shows different results when I login as a user vs su to the user
I'm trying to run a simple command from an init.d script and I'm troubleshooting why the command doesn't work when I run it from my init.d script but works when I run it as my user.
Can someone explain why when I run nvm --version as my logged in…

Catfish
- 237
- 2
- 11
0
votes
1 answer
Assigning different uri paths to different servers
I have the following situation:
There is a domain with offers different services like a blog, a forum and a wiki whic are reachable via different URI paths all at e.g. IP 123.123.123.123:
www.example.com/blog
www.example.com/forum
... etc.
Now, e.g.…

kghbln
- 411
- 2
- 10
- 20
0
votes
1 answer
Nginx does not have access to centos path
Sorry for the rather confusing title, I am trying to understand this error.
I have a php file, inside a folder like site.com/src/app/index.php and this site.com folder is placed in /var/www/html/ in a CentOs 6.5 running Nginx, and PHP-FPM.
So, the…

robue-a7119895
- 167
- 1
- 8
0
votes
2 answers
CentOS - binary won't run unless typed with absolute path
I'm not sure if it's a quirk of the program I'm trying to run (amidelnx) or if it's something with the way some binaries in general function. Also, I've read this question but it is not the same as what I'm experiencing.
The binary runs fine when…

Locane
- 429
- 1
- 8
- 20
0
votes
1 answer
Is 'which' command always showing the right file / which binary is really being run?
I am using Ubuntu 12.04 LTS and I have apparently messed up my system with various versions of duplicity installations:
first I had 0.6.18 installed from the default repo,
then I tried using 0.6.23 from the PPA
in the end I built 0.6.24 from the…

Greg Dubicki
- 1,239
- 1
- 17
- 33
0
votes
1 answer
Does the user specific PATH in Windows roam across machines?
In Windows there are two environment variables which make up the PATH, a user specific PATH and the system wide PATH.
Does anyone know if the user PATH roams across machines, or is it specific to a user and a machine?

AdamRalph
- 109
- 1
- 4
0
votes
6 answers
Whence for Windows?
I'm trying to determine the location of an executable (java.exe) on Windows. I know it must exist somewhere in the PATH since I can run it, but I don't know the exact directory that it is being run from. On a UNIX system I could use the whence…

An̲̳̳drew
- 1,265
- 2
- 14
- 19