Tech notes
May 25, 2007 • 4 min read • Technology
Loosing your Windows softly
I have two hard drives and the partitioning is as follows:hda1 120 GB/dev/hda1 100 MB Linux ext3 /boot/dev/hda2 95 GB Linux ext3 /home/dev/hda3 1 GB Linux swap/dev/hdb4 Extended partition/dev/hdb5 17 GB Linux /hdb1 32 GB/dev/hdb1 100 MB Linux ext3 /boot/dev/hdb2 1 GB Linux swap/dev/hdb3 Extended partition/dev/hdb4 12 GB NTFS Windows2000/dev/hdb5 18 GB Linux reiserfsBoth boot partitions had grub installed (there used to be an old Linux Red Hat 7 install on hdb1).
May 25, 2007 • 1 min read • Technology
grep to search for file content or rpm -qa output
In order to search a specific directory (path_to_directory) and all its subdirectories r for recursive) for files that contain a specific text string, use the following command:grep -r "textstring" path_to_directoryAlso very useful is to pipe the output of another process into grep.
May 25, 2007 • 1 min read • Technology
Dubugging GCK2.5 under wine
The new window that fails to be displayed, contains (when run natievly under W2K) the following text (and radio buttons for the four different file types):Select File Type Contruct (Ctrl-C)Illustration (Ctrl-I)List (Ctrl-L)Gel (Ctrl-G)New File NameOKCancelThe text associated with the different radio buttons appears first in the debug file in the following lines (as determined by the command "grep -n "List" all_output List_output", etc): 3890577 Gel3885836 Illustration3881107 List3876329 ConstructThat is within the range where we predicted the error to be.
May 25, 2007 • 2 min read • Technology
Debugging GCK2.5 under wine
GCK2.5.9 works with wine (crossover office 2.01 version).
May 25, 2007 • 1 min read • Technology
Changing environment variables (env, csh, bash)
I just install BackupPC.