Archive

Archive for the ‘shell’ Category

Free, Portable FTP Server for Windows

June 23rd, 2011 No comments

If you are looking for a really simple, free and portable ftp server for Windows, then visit StahlWorks.com and get their excellent Swiss File Knife. It’s a single, small executable with no dependencies that brings a ton of features. If you have it, just run …

sfk ftpserv -rw

… and enjoy your zero-install, ultra-portable ftp server!

Piping text to the clipboard in Vista and Windows 7

May 31st, 2010 No comments

Microsoft added a new command line tool to Vista and Windows 7: clip.exe. This nifty little utility allows user to copy program output to the clipboard on the windows command line. Its usage is pretty straightforward:

dir | clip – copies the output of the dir command to the clipboard
clip < example.txt – copy the contents of the file example.txt to the clipboard

How To Restore A SQL Server Database via SQLCMD

November 11th, 2009 No comments

Run this with SQLCMD to restore a SQL Server database:

RESTORE DATABASE MyDatabase
FROM DISK = 'd:\backup\MyDatabase.bak'

It’s that simple.
Thanks to Michael Otey @ SQL Server Magazine.

Tags:

How to Create MD5 Checksums On Windows

October 28th, 2009 No comments

There are many md5 utilities for Windows, but very few that  …

  • are free/open source,
  • create checksums for multiple files,
  • export checksums to a file,
  • and verify md5 sums from a list of files.

In short: if you need a very good tool, then use the Swiss File Knife (sfk).

For creating checksums for all your files in the current directory and storing the individual checksums in checksum.md5, execute this:

sfk md5gento checksum.md5 .

And for validating the checksums of all files in the current directory, execute this:

sfk md5check checksum.md5

That’s it :)

Unix/Linux Command Overview

August 19th, 2009 No comments

You are new to *nix and/or you need a concise overview of your new toys’ command line tools? Then don’t miss the Unix Toolbox!

Whether you are looking for a handy summary to carry around, or a help to get started quickly – this is what you are looking for.

Tags:
Performance Optimization WordPress Plugins by W3 EDGE