The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
2k views

How to change cron PATH permanently?

We need /usr/local/bin in cron's path! this way: http://discuss.joyent.com/viewtopic.php?pid=213759 didnt work for us.
0
votes
2answers
1k views

How to indicate all files in all subdirectories in unix shell?

I'm using Max OS X. I'm trying to copy all header files (.h) to specific directory (./aaa) from all subdirectories in source directory. (./src/) This command worked well. cp ./src/*/*.h ./aaa But I ...
2
votes
2answers
334 views

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 ...
0
votes
2answers
508 views

Updating the $PATH for running an command through SSH with LDAP user account

I am setting up a Mac OSX 1.6 server to host Git repositories. As such we need to push commits to the server through SSH. The server has only an admin account and uses a user list from a LDAP server. ...
0
votes
3answers
5k views

How to know the full path of a file using SSH?

I am beginner for SSH stuff but i want to dump a big sql file and for that i need to be able to navigate to the appropriate path in my hosting account. I managed to login to SSH and i typed pwdbut it ...
0
votes
1answer
61 views

Is there some trick to replace rebooting in windows?

I've added the directory of php.exe to PATH variable,and it's available for administrator,but it's not available for user daemon. But it's available after rebooting,why is rebooting necessary?Is ...
0
votes
3answers
1k views

Console apps don't work in Powershell

I've inherited a Windows Server 2003 r2 box. I've got a Powershell script that I'd need to get running on the machine, but something seems terribly wrong with the system. For example, opening a ...
0
votes
2answers
127 views

How to upgrade the version of Python used by Apache?

On a Red Hat box, I upgraded Python from 2.3 to 2.6.4 and changed the symlink to python so when I type in python the 2.6.4 interpreter comes up. However my .py file works from the command-line, but ...
6
votes
3answers
20k views

How do I set the global PATH environment in a batch file?

The group policy in our environment overwrites the PATH variable every time I log on and, as I run a 'non-standard' computer, it gets it completely wrong (C:\Windows vs C:\WINNT, missing directories ...
0
votes
4answers
8k 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 ...
1
vote
1answer
4k views

Calling a batch file using relative path

Oh gosh, gotta expose myself as a noob here ;) In Windows, I need to execute a batch file in a subdirectory of the working directory. However, just running subdir/foo.bat cmd1 cmd2 does not work, and ...
0
votes
3answers
2k 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 ...
1
vote
2answers
1k views

OSX Leopard - PATH change doesn't persist

I tried to change the $PATH using the following command: export PATH=/opt/subversion/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:...
1
vote
2answers
608 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 ] [...
5
votes
2answers
6k 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 ...
1
vote
2answers
135 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
1k 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 ...
7
votes
2answers
5k 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 ...
3
votes
4answers
425 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 ...
2
votes
7answers
595 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
328 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 ...