The tag has no wiki summary.

learn more… | top users | synonyms

6
votes
2answers
480 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
52 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
483 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
242 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
2k 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 ...
5
votes
2answers
7k 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
1answer
543 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
167 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
65 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
195 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
213 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 ...
1
vote
1answer
734 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
496 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: ...
0
votes
1answer
227 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
652 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
755 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
343 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
2k 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
39 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
731 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
3k 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 ...
6
votes
2answers
3k 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
205 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
237 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 ...
5
votes
3answers
4k 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
436 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
141 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
573 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, ...
1
vote
1answer
2k 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
161 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
356 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
673 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
412 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 ...
0
votes
1answer
658 views

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 ...
3
votes
2answers
768 views

Where to set JAVA_HOME in Ubuntu

I am trying to configure Tomcat to know where JAVA_HOME is. I am used to Windows :) ...which file should I edit to add the Java info, and where is it located?
19
votes
4answers
60k views

Get directory containing the currently executed batch script

I use %0 in batch file to get the containing directory of the batch file but the result is :- c:\folder1\folder2\batch.bat I want just directory, without batch file name, like this :- ...
3
votes
2answers
2k views

Changing PATH Environment Variable for all Users. (Ubuntu)

I recently compiled Ruby Enterprise Edition (REE) on an Ubuntu 8.04 server. I would like to update my PATH to ensure this new version of Ruby (found in /opt/ruby_ee/bin) supersedes the older version ...
0
votes
3answers
217 views

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

Escaping spaces in a remote path when using rsync over a remote SSH connection

When using SSH to connect rsync to a remote server, how do you escape spaces and such in the remote path? A simple backslash escapes the space for the local bash prompt, but on the remote machine the ...
0
votes
1answer
634 views

How to set global PATH on OS X Server 10.6.6?

I'm running Tomcat on OS X Server 10.6.6 under the normal Web component that comes with the OS. This has worked fine so far, but I need to add some entries to the $PATH environment variable for ...
4
votes
1answer
2k views

IIS 7.5 (Express) applicationhost.config: Can a virtualDirectory's physicalPath be a relative path?

I'm configuring a site in applicationhost.config for IIS 7.5 Express: <site name="default" id="1" serverAutoStart="true"> <application path="/"> <virtualDirectory path="/" ...
1
vote
1answer
35 views

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

tcsh PATH env variable not respected amazon web services

I've got an Amazon EC2 instance with the 64bit Linux AMI. I changed my shell to tcsh and then set up .tcshrc with PATH = ".:/usr/local/lib/play-1.1:$PATH" After a $ source ~/.tcshrc $ echo $PATH ...
0
votes
2answers
246 views

Long file path returning 404 for “hello.htm”

I have a long file path that works on my server, but a simliar path returns a 404 error when it is on my clients (IIS6) server (http://ddmat.com/). Here's the functioning file path on my server: ...
2
votes
2answers
3k views

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

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 ...
0
votes
3answers
63 views

Installation path for root

My understanding of paths is that ~/.jungledisk/ means the path is relative to the current user. If that's true, if I installed this as root, where did it go?
0
votes
2answers
421 views

linux terminal:how to search path in windows pc?

i'm newbie in linux, and i work with linux terminal to control another linux pc(client). Beside that, i have some permition to access windows pc. They give me some IP address, user, and password. ...
1
vote
1answer
100 views

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 ...