Questions tagged [path]
218 questions
2
votes
2 answers
MANPATH in man.conf
I've installed mac-ports which puts everything under /opt/local. The corresponding man pages are in /opt/local/man. I added the following line to /private/etc/man.conf representing the man search path for port:
MANPATH /opt/local/man/man1
However,…

Ben Lever
- 135
- 1
- 5
2
votes
2 answers
Modify default PATH environment variable in Solaris 10
I know I could modify /etc/profile.. but is there a better way? I know /etc/profile will affect terminals but I want all processes to be affected. crontab, service manager, startup scripts, etc..
Edit: I have an answer to edit the PATH for cron..…

700 Software
- 2,233
- 10
- 49
- 77
2
votes
2 answers
How to concatenate environment variable paths in a cleaner way in bash?
In order to modify my paths (like LD_LIBRARY_PATH or PYTHONPATH), I first check is the variable exists. If so, I'm concatenating my old value with the new one (separated with a semicolon), else I'm settings my variable to the new…

Charles
- 303
- 1
- 3
- 10
2
votes
2 answers
Powershell - can I avoid typing .\ if I want to execute something from the current folder?
I'm trying to switch from cmd.exe to Powershell, but I'm very annoyed by the fact that if I try to execute something from the current folder, I have to type .\ before it, just like in Linux. Is there a way to disable this without adding the current…

Meh
- 373
- 2
- 7
- 10
2
votes
2 answers
Apache Error Log - "Web Path" instead of Filesystem Path
I'm running Apache on Linux and I'm using OpenSSH to provide SFTP access to some customers so they can upload their pages and also look at their respective site logs (access & error). I'm using the new feature in OpenSSH to chroot their SFTP access…
Craconia
2
votes
1 answer
OSX problem starting FTP from preferences
When I try to enable the FTP service in the preferences (File Sharing->Options->Share Files and Folders Using FTP) the check box enables and then disables again. The console is giving me the message :
16/04/2010 12:14:20…

Xetius
- 396
- 4
- 9
1
vote
0 answers
Terraform, specifying location for vms on datastore
I was wondering as I couldn't find it in the documentation or I've missed it a lot.
I am using Terraform 0.12.9 with newest vsphere provider. My goal is to do a clone from a template and it basically works without any problem.
Requirement I am…

Ricardo Sliva
- 11
- 1
1
vote
1 answer
Odd requests for urls that are the *body* of my CSS files
I'm not sure quite how to express this but my NodeJS server has recently been getting errors because some middleware library is unable to parse certain parameters from urls. When I look at which urls this is occurring for, the url appears to be…

MalcolmOcean
- 113
- 4
1
vote
1 answer
TFS: Inconsistencies in git web source code browser
We have been using on premise Team Foundation Server v. 15.117.27414.0.
Everything has been working fine, except on the project's web portal, on the Code page (code explorer), all of the files that are in the git repo are not appearing. For…

David
- 439
- 1
- 5
- 17
1
vote
1 answer
Using credential name to map network folder that has identical form
We have a network share over vpn to a windows server in a different city. each person has a username to access the folder (and only that specific folder) his/her folder is same as username. user os is win 10
usr: john_smith;
pw:…

bogga88
- 21
- 4
1
vote
1 answer
Windows PATH Variable with a Drive-letterless path
At work, we have a setup where our product's source code is mounted to a drive letter, and if you want to have different builds, you have different drives. The build tools are reached by adding something like "/Trunk/bin" to the PATH, so no matter…

Katherine1
- 11
- 2
1
vote
2 answers
How to extract the last two (or any number) directories from a path with sed?
I'm really looking for a generic solution here, but for the sake of example, let's say I'm looking for the deepest 2 directories in a path. e.g.: Given a path /home/someone/foo/bar, how can I use sed (or awk) to get foo/bar
It would be simple if the…

steve c c
- 158
- 5
1
vote
1 answer
What's the most common and recommended directory for a web application on FreeBsd?
I have a website on a FreeBSD server which is reachable from the Internet. I know I can run it from whichever directory I wish. But still, which directory is more right, common and recommended? At the moment I'm running it from…

Ko32mo
- 13
- 5
1
vote
2 answers
Unable to get defined path in 'source' type on AIX node
I am trying to create a set of users on my AIX node and trying to get
their authorized_keys which are already hosted on my server with name
like, 'myuser_id_dsa.pub'. Currently i am managing 2 nodes (1. SLES 2. AIX). I defined the 'source' file…
haris
1
vote
1 answer
Removing a recursive folder that's not recursive in windows fails with "Source Path Too Long"
I seem to have managed to get an Application Data folder recurse into itself somehow, doesn't look recursive but somehow still is and now I find myself unable to remove that folder. The folder itself is merely a subfolder in a backup folder from an…

Lieven Keersmaekers
- 303
- 1
- 12