Archive for November, 2008

Admin’s Arsenal: BareTail

baretaillogo Admins Arsenal: BareTail

As someone that works with Linux systems on a daily basis I have sort of a love/hate relationship with tail.exe (it can be frustrating trying to get it to display exactly what I want, though piping out to grep usually fixes that straight away).

One thing I have always wondered though is why it is not a native Windows utility. It is freaking useful!

Well all is not lost, as there are a couple of solutions available. The “just like on Linux!” alternative for Windows is Tail for Win32. This is a port for Windows systems of the “tail -f” command on *NIX systems.

My preferred solution is BareTail.exe, a more full featured offering. This is basically a GUI version of Tail which allows you to define syntax highlighting. This utility can also be run from the command line.

This utility is chock full of functionality, and is natively portable (meaning you can run it from a USB drive, yes!). BareTail offers many other useful features, including:

  • Optimized real-time viewing engine
  • View files of any size (> 2GB)
  • Scroll to any point in the whole file instantly
  • View files over a network
  • Configurable line wrapping
  • Configurable TAB expansion
  • Configurable font, including spacing and offset to maximize use of screen space
  • View the end of a growing file in real time, no matter how fast the file grows
  • Like “tail -f” on Unix systems, but with many more features
  • Simultaneously monitor multiple files for changes using tabs
  • Visual indication on each tab of file status and changes
  • Tabs may be positioned on any side of the window and oriented horizontally or vertically
  • Lines containing particular strings can be highlighted to help you notice important text
  • Highlight colors are fully customizable
  • Windows / DOS text files (lines end in CR/LF pairs)
  • Unix text files (lines end in LF)
  • Microsoft IIS logfiles (and other files terminated with a string of nulls)

BareTail comes in two license formats: Free, and Registered ($25 at the time this was written). The Registered version offers all of the features of the Free version plus:

  • Regular expression text search (including line numbering for search results)
  • Searching while you type, to find results quicker
  • Feedback on regex syntax errors while you type, to build regexes quicker
  • Filter tail mode (include or exclude lines)
  • Frequently used text search patterns may be saved, named and edited
  • Export/copy of search and filter results in many formats

At only $25 for a license this is a worthwhile upgrade, but the free version is imminently usable as well.

You can download BareTail here. You can also read Karl’s full review of it here (via MakeUseOf.com)

Admin’s Arsenal: BareGrep

grep Admins Arsenal: BareGrep

Ok, here is the situation: you’ve got 1200 script files in a particular directory on your XP workstation, and you need to find any script that references “\\atl01\share” (queue Dennis Hopper voice), what do you do?!

Traditional convention is that you spend several hours opening each file in notepad and doing a “find”, or you might be able to cut it down to an hour or so if you opened several dozen of the files at a time in Notepad++ and did “find in all files”, or you could take about a half an hour and move the files over to a *NIX machine and use grep. I’ve got a better answer: BareGrep.exe from our friends at Bare metal Software. BareGrep is basically a GUI version of the *NIX grep command for Windows machines, and it works wonderfully.Much like BareTail (which I reviewed here), BareGrep is fully portable, meaning you can run it from a USB drive!

Here is a short list of some of the features in BareGrep:

  • Regular expression text search (that’s inside the files)
  • Wildcard and regular expression file search
  • Files to find or search can be specified with a regular expression
  • Multiple files can also be specified with the mouse
  • Recursive directory search
  • Frequently used text search patterns may be saved, named and edited
  • Searching while you type, to find results quicker
  • Capturing groups (using bracket characters ‘(’ and ‘)’ in a regex) extract strings from files
  • Tabular presentation of search results
  • Export/copy of search results in many formats
  • Search files of any size (> 2GB)

Not only will this utility do all that, but it is usable from the commandline as well! What more could you want? Wait, what? You want… more features? Well you’re in luck, as BareGrep comes in two forms, the Free version (what we’ve covered so far), and the Registered version ($25 at the time of this review), which offers all of the features of the free version, as well as:

  • Selecting a search result line shows that line in context in the file
  • Tabs display files recently viewed
  • Tabs may be positioned on any side of the window and oriented horizontally or vertically
  • Lines containing particular strings can be highlighted to help you notice important text
  • Highlight colors are fully customizable

Now I can’t even begin to cover the colossal amount of time that this utility has saved me, but I can tell you that it is well worth the price of admission. BareGrep can be downloaded here.