The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
14 views

How can I make the run command prompt use my login environment?

I am running a new installation of Linux Mint and am wondering how I can make it so the Alt+F2 run command uses my login environment? I really just want it to use my PATH in order to be able to run ...
1
vote
0answers
19 views

Apache2 SetEnv For Multiple VirtualHosts

I am looking to use a single declaration of a SetEnv var in my apache2.conf file & have that variable used by all the virtualhosts I currently have virtualhost-specific vars set up, but would ...
-1
votes
1answer
44 views

Limitation in number of entries in System variables Windows 7 64-bit

i've encountered that there might be a limit of how many entries you can have in System Variables in Environment Variables, can someone verify my suspicion? I'm not talking about how many characters ...
0
votes
1answer
220 views

How do I do the manual set up of MinGW in my computer?

My problem: I have been trying to install MinGW manually but I cannot find the PATH it says that I needed to modify. MinGW site says: 1. Right-click on your "My Computer" icon and select ...
0
votes
1answer
208 views

Using SETX to configure a pc's LM_LICENSE_FILE environment variable

Various Windows applications such as Matlab, Altair, Nastran etc use license servers, which require a system environment variable - LM_LICENSE_FILE, to be updated which would take a value along the ...
1
vote
1answer
57 views

User environment state report

What is the most easy way to help a user create a report about his environment? Conditions: Do not need administrator permissions Run locally on user's PC The result should be placed in a file ...
1
vote
1answer
67 views

The Ubuntu package development environment

I've read a lot (e.g., http://developer.ubuntu.com/packaging/html/, http://developer.ubuntu.com/resources/) but still can't figure out the following questions. Is there cutting-edge Ubuntu package ...
0
votes
3answers
2k views

“/usr/bin/env bash” is not found when running from a cron script

I have this in my crontab: PATH=/usr/bin:/usr/local/bin:$PATH */1 * * * * /usr/bin/env bash > ~/cron.log 2>&1 The ouput in cron.log is the following: /usr/bin/env bash: No such file or ...
4
votes
1answer
510 views

sudo -E not passing all variables

Reading the man pages I expected sudo -E to pass all environment variables to the subshell, but I am not getting the expected results. As expected, awesome: $ export ...
1
vote
1answer
75 views

apt-get only downloading gnome classic

For the past few weeks, I've been having a problem with my two laptops. Somehow (both on linux mint 13 and ubuntu 12.04) I have been trying to download gnome 3.4 shell. Unfortunately it would only ...
1
vote
0answers
364 views

Faking a Linux environment without chroot

For a university project I want to test a C++11 program on a 32-core machine. Unfortunately the machine has Ubuntu 12.04 with GCC 4.6 installed (we need GCC 4.7 because of some C++11 threading ...
2
votes
0answers
109 views

Elastic beanstalk Rails - defaults to production environment even if I set staging environment

I am trying to bring up a staging instance of rails applciation using elastic beanstalk. I followed the documentation and did the following : eb init --environment staging eb start --environment ...
1
vote
0answers
76 views

Windows: Monitor Access to Environment Variables?

Programs (on Windows) often expect certain environment variables to be set. However, the name of these environment variables is often not well documented. E.g.: Does Eclipse expect %MINGW_HOME% or ...
1
vote
0answers
40 views

Need Info on the Hidden Switch in SET - “/S” How to implement [closed]

I am having some problems doing a proper search of "SET/S" or "SET /S" on google and other search providers. The difficulty arises with the SLASH "/", it is commonly used in search engines to add a ...
1
vote
2answers
56 views

Bash: Press enter won't shift to new line, how to revert it back?

Sometime, when i try to do some execution and press ctrl-c , the final output bash would look like this...when i press enter , it won't shift to new line but next to each other. how can i revert it ...
0
votes
0answers
78 views

Access environment variable on both OSX and Win7

I'm fairly sure this is impossible because of syntax issues, but here goes anyway... I'm using dropbox to sync some files that I need to access in both windows and osx. In the program I need to ...
0
votes
2answers
690 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
413 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: ...
2
votes
1answer
606 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
93 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 ...
45
votes
1answer
37k 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
370 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
3k 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 ...
0
votes
2answers
118 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 ...
3
votes
4answers
2k 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 know exactly what is every one of them (%windir%, %os%, etc.). So I need the official ...
6
votes
1answer
5k 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 ...
2
votes
2answers
1k 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
346 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 ...
3
votes
4answers
253 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
135 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 ...
4
votes
1answer
3k 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
59 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?
14
votes
9answers
3k 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 ...
5
votes
3answers
3k 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 ...