Brandon's Notepad

December 27, 2017

The vi Text Editor

Home > My Lists > Technology > Software Development References > The vi Text Editor

User Guides & Tutorials

Tips & Tricks

  • Insert contents of another file into current file using :r filename
  • Open second file in split window using :sp or :vsp. Use Ctrl+w to switch between window panes.

July 14, 2014

Open Source Tripwire Reference

Filed under: Computer Software,Linux — Brandon @ 10:34 am
Tags: , , , , ,

Home > My Lists > Technical Notes > Tripwire > Open Source Tripwire Reference

There is a lot of reference material on the Web about Open Source Tripwire. This page includes references to the sources I’ve used to understand how the system works.

How-To Guides

Writing Policy Files

Linux Man Pages


Filed under: Computer Software,Linux — Brandon @ 10:29 am
Tags: , , , , ,

Short URL:
Home > My Lists > Technical Notes > Tripwire

Tripwire is an intrusion detection system. It monitors file systems and stores various attributes about the files for later comparison. When it detects that a monitored file has changed since the baseline scan, it alerts someone (e.g. system administrator, data security, etc.) via e-mail who can either verify that the change was authorized and update the baseline, or have the change reversed. The Open Source product is based on code provided by Tripwire Inc.. The commercial offering includes a robust reporting and security policy management built around the core product.

Open Source Tripwire Reference
How Tripwire Works In Plain English (future post)
Other Uses For Tripwire

April 15, 2011

Creating Movie DVD ISO Images

Filed under: How-To,Linux — Brandon @ 1:05 pm
Tags: , , ,

I’ve taken an interest in networked media players, like the WD TV Live series of devices. Some of these devices will play DVD ISO images. The idea is that an ISO file can be mounted and read just like the filesystem on the DVD itself. From what I’ve read, this is not necessarily as easy as running the trusty ‘dd’ command – something to do with variable block sizes or something like that, but I’ll leave that for others to explain for now. This is a how-to page for creating ISO images that play.

Incidentally, I don’t advocate stealing music or movies in any way. Artists absolutely deserve to be payed for their work, so I buy my albums and movies. I find nothing wrong with creating backup copies of these things for non-public use, and I’m fairly certain that U.S. law still permits this (fair use).


I already use this utility to burn CDs and such. I have used it to burn ISO images to data CDs, primarily Linux distros, but I’ve not tried using it for audio or video projects yet. More to come…


This is a command-line utility and it looks promising. I will try this one after trying K3B above. For now, here are some useful links: vobcopy manpage, a newbie tutorial, Mac-based tutorial on YouTube (I think this guy was stoned while filming), this insightful snippet. The vobcopy utility just copies the VOB files – the ISO file must be compiled with mkisofs. More to come…


On the list to try. Sourceforge project page More to come…


On the list to try. Sourceforge project page More to come…


Is it possible that the ‘cat’ command will work? The example provided on this page is ‘cat /dev/dvd/ > $HOME/video.iso’. Call me skeptical, but I’ll have to verify this one for myself – I have a feeling this is what copy protection prevents.


According to this post, Ubuntu (8.10) provides a ‘Copy Disc’ option. This, too, should be easy to test out once I obtain a player.

May 28, 2009

Linux & Mobile Phones

Filed under: How-To,Linux — Brandon @ 7:22 am
Tags: , , , ,

At the time of this writing, I use a Motorola KRZR K1m for my personal mobile phone. Needless to say, the phone comes with software that runs on Windows, not Linux, so I have a 1GB Micro SD card for transferring pictures to my PC. I’ve done a little research on how to make the phone interact with Linux and my findings are as follows.

A program called moto4lin is available on Sourceforge and is based on the P2K platform. It allows you to view the phone’s file system and edit files. While the app isn’t ancient, there doesn’t appear to be any active development at the time of this writing. I first made note of this app in July 2007, the site was last updated in mid-September 2008 and the last comment on the Main Page was added in May 2006.

This page by Stephen Evanchik details adding ringtones to a RAZR V3, and I suspect the same method can be used with the K1m. The basic steps are:

  1. Convert a sound/music file to a 20 second MP3 file (44.1kHz, 64kbps, <200kb).
  2. Copy the MP3 file to /a/mobile/audio on the phone.
  3. Set phone to silent mode.
  4. Delete the MyToneDB.db & TempToneDB.db files.
  5. Reboot the phone, remove from silent mode and browse for the new ringtone.

Finally, here are a few links on setting up Bluetooth on Ubuntu:

April 24, 2009

Linux Boot Process

Filed under: Linux — Brandon @ 7:24 am
Tags: , , , , , , , , , ,

Home > My Lists > Technical Notes > Linux Boot Process

This note began as a summary of this already-concise overview of the Linux startup process.

  1. BIOS Power On Self Test (POST)
  2. Boot Loader (GRUB, LILO, etc.)
  3. Kernel loads
  4. Init loads (configured by /etc/inittab)
  5. Runlevel selected (default set in inittab)
  6. Init scripts executed (/etc/rc#.d, #=runlevel)

June 29, 2008

Headless Linux Web Client

Home > My Lists > Technical Notes > Headless Linux Web Client

Here’s my thoughts on a Linux-based headless web client:

  • MiniKnoppix would be a good platform, but the following packages would have to be readded: anacron, expect, html2text, m4, ndiswrapper.
  • Knoppix has a “persistent home” option.
  • The JFFS filesystem will distribute wear on a Compact Flash drive.
  • Fetchmail & procmail could be used to retreive simple text info by cell phone or IM.
  • “Web Client Programming with Perl” & “Spidering Hacks” by O’Reilly publishing would provide much help in scripting scrapes and other tools/toys.

January 30, 2008

Linux DVD Player Review (2002)

Filed under: Computer Software,Linux — Brandon @ 9:22 pm
Tags: , , , , , , , ,

Linux Journal published a Linux DVD player review, May 6, 2002.  It covers Xine, VideoLAN Client, MPlayer & Ogle.  The review is a bit outdated now, but the video players are still available five years later.

Create a free website or blog at