The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
202 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
265 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
4k 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
147 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
444 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
101 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 ...
0
votes
2answers
705 views

greengeeks drupal install imagemagik 'path /usr/bin/convert' does not exists error

I just signed up with greengeeks. I have a drupal install (6.19) on my public_html directory. The ImageMagic Toolkit can't find the binary - the error I get is "the path /usr/bin/convert" does not ...
4
votes
1answer
2k views

Make IIS see updated environment PATH variable

We've installed Oracle Express on a Windows 2003 Server and in the process it updated the PATH. We're trying to get IIS to see this change in the PATH but we can't figure it out. We've recycled the ...
4
votes
6answers
2k views

Prune duplicate entries from PATH variable

I modify my .bashrc frequently and then source it. However, when I have things like export PATH="~/bin:~/perl5/bin:$PATH" in my file, then the PATH environment variable grows every time I source the ...
0
votes
2answers
162 views

Copying files (of a particular extension) remotely onto local computer preserving paths

I have bunch of files on the remote server. I'm not interested in most of them, except for .pl files. I want to get a copy of these on my local computer. What is the best way to do this (at the ...
0
votes
2answers
1k views

How to serve dynamic pages outside the document root?

I'm trying to setup a simple web app and I'm having some difficulties. Here's how I have it setup : /srv/www/application <-- python code /srv/www/public_html <-- document root I want Apache ...
0
votes
1answer
169 views

path as variable

BACKUP_SERVER_NAME="name" BACKUP_SERVER_USERNAME="user" COPY_FILE_TO_WINDOWS="/cygdrive/c/unix_test_copy" scp -r /$1/ $PRIMARY_SERVER_USERNAME@$PRIMARY_SERVER_NAME:$COPY_FILE_TO_WINDOWS how i can ...
0
votes
2answers
294 views

Make bridge table with UDP packet

Assume that all bridge table was empty (or at least don't have source and destination of my connection ) and want to update their bridge table with my sending packet (when I send packet all bridge ...
1
vote
1answer
303 views

Where can $PATH be defined for non-login shell on Red Hat

I need to add a directory to the path for non-login shells on a Red Hat Server. ssh user@server echo \$PATH returns /usr/local/bin:/bin:/usr/bin How can I add a directory to this path. I ...
0
votes
2answers
2k views

How to concatenate environment variable paths in a cleaner way in bash?

In order to modify my paths (like LD_LIBRARY_PATH or PYTHONPATH), I first check is the variable exists. If so, I'm concatenating my old value with the new one (separated with a semicolon), else I'm ...
1
vote
5answers
286 views

How can I modify path of a user with no home folder?

I have a user on my RHEL5 system whose home folder is /tmp. This user is for running some monitoring tasks, it doesn't represent a human being. What are the options for modifying this user's PATH ...
0
votes
5answers
2k views

Problems with sudo in path

Using: Linux nomemory 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:17:33 UTC 2010 i686 GNU/Linux I have a folder in my $HOME called ~/.scriptfarm/scripts where i keep some of my custom scripts. ...
1
vote
2answers
2k views

Nginx gives an incorrect CSS mime type when path contains dashes

We migrated our web servers to Nginx mainly for performance reason, flexibility and ease of configuration (In this regard, a great load of satisfaction!). However, only one site showed a strange ...
0
votes
2answers
118 views

How do I set the PATH environment variable to point to JRE version 1.5

Hi there I have a program that requires me to set the PATH environment variable to point to JRE version 1.5 as I need to access the program via a command prompt. So any ideas on how to do that?
4
votes
3answers
620 views

Why is my $PATH variable for root different when I use su root

When I was trying to run chkconfig as an ordinary user (on CentOS 5) I realized that I could not access it because the directory, sbin, is not in my $PATH. When I su to root it still doesn't work. I ...
1
vote
1answer
551 views

sed can't find a file that obviously exists

I run the following command which comments out all lines that contain the text "dlclose" grep -lIR "dlclose" . | grep -v ".svn" | xargs sed -i "s/.*dlclose.*/\/\/&/g" However, sed claims that ...
0
votes
1answer
99 views

Standard apache subdomain locations

Is there a standard location for subdomain folders? I used to make folders for each subdomain in /var/web. I'm redoing my server and I want to make everything as clean as possible. The Django ...
6
votes
3answers
10k views

Window 256 characters path name limitation

after a long research, I finally found out that pathnames cannot be longer than 256 characters even in the latest Microsoft Windows 7. I really don't get it why there is such a stupid limitation, ...
2
votes
2answers
107 views

Powershell - can I avoid typing .\ if I want to execute something from the current folder?

I'm trying to switch from cmd.exe to Powershell, but I'm very annoyed by the fact that if I try to execute something from the current folder, I have to type .\ before it, just like in Linux. Is there ...
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
2k views

How to set the ery globap $PATH in Ubuntu 10.04 Server?

On Ubuntu 10.04 Server, where can I adjust the essential $PATH environment variable value which will all applications and all users see?
0
votes
2answers
885 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
314 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
3answers
618 views

Compiling Ruby on Mac OS X Snow Leopard

I am trying to follow this tutorial, on the subject of compiling ruby and rubygems on Snow Leopard: http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard I have added this ...
3
votes
1answer
713 views

How do you use environment variables, such as %CommonProgramFiles%, in the PATH and have them recognized by services.exe?

I'm trying to add C:\Program Files\Common Files\xxx\xxx to the system PATH environment variable by appending %CommonProgramFiles%\xxx\xxx to the existing path. After rebooting, I open a command ...
0
votes
3answers
4k 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
2answers
483 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
2answers
1k views

Problem in accessing Windows shared folder on Ubuntu using terminal

Description I have 2 systems with me, one running on Windows(Host) and one on Ubuntu, both on a LAN. On the Windows(Host) I develop software intended for the Linux system and because the Linux system ...
1
vote
2answers
1k views

Setting module path in lighttpd config file?

What is the option in lighttpd.conf to set the default path for lighttpd to look for modules? My lighttpd would not start because it keeps looking for critical modules at the default path, and I had ...
2
votes
1answer
503 views

OSX problem starting FTP from preferences

When I try to enable the FTP service in the preferences (File Sharing->Options->Share Files and Folders Using FTP) the check box enables and then disables again. The console is giving me the message ...
2
votes
2answers
3k views

How to set PATH variable on Mac OS so that even non-terminal apps see it?

I need to add a directory to my PATH variable on Mac OS. I added it in .bash_profile and .profile, and that works for the terminal. But Emacs (http://emacsformacosx.com) still does not use the new ...
0
votes
1answer
60 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 ...
1
vote
2answers
9k views

Make PATH variable changes permanent on openSuse

Okay, so I'm trying to do something that should be rather simple but for some reason I can't quite seem to make it work. All I simply want to do is add a path to the PATH environment variable in ...
1
vote
0answers
228 views

DOS path not resolving in VM

As a developer, I had our systems team setup a VM of a server to practice an upgrade of an old third party application. This server has its own instance of SQL Server 2000 that's used exclusively for ...
0
votes
3answers
905 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 ...
30
votes
4answers
75k views

Adding a directory to $PATH in CentOS?

We just got our new server(s) up and we're running CentOS on them all. After successfully installing Ruby Enterprise Edition, I would now like to add the REE /bin (located at ...
0
votes
3answers
545 views

How to get executable path on Linux

I am calling a 'executable' on Linux. One way by console and another from PHP script. They both call other executable (i see it by version of file). So I need a way to display a path to executable ...
7
votes
3answers
9k views

why can't macports find make

I am trying to run macports like thus: port install php5 When I do so, however, I get this error: Error: Unable to open port: can't read "build.cmd": Failed to locate 'make' in path: ...
0
votes
2answers
118 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 ...
0
votes
3answers
4k views

psExec doesn't have path

I have a brand new windows 2008 server (64 bit), and the remote deployment scripts using nant and psExec are not behaving like they do on the old servers. This works: psExec \\newserver.myco.com cmd ...
4
votes
3answers
10k 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 ...
1
vote
2answers
186 views

Unable to get defined path in 'source' type on AIX node

I am trying to create a set of users on my AIX node and trying to get their authorized_keys which are already hosted on my server with name like, 'myuser_id_dsa.pub'. Currently i am managing 2 nodes ...
1
vote
1answer
2k 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 ...
1
vote
2answers
1k views

OSX Leopard - PATH change doesn't persist

I tried to change the $PATH using the following command: export ...