1. Insert CD/DVD

2. Open a terminal window and use the following command to determine your DVD device:

$ drutil status
Vendor Product Rev
HL-DT-ST DVDRW GSA-S10N AP09


Type: DVD-ROM Name: /dev/disk1

3. Umount the disk with the following command:

$ diskutil unmountDisk /dev/disk1
Disk /dev/disk1 unmounted

4. Use the dd command to create the ISO file:

$ dd if=/dev/disk1 of=file.iso bs=2048

5. Mount the ISO file to verify that it is readable:

$ hdid file.iso

If you’re looking for a utility to allow you to read ISO files on the Windows platform, try Virtual Clone drive from SlySoft.

 

Using rsync over ssh

You can securely synchronize directory structures between two Linux computers by using the following command:

rsync -ave ssh --delete myhost.example.com:Documents/ Documents/

The −−delete option ensures that any files or directories that no longer exist on the source are also removed from the destination.

Tagged with:
 

VNC over SSH

Sometimes it is useful to manage a Linux server remotely using VNC. A simple and secure method for doing so is to tunnel the VNC connection using Secure Shell. The following instructions have been tested on Redhat Enterprise Linux 5 AS.

On the server side:
First, we need to ensure the vncserver is actually running. SSH to the server or logon at the console as your regular user account. No root privileges are necessary. Once logged in, just type vncserver. You should see something like this:
(more…)

 

Flush DNS Cache

You can clear the DNS cache on OS X by entering the following command at the shell prompt.

lookupd -flushcache

On a windows 2000/XP/2003 system you would type the following from a command prompt.

ipconfig /flushdns
 

Widgets on the Desktop

Sometimes you may want to display widgets on your regular desktop, rather than accessing them through Dashboard. Thankfully, achieving this is pretty easy. Type the followin in a Terminal window:

defaults write com.apple.dashboard devmode YES

Log out of your session, and then login again to restart the Dashboard process. That’s it! You now have the capability of displaying widgets on your regular desktop. How do you get them there?

  • Hit F12 to bring up your Dashboard
  • Find the widget you want on your desktop
  • While dragging the widget across the Dashboard, hit F12 to return to your regular desktop and drop the widget
  • To remove the widget from your desktop, just reverse the process. Hit F12 as you’re dragging the widget, and then drop it back on your Dashboard screen

Alternatively, you can just use the Yahoo Widget Engine (works on Windows as well!).