Command Line

Vi, commands at a glance – basic

Vi can often be daunting, so here is my Vi commands at a glace list.
r            Replace character under cursor with next typed character.
R           Replace characters under cursor until esc is pressed.
i            Insert before cursor.
a           Append after cursor.
A           Append at the end of the line.
O          Open line above cursor and enter append mode.
x            Delete character under cursor.
dd          Delete line under cursor.
dw         Delete word under cursor.
db          Delete word before cursor.
Write File:
:w          Saves the current file without quitting.
Exiting vi:
:wq        Exit and save changes.
:q!         Exit without saving.

Is my processor x32 or x64 bit – Mac OSX

Open the Applications folder or navigate to where Terminal is and allow it to run, then type uname -a and see what it produces. If you are presented with

.. /RELEASE_X86_64 x86_64

then you have a processor capable of both x32 and x64 bit operation, if however you are met with

.. /RELEASE_I386 i386

then you are limited to x32 bit functionality.

Universal/Ultimate Boot CD

First, extract all the files on the UBCD to a directory on your harddisk such as c:\ubcd-exracted (pathname may contain spaces). If you wish, you can directly extract the files from the ISO image using a tool such as 7-Zip or Daemon Tools.
You should have a directory structure that looks like:

c:\ubcd-extracted\ boot\ pmagic\ ubcd\ custom\ custom.cfg custom.lst autorun.inf license.txt

To add your own ISO images to UBCD, copy them to c:\ubcd-extracted\ubcd\custom. You can optionally compress each image using gzip (via a tool such as 7-Zip) to make them smaller. Then editc:\ubcd-extracted\ubcd\custom\custom.cfg and add each ISO image to the menu.

For Example:

LABEL – MENU LABEL Windows 98 TEXT HELP Windows 98 boot disk ENDTEXT LINUX /boot/syslinux/memdisk INITRD /ubcd/custom/win98.iso.gz APPEND iso raw

Making UBCD memory stick

To create a bootable UBCD memory stick, at the command prompt, type:

cd \ubcd-extracted\ubcd\tools\win32\ubcd2usb ubcd2usb c:\ubcd-extracted x: /f

where X: is that drive letter of USB memory stick, which is assumed to be already formatted. If it is not already formatted, or you wish to force it to be formatted, you can add the /f switch at the end:

If this fails, run cmd as the administrator