The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
446 views

where is the “module” a command coming from - aka why it doesn't show up in alias?

Consider the following: $ module cmdModule.c(166):ERROR:11: Usage is 'module command [arguments ...] ' Modules Release 3.2.6 2007-02-14 (Copyright GNU GPL v2 1991): Usage: module [ switches ] ...
1
vote
2answers
132 views

System path does not extend to all accounts?

In Control Panel->System->Advanced->Environment Variables, the PATH variable in the bottom part (the system, not just my profile) contains my perl path. Yet when I try to run system('perl ...') from ...
0
votes
6answers
928 views

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 ...
0
votes
4answers
6k views

Path for Windows Services?

I've got a service that I need to start as a different user to 'Local System' There is a user specific PATH I need to add to the default path in order for the service to work correctly. The default ...
5
votes
2answers
4k views

ErrorDocument in .htaccess, is it possible to use relative path?

This doesn't work: ErrorDocument 401 ../../src/wrong_pwd.php it renders the path as text, it really prints ../../src/wrong_pwd.php and doesn't output the real file. If I put the absolute ...
4
votes
2answers
3k views

pkg-config on Mac Doesn't find Libraries

I have been installing a bunch of libraries lately from the GNOME sources on Mac. They use pkg-config. Every time I run a configure, it complains that it can't find library XYZ, which I installed to ...
3
votes
2answers
1k views

Running a program remotely with SSH, but it won't use my .bashrc and the PATH is wrong

I'm trying to run a command remotely with SSH, but my problem is that when I do that, my .basrhc doesn't get executed, and so the PATH is all wrong and my script is breaking. What I'm doing is ssh ...
23
votes
2answers
12k views

How to keep the full path with rsync?

When backing up with rsync, How do I keep the full directory structure? For example, the remote server is saturn, and I want to backup saturn's /home/udi/files/pictures to a local directory named ...
3
votes
4answers
400 views

How to avoid the ./ when executing a shell script?

I used to know a way to run my shell scripts just by typing there name as long as there were in my home folder or desktop. I hate having to type ./myscript.sh. I would like to be able to type just ...
0
votes
3answers
1k views

File Not Found for All Nodes in Drupal

My Drupal installation is having all links to nodes show up with a File Not Found error. Admin pages and such are ok, it's just pages with ?q=node/# I tried using Update.php to fix anything, but that ...
6
votes
5answers
24k views

How can I modify a user’s PATH environment variable without logging out?

The question pretty much says it all; I have users who do not have permission to edit their own PATH environment variable and if they need to have it modified for some reason, they need to log out so ...
2
votes
7answers
491 views

How do I figure out which file is being executed?

I have two files: abc.exe and abc.cmd - both along the path somewhere. abc.exe is a command-line utility. abc.cmd is a wrapper around abc.exe. When I type "abc" in the command prompt, how can I ...
1
vote
2answers
318 views

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 ...
69
votes
8answers
75k views

how to set global PATH on OS X?

I'd like to append to the global PATH variable on OS X so that all user shells and GUI applications get the same PATH environment. I know I can append to the path in shell startup scripts, but those ...