environment variable – POFTUT

How To Set Environment Variables For Linux, Windows, BSD and MacOSX

Environment variables are very useful for setting some data in the operationg system environment. They are like key-value pairs where we can set a key a specific value which can be used by all applications in the current operating system. Environment variables are used to set library path, Java path, Java version, current username, current connection … Read more

Linux Bash Default Environment Variables

While working with Bash environment we generally need some variable data to set and get. Bash shell provides some default values about current user, hostname etc. as environment variable. In this tutorial we will look most popular of them. Get The User Running Script While running bash interactively or non-interactively getting current user name is … Read more

How To List, Set, Get Windows Environment Variables With Set Command In Command Line MS-DOS?

Operating systems have a lot of configurations. These configurations are stored in different ways in different locations. One of the most common storage for some generic information like Username, operating system path etc. is environment variables. In this tutorial we will look how to list, get and set Windows operating system environment variables in details. … Read more

How To Determine Installed Powershell Version?

Powershell provides different features according to its version. Here knowing the version of the PowerShell become a necessity. There are different methods to get version of Powershell from easy to hard. PowerShell Versions Also PowerShell is updated with the Windows Update but following lines provides information about the PowerShell versions and related Windows or Operating … Read more