Every once in a while I've really missed having a Unix shell on my Windows box. When your e.g. monitoring a log file, Notepad just doesn't cut it. I've been using Cygwin on and off as an alternative to get access to handy tools such as cat, grep, less, tail, vi and so on. But I haven't really been too excited about Cygwin.
I discovered recently that Microsoft provides a Subsystem for UNIX-based Applications built-in to Windows 7. Fantastic! As with many other features, you'll have to enable it in "Windows features". When it's enabled, you'll need to download and install the Utilities and SDK for Subsystem for UNIX-based Applications. Then you'll find shortcuts to a C shell and a Korn shell in your start menu. I went with the C shell, which gave me tab completion, the up/down arrow command history etc.
And there it was! tail -f on a logfile:
Software security blog by André N. Klingsheim, who's learning to love .NET and Microsoft servers.
Disclaimer
Any opinions expressed here are my own and not necessarily those of my employer (I'm self-employed).
Apr 17, 2012
Subscribe to:
Posts (Atom)
Copyright notice
© André N. Klingsheim and www.dotnetnoob.com, 2009-2018. Unauthorized use and/or duplication of this material without express and written permission from this blog’s author and/or owner is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to André N. Klingsheim and www.dotnetnoob.com with appropriate and specific direction to the original content.
Read other popular posts
-
Security headers in an HTTP response There are many things to consider when securing a web application but a definite "quick win&qu...
-
Microsoft's widely used e-mail service Hotmail was recently overhauled and rebranded Outlook.com. One of the less known services they pr...
-
OWASP recently released their Top Ten 2013 list of web application vulnerabilities. If you compare the list to the 2010 version you’ll see t...
-
I just read an interesting article on the Naked Security blog: New Android Market web store could open backdoor for phone hackers . Turns ou...
-
Windows Identity Foundation (WIF) is vulnerable to replay of security tokens in its default configuration. The " Replay Detection "...
-
Yesterday I was playing around with the validateIntegratedModeConfiguration="true" setting on IIS 7.5. To my surprise I got an ...
-
I guess it was long overdue for me to follow up on my Hardening Windows Server 2003 SSL/TLS configuration and Windows server 2003 vs 20...
-
In a production environment, users should not be presented the default ASP.NET error pages. Instead they should be offered clean, understand...
-
The release of Firesheep a week ago brought a lot of attention to a problem that has been known for many, many years: cookies sent over both...
-
Guids are used extensively throughout Microsoft systems and developers tend to turn to Guid.NewGuid() whenever they need to create a value ...