What is an environment variable in Windows? An environment variable is a dynamic “object” containing an editable value which may be used by one or more software programs in Windows. In this note i am showing how to set an environment variable in Windows from the command-line prompt (CMD) and from the Windows PowerShell. In […]
The grep command in Linux is widely used for parsing files and searching for useful data in the outputs of different commands. The findstr command is a Windows grep equivalent in a Windows command-line prompt (CMD). In a Windows PowerShell the alternative for grep is the Select-String command. Below you will find some examples of […]
What is an environment variable in Windows? An environment variable is a dynamic “object” containing an editable value which may be used by one or more software programs in Windows. In this note i am showing how to list environment variables and display their values from the Windows command-line prompt and from the PowerShell.
PATH is an environment variable that specifies a set of directories, separated with semicolons (;), where executable programs are located. In this note i am showing how to print the contents of Windows PATH environment variable from the Windows command prompt. I am also showing how to add a directory to Windows PATH permanently or […]
The article describes how to mount CIFS shares manually. The shares can be on a Windows computer or on a Linux/UNIX server running Samba. Prerequisites 1. Install cifs-utils, if it hasn’t been installed yet. This package contains tools for mounting shares on Linux using the SMB/CIFS protocol. # yum install cifs-utils # sudo apt-get install […]
This procedure will help you to move or copy your SSL certificate, installed on an IIS server to an Apache server. Step 1: Export IIS certificate into a .PFX file Run mmc.exe Click the ‘Console’ menu and then click ‘Add/Remove Snap-in’. Click the ‘Add’ button and then choose the ‘certificates’ snap-in and click on ‘Add’. […]