The tag has no usage guidance.

learn more… | top users | synonyms

6
votes
1answer
4k views

PATH issues for init.d scripts on startup

I have a simple script that starts up a unicorn instance (on Ubuntu 12.04LTS). #!/bin/sh case "$1" in start) echo "starting" cd /path && bundle exec unicorn -c ...
0
votes
1answer
119 views

Vagrantfile location path - where is it defined and how to change it? (Windows) [closed]

I have a Windows machine that I am using to host Virtual Box VMs used with Vagrant. I'd like to keep Vagrant setup files including Vagrant all under a separate folder so that it is easy to know where ...
0
votes
1answer
57 views

Is the website directory path length important for server operations speed in any sense?

I'm using a website and I do lots of operations (its a basis for mobile app). If I place the website in a long path directory of the server will that slow down the operations in any sense? I mean ...
3
votes
1answer
5k views

Cannot access svn repository in correct path

My repository directory is /var/www/svn and access file is /var/www/svn-auth and I create repository project1 in svn directory My configuration svn.mydomain.com.conf <VirtualHost ...
2
votes
1answer
6k views

Robocopy uses relative path for Source and Destination paths

I'm trying to use RoboCopy in my TFS Build Template to copy some files, but for some reason it inserts "C:\Windows\system32" in front of my Source and Destination paths, even though I am passing in ...
6
votes
2answers
7k views

Windows: How do I add a program to the system's path environmental variable from the command line?

I'm looking to permanently add a directory to the %PATH% environmental available on a large number of Windows machines. Is there any way to do this from a command line (cmd) so I can script up a ...
0
votes
1answer
492 views

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 ...
14
votes
3answers
28k views

Windows Server 2012 GUI went missing after removing Active Directory

I'm sorry but i'm stuck in figuring out a problem i'm facing here. I removed the AD feature from server manager and after rebooting, my server 2012 gui wasn't there anymore. There's only command ...
0
votes
1answer
256 views

When running `export $PATH` on linux, where does this info actuall store?

Let's say I run this straight from a bash command line, where is this information actually being stored? export PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"
1
vote
2answers
184 views

Per-application library paths on CentOS

Context: After a recent version upgrade of a bunch of our server software, I've found myself in a dilemma: I have two sets of applications (Zend server and assorted utils, and a bunch of PostgreSQL ...
2
votes
0answers
7k views

rsync requires rsync-path when remote rsync is in path

I am quite confused as to why rsync requires --rsync-path flag even when remote rsync is in path. Consider: $ rsync -avze 'ssh -p 22' --delete public/ pmatos@domain.com:~/public_html bash: ...
-2
votes
1answer
47 views

define software path [closed]

I have an older version already installed. I have upraded the package using setup.py install command. But the path is not correctly set. When I type "s3cmd" is shows the older version of software. # ...
0
votes
1answer
1k views

php always trying to load extensions from relative path

PHP is always trying to load extensions from a relative path. For example: php.ini extension=/vld.so Warning: PHP Startup: Unable to load dynamic library './/vld.so' - .//vld.so: cannot open ...
1
vote
2answers
187 views

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 ...
1
vote
1answer
234 views

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 ...
0
votes
1answer
56 views

$PATH variable for anonymous user

I'm on CentOS. I have a php script that needs to have /usr/lib64 in its $PATH. From the php script when I output echo $PATH I get /bin:/usr/bin when I ouput echo $USER I get a ...
7
votes
2answers
1k views

How to change back to previous path quickly?

This is a basic linux question I think, but I really want to know. For example, currently I am in /usr/bin: [x@localhost bin]$ pwd /usr/bin [x@localhost bin]$ cd / [x@localhost /]$ Now I want to ...
1
vote
1answer
53 views

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 ...
0
votes
1answer
974 views

linux PATH issue between /usr/bin/ and /usr/local/bin

Environment: linux novice :) tmux 1.1 was installed using apt-get tmux 1.6 was downloaded, configured, built, and installed from source tmux 1.1 was removed using apt-get Problem: running tmux ...
2
votes
5answers
254 views

Run compiled c program from any location

Quick question. After compiling a program, I always have to explicitly tell it to run from the current directory by prepending ./ to the name. For example $ ./testprog -argument1 Is there a way to ...
0
votes
1answer
3k views

Both bashrc and bash_profile won't seemingly source? VirtualMin Clean install

I am not too familiar with this level of management on a nix server however I am unable to get either the bashrc or bash_profile to source at login. Details about the server: Centos 6.0 - Basic GUI ...
12
votes
2answers
18k views

CentOS /usr/local/lib system wide $LD_LIBRARY_PATH?

I install custom software in /usr/local/lib. How do I set the PATH and LD_LIBRARY_PATH in CentOS 6 system-wide to use /usr/local/lib. I realize there may be more than one way. What's the simplest and ...
1
vote
2answers
1k views

putting folders above public_html in a shared hosting environment

On my local environment, the following settings work in my index.php file: $system_path = '../../ci/system/'; $application_folder = '../../ci/application'; My folder structure looks like this: -ci ...
0
votes
1answer
193 views

Need Apache configuration fixed

Issue: I have loaded Wordpress MU inside of my DocumentRoot. This is working fine however, I now have two projects inside the DocumentRoot that both have a directory with the same name: 'plugins': ...
1
vote
1answer
108 views

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 ...
2
votes
1answer
267 views

Is is better to edit the paths file or exporting PATH in .bashrc/.bash_profile?

I have noticed that almost every website tells you to add something like export PATH=/usr/local/share/python:$PATH in your .bashrc or .bash_profile when modifying a PATH. When you want to know what ...
2
votes
3answers
269 views

how to run mysql v5.5 on redhat linux

I am new to both linux and also mysql but somehow by obtaining help from net I have installed mysql v5.5 on redhat. It starts fine, I have confirmed this by running command: "/etc/init.d/mysqld ...
2
votes
1answer
1k views

PATH variable and quotation marks (windows)

I am having a weird problem with the PATH variable under windows: My application is in a folder c:\app\bin and the DLLs for this application are in the c:\app\runtime folder. To run my program I ...
2
votes
1answer
535 views

Setting Apache's PATH environment to match users

Using PHP 5.3 as an Apache module with Apache 2, on OS X 10.7. When I open Terminal and enter echo $PATH I get: ...
1
vote
1answer
464 views

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.
1
vote
1answer
946 views

“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 ...
1
vote
1answer
2k views

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: ...
0
votes
1answer
651 views

ld path update in centos

I just installed manually apr and apr_util so i can install activemq cpp library. When i try to make the cpp library i get the following error: /usr/bin/ld: cannot find -lexpat collect2: ld ...
0
votes
5answers
5k views

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 ...
0
votes
1answer
45 views

How do I modify the include path during a source install?

I'm trying a source install (configure, make) on FreeBSD but I get this error: error: foo.h: No such file or directory although the file does exist at /usr/local/include/foo.h so I guess the ...
0
votes
2answers
1k views

Install Apache Modules on Custom Path

I have installed apache2 into my home folder by specifying the ./configure --prefix="$HOME". It works fine. Now I am trying to install mod_wsgi. I try ./configure --prefix="$HOME", as well as ...
2
votes
3answers
6k views

IP address of virtual server?

I have a virtual server (shared hosting), with a domain name (and several sub-accounts, each one a separate site also with its own domain name) I was wondering if there was a way to find out the IP ...
9
votes
2answers
6k views

Environment Variables in PATH Not Expanded for non-Admin Command Prompt?

I have a Windows 7 machine which, when Command Prompt is run by a normal user, fails to expand environment variables in the %PATH%. If command prompt is instead run as administrator (right click, Run ...
4
votes
2answers
238 views

Is `which` lying to me?

I installed git via apt-get, but found that the version was hopelessly outdated, so I then installed git from source. The end result is rather puzzling: $ git --version git version 1.7.0.4 $ which ...
0
votes
1answer
254 views

Mac terminal unix questions. Trying to install showoff.io

I installed the gem according to the instructions at showoff.io, but when I try to run show 8888 it doesn't work and I get -bash: show: command not found In their faq, they mention running gem ...
6
votes
3answers
8k views

How does one escape the “ ` ” (accent grave/backtick) in a path?

I tend to prefix oft-used files and folders with the "accent grave" character (non-shift tilde, the back-tick, or plain-old accent, whathaveyou..), as it is easy to get at, and let's me sort things ...
0
votes
1answer
1k views

IIS 6 - how to create virtual directory like /my/custom/path

I can easily crate a directory structure like c:\temp\mywww\my\custom\path, and then create virtual directory to \mywww and place my files in path subfolder, and I'll be able to access it like: ...
0
votes
1answer
249 views

Linux SUSE - How to clean up PATH?

By doing an echo when I am logged in as root I can see I have a lot of junk in my PATH (probably from running tests and then forgetting all about it). What's the best way to clean it up? I am not ...
7
votes
1answer
1k views

Can't find binary, but path included in $PATH

So I tried to install Mercurial on Ubuntu 10.04. First I used the ppa repo, but got a pythonpath error, which I gave up on. Next try was install from source, everything went well, except it can't find ...
0
votes
3answers
1k views

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, ...
2
votes
1answer
3k views

Should I add SysWOW64 to my System Path to get 32bit programs in the path?

I have some 32-bit GNU programs that I want to add to the system path on my Windows7-64bit machine, such as Curl.exe, WGet.exe, AutoExNT.exe, etc. I don't want to have to alter the system Path ...
2
votes
4answers
168 views

Editing $PATH in Linux

I'm working on a linux client and I need to add my home directory path to $PATH but I was unable to do that. I tried to find .bash_profile file and also .bashrc file but both are missing. Please let ...
2
votes
3answers
547 views

How should I protect against relative paths in urls that try to access files outside of the served directories?

How can I make sure I am protected against relative paths like: ...
0
votes
2answers
957 views

In Ubuntu, does updating the CLASSPATH require a reboot?

I changed my CLASSPATH and JAVA_HOME variable to something like this JAVA_HOME=/usr/local/jdk1.6.0_24 export CLASSPATH=$CLASSPATH:/usr/local/tomcat/lib export JAVA_HOME And when I try to compile, ...
0
votes
2answers
682 views

Setting multiple paths to JAVA_HOME in Ubuntu

I am trying to set the JAVA_HOME path in Ubuntu from the .bashrc file I currently have something like export JAVA_HOME=/usr/local/jdk1.6.0_24 But I want to also add the servlet libraries in the ...