Top "Environment" questions

The O/S in which a process is executed, especially settings that affect the process

How do I get the path of a process in Unix / Linux

In Windows environment there is an API to obtain the path which is running a process. Is there something similar …

linux unix process path environment
How to generate .env file for laravel?

From the documentation I see it's possible to create a laravel project via laravel installer: $laravel new blog or via …

laravel installation composer-php laravel-5 environment
Java current machine name and logged in user?

Is it possible to get the name of the currently logged in user (Windows/Unix) and the hostname of the …

java environment
How to use an environment variable inside a quoted string in Bash

I've tried various forms of the following in a bash script: #!/bin/bash svn diff $@ --diff-cmd /usr/bin/diff -x "…

bash quotes environment
How can I get the current user directory?

Using this: Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) I get this output: "C:\\Documents and Settings\\[USER]\\Application Data" How can …

c# windows environment special-folders
How to find the path of the local git repository when I am possibly in a subdirectory

I'm looking for something like git list-path printing the path of the associated repository (the .git directory). A bit of …

git path environment
How do I find the current machine's full hostname in C (hostname and domain information)?

In a C project (POSIX), how do I get the fully qualified name for the current system? For example, I …

c sockets posix environment
Windows 7 environment variable not working in path

I am trying to set up some path using environment variable. I added an environment variable "MAVEN_HOME" with the …

variables windows-7 path environment
About .bash_profile, .bashrc, and where should alias be written in?

Possible Duplicate: What's the difference between .bashrc, .bash_profile, and .environment? It seems that if I use alias ls='ls …

bash shell environment
UNIX, get environment variable

I have a ridiculous question due to a ridiculous problem. Normally if I want to get the contents of an …

unix shell environment echo