Questions tagged [path]

218 questions
1
vote
1 answer

Path not loaded for user when connecting with SSH

I have an Windows 2008 Server Instance running on EC2. I have installed an application and added it to the path and it is now available to my Administrator user from the Command Line. However, when I SSH in to the server as the Admin User, the…
1
vote
2 answers

Run command to untar file in timestamped folder?

I have a .tar file that is transferred to our server every night by one of our client management systems. The file is a compressed .sql file which I need to uncompress and dump into our database. The directory of the .tar file is…
dannymcc
  • 2,717
  • 10
  • 48
  • 72
1
vote
1 answer

Path Length in Windows

Is there any reason paths are still limited to ~250 characters in Windows? I'm not asking about a solution here (since there isn't one, other than \\?\ perhaps), but about why this is still an issue in 2012. Microsoft itself has failed to provide an…
Dexter
  • 597
  • 1
  • 4
  • 5
1
vote
1 answer

How to put PHP into path

I have just built PHP from source. Usually when I do this, I don't have any problems just running php from anywhere. This time however, the console returns 'command not found'. What do I need to correct for this to work properly?
Ben Dauphinee
  • 203
  • 3
  • 10
1
vote
1 answer

same label along MPLS label switched path, is it possible?

I am a true beginner as far as MPLS is concerned and I was wondering if this would be possible; To be more specific assume a LSP (Label Switched Path) from Host A -> Router 1-> Router 2 -> Router 3 -> Host B Each of the above routers would be a…
user113478
  • 11
  • 2
1
vote
1 answer

Easy way to gather file sizes of unc paths?

Is there a program or a script I can run against a csv containing thousands of UNC paths? Something not very intrusive - simply looking to gather file sizes of each. Thanks.
jj2019
  • 11
  • 2
1
vote
1 answer

"Path Not Found" when attempting to write to a sub folder within a mapped drive

We have an interesting issue with one of our server shares, or possibly, our Win 7 desktops. When our users try to save files in a sub folder, either via copy/paste or through an application, to a mapped drive on our DC they receive an error saying…
1
vote
1 answer

Can't change path location of PHP on mac os x snow leopard

I have XAMPP installed on my mac, and I want to make command line PHP use the same executable as XAMPP since I've customized that php's php.ini file. The php binary I want is located at: /Applications/XAMPP//xamppfiles/bin/php A quick check of…
Casey Flynn
  • 217
  • 4
  • 13
1
vote
5 answers

How to get absolute path to website

My website is on a shared server. Having DNS issues, this seems to be the only way. I need to get the real and absolute path to my website like 99.23.154.23/~mywebscom without asking the support is this possible? With the IP address and path.
Mob
  • 11
  • 1
  • 1
  • 6
1
vote
3 answers

how to set PATH in CentOS so that it is visible in PHP

I need my PATH environment variable to include /usr/local/bin when seen from PHP, so that I can execute binaries that are in /usr/local/bin with exec() in PHP code without writing their full path, e.g. exec("ffmpeg"); If from php I run echo…
matteo
  • 731
  • 2
  • 9
  • 21
1
vote
1 answer

Understanding URLs in Apache on Mac

Running Apache on Mac Snow Leopard (ie Web sharing enabled). Paths are evaluating in ways not expected: example.com/folder is returning a file (sans exception) instead of a folder. If I make a call to example.com/events/March and I have a file…
SamGoody
  • 111
  • 3
1
vote
1 answer

Trouble getting Tomcat to start up during install

I installed Java and now added Tomcat. I configured Tomcat, but it is not running. What I did was add the line: export JAVA_HOME=/usr/lib/jvm/java-6-sun as the first non-comment line in the /home/myuser directory. And then I went to the…
Genadinik
  • 1,103
  • 4
  • 19
  • 39
1
vote
3 answers

How do I set the path in OSX in a particular order?

I need to set the PATH environment variable in OSX in a particular order (i.e. with /usr/local/bin first in line). The recommended way to set PATH variables seems to be the /etc/paths files and the /etc/paths.d directory which work but automatically…
Brendan
  • 153
  • 8
1
vote
1 answer

Linux / UNIX / OS X Binary Directory Structure

Will Linux / UNIX / OS X binaries be stored in the same directories across different platform or distributions? I'm asking because I need to have access to uuidgen (stored in /usr/bin/uuidgen on my development computer) and noticed that my local…
1
vote
1 answer

how do i get terminal in osx to use the python version installed in /opt/local/bin rather than the one in /usr/bin

at the moment my $PATH looks like... /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin but then whereis python2.6 returns /usr/bin/python i need to use /opt/local/bin as this is where macports installs…
significance
  • 159
  • 5