Configuring FTP in Isolation Mode in IIS 6

IIS FTP isolation mode enables you to have a separate directory per FTP user. For example if you had a dozen different users that all need access to your FTP server but you did not want them to see any directories but their own you could setup Isolation Mode. Isolation Mode supports users either on […]

Get Yesterday’s date in MS DOS Batch file

A while back while I was trying to figure out the best way to gather some log files from Amazon S3 buckets and some web servers I run.  These resources are currently generating around 10-15GB of uncompressed log files daily.  Besides being fairly large in size the S3 (and CloudFront) log files are numerous.  Any […]

How To Use Wget – Includes Several Examples Using Wget

wget is a great command line utility that is natively available in Linux and can be downloaded for Windows (see also GNU WGet for Windows (Windows 7, Vista, XP, etc.)). wget can be used for many download situations including large files, recursive downloads, non-interactive downloads, multiple file downloads, etc. Note: options ARE case sensitive. 1. Download a […]

Install Windows Server 2008 Features with servermanagercmd.exe at the Command Prompt

Although Microsoft continues to expand PowerShell with more capability, the command prompt has not been left behind in Windows Server 2008. In fact, with this latest Windows Server release, the command prompt gains some capability, including a tool that allows administrators to add or remove features on a Windows Server 2008 installation with servermanagercmd.exe, which replicates […]

How to: Reverse DNS from Windows Command Line using Ping

Here’s a quick and easy way to do a Reverse DNS (RDNS) lookup using ping.exe from a Windows command prompt using the -a switch. ping -a <IP Address> Example ping -a 76.96.54.12 This example will resolve the address as follows: Pinging www4.comcast.net [76.96.54.12] with 32 bytes of data: Reply from 76.96.54.12: bytes=32 time=66ms TTL=51Reply from […]

How to: Change / Setup bash custom prompt (PS1)

So how do you setup, change and pimp out Linux / UNIX shell prompt? Most of us work with a shell prompt. By default most Linux distro displays hostname and current working directory. You can easily customize your prompt to display information important to you. You change look and feel by adding colors. In this […]

BASH Shell change the color of the shell prompt in Linux or UNIX

You can change the color of your shell prompt to impress your friend or to make your own life quite easy while working at command prompt. In the Linux default shell is BASH. Your current prompt setting is stored in PS1 shell variable. There are other variables too, like PS2, PS3 and PS4. Bash displays […]

Disable/Enable User Access Control (UAC) on Windows 7 or Vista from the Command Line

Microsoft introduced User Account Control (UAC) in Windows Vista. UAC enables users to perform common tasks as non-administrators, called standard users in Windows (Vista and Windows 7), and as administrators without having to switch users, log off, or use Run As. A standard user account is synonymous with a user account in Windows XP. User accounts that […]

How to remotely shutdown, restart or logoff a Windows Machine

With these simple commands you can remotely restart, shutdown, log off or even abort a system shutdown on  Local or remote windows machines using Remote Shutdown Tool (shutdown.exe). The Remote Shutdown Tool can be accessed via a GUI or from the command prompt. The Remote Shutdown Tool GUI can be accessed by executing: shutdown.exe /i […]