Technology Insights

Append Or Prepend Text To Every Line In Text File With Notepad++

When I need to use Windows either for Microsoft Office products or some other reason I find myself in Notepad++ a lot. Notepad++ is a great free tool that provides a ton of functionality including the ability to easily add plugins, etc. One great feature of Notepad++ is the Regular Expression capabilities when using find/replace. If you wanted to add data to the beginning of each line or add data to the end of each line you can easily do so using find and replace with Regular Expressions enabled as shown in the below examples.

Technology Insights

Configure KeepNote Helper Applications In Backtrack Linux

I use KeepNote for taking notes in Backtrack. It is important to document progress on projects or simple notes about file locations, specific command switches, or other information that could get lost in the shuffle during a work session. KeepNote provides the functionality necessary to organize notes and search note content as necessary. On Backtrack it is beneficial to configure KeepNote’s Spell Check as well as KeepNote Helper Applications so you can benefit from the full potential of KeepNote. Below we describe some errors you may see when attempting to use certain KeepNote functionality and how to resolve them.

Technology Insights

Echo Cron To Syslog

When creating cron tasks on Linux many people do not realize that the output from the cron will logged and without redirection will sent to the user running the cron task’s email. In many cases this is the root user or if an alias has been set in /etc/aliases then the email will be sent to the user configured to receive roots email in the aliases file. Specifically on Backtrack Linux the root users email is redirected to bt5 by default and that user does not exist so the email will simply bounce. Below we describe a better way to redirect the cron tasks output into a log file which could be useful down the road.

Technology Insights

Enable Spellcheck For KeepNote On Backtrack 5 R3

I take a lot of notes when working no matter if it is learning new stuff or working on projects for my job I have found that great note taking can save you lots of time down the road. The note taking application installed with Backtrack Linux is called KeepNote and provides the all of the functionality that I typically need when taking notes such as folders for organization, easy way(s) to backup notes, tabs, and all the other basics. One thing that does not work out of the box for KeepNote on Backtrack 5 R3 is Spellcheck which I use regularly to make sure my slang has not found itself into the notes I am sharing with others. Below we outline a quick way to enable spellcheck in KeepNote 0.7.7 on Backtrack 5 release 3.

Technology Insights

Install Python 2.4 On Backtrack Linux 5 R3

Some tools in Backtrack Linux version 5 R3 were written for older versions of Python so if you are interested in using some of these tools in can be beneficial to install older versions of Python such as Python 2.4. Below I describe how to easily install Python 2.4 without causing issues with the Python 2.6 that is installed by default on Backtrack Linux 5 R3 or Ubuntu 10.04.