The environment tag has no wiki summary.
0
votes
0answers
18 views
Multiple sites using virtual environment, location for virtual env on live?
I want to deploy a couple of Django applications onto a live server.
I put my Django applications under /srv/www/[project] (I do not expose my code to the server, I have a separate directory for ...
0
votes
2answers
97 views
Changing the prompt in telnet
With some help from people on here, I was able to set a custom prompt in an ssh session (thanks!). Now I need to do the same in telnet, but I'm not sure of what syntax I could use for that.
...
0
votes
2answers
58 views
Changing the prompt when ssh to another box
I want to be able to set a custom prompt (to help with automating jobs, the prompt should be something I can reliably detect). I found I am able to set the prompt remotely, like this:
...
0
votes
0answers
24 views
Duplication of windows Environment Variables
When i try to add PATH variable existing path variables are duplicating.
Below command I am using to add the system variables permanently.
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session ...
2
votes
1answer
184 views
Linux change environmental variables without rebooting for all shells
I am using Fedora 14 and I changed my hostname in /etc/sysconfig/network and by using the hostname command. The shell prompts correctly display the new hostname. However the terminal titles still ...
2
votes
1answer
67 views
Development Environment
I needed to migrate from Linux to Windows recently. It means, I currently do not own any local enviroment.
I'm looking for sugestions. I have two possibilities:
1. set up in office server
2. buy a ...
10
votes
1answer
3k views
How to reload /etc/environment without rebooting?
/etc/environment is officially the correct place for system wide environment variables. But how can I reload the assignments in this file without rebooting or relogging?
Interestingly enough google ...
0
votes
1answer
117 views
Setting system wide environment variable in Ubuntu 8.04 Server
This is my /etc/environment:
HELLO="hello"
Now I check that the environment is being set when connecting via ssh:
ssh foobar@my_host env
And this is the output:
SHELL=/bin/bash
...
2
votes
2answers
226 views
How to remove computername from home path?
I've just installed Windows 7, with the user name USERNAME, and machine name MACHINENAME. The home path is set to C:\Users\USERNAME.MACHINENAME. (The computer is NOT on a domain.)
How do I change ...
1
vote
2answers
108 views
PowerShell - environment vars - differentiating between user and system vars
How can I display environment variables in PowerShell, and be able to distinguish between which ones are "user" vars and which ones are "system" vars?
3
votes
2answers
1k views
How to extract environment variables from system restore point, Windows 7 64-bit
Recently a (badly written) piece of software erased my PATH variable. I've been installing software for years and recovering every single entry would be cumbersome. An even more cumbersome solution ...
0
votes
2answers
85 views
Child bash identical to invoking parent
Is it possible to invoke a bash such that everything about my environment (aliases, function, exported/non-exported variables, etc) will be present in the new shell?
I'd settle for just getting the ...
1
vote
4answers
401 views
Where is the Official list of Windows Environment Variables?
I'm working on some .BAT stuff created in a legacy application, which uses many environment variables. I need to kwnow exactly what is every one of them (%windir%, %os%, etc.).
So I need the OFFICIAL ...
3
votes
1answer
1k views
What is the purpose of the environment variable asl.log?
I run Windows 7.
I notice that there's an environment variable called asl.log. What is this thing?
Who puts it there?
What's the purpose of it?
I searched and found only references to MacOS and ...
1
vote
2answers
278 views
How can I alias a command for sudo?
I have an alias that I would like to use both as a regular user and as root, via sudo. Specifically, it is this:
alias rm=trash
This works fine as a normal user, and it works fine when I use sudo ...
1
vote
2answers
202 views
Fail cronjob with /usr/bin/env
I have a script that works perfectly if I execute it from the command line manually. However, when it runs via cron, the job fails with the following error:
/usr/bin/env: escript: No such file or ...
2
votes
4answers
206 views
Why is it bad to add '.' to PATH?
I've read one explanation saying it can allow malicious executables that are in the cwd to run in place of similarly named built-ins and core utilities.
For something to wreak true havoc, wouldn't ...
2
votes
1answer
90 views
Development environment clean installation
I'm about to install a new and clean development environment. To accomplish that, I would like a Windows operating system (possibly Windows 7) and a Ubuntu one (possibly the most recent, 10.04). To ...
3
votes
1answer
2k views
Change Path for OS X
I am NOT asking how to change the path for OS X terminal windows.
I am having this problem, and I'd like to be able to launch by clicking. It does work if I open it in a terminal window (since the ...
2
votes
1answer
49 views
Running PowerFlex Program on Windows
I have an old program written in PowerFlex and I would like to see if I can get it running on Windows. Does anyone have an idea of what I need to get started doing this?
1
vote
3answers
7k views
How do you recreate the System Recovery environment in Windows 7?
I'm running Windows 7 Home Premium RTM (64-bit) and I want to take advantage of the system recovery tools (eg the Command Prompt) without using the Windows 7 DVD. My understanding is that this ...
14
votes
9answers
2k views
Buying a new printer instead of replacing ink? [closed]
With prices of basic printers being around $40 - $50 and a ink cartridge being around $20 - $30 each for black AND color. It costs me more to replace the printer's ink than to just buy a brand new ...
3
votes
3answers
2k views
Prevent screensaver starting when an application runs fullscreen
Is there a way to prevent the screensaver from running when a certain application is running, in Windows Vista?
I'm asking because I know Windows MediaPlayer does this, but the kind people at ...