Linux

Dual-boot Ubuntu Linux on a Windows laptop

Posted on June 27th, 2009 by David Luhman and tagged , .

I wanted to turn an old laptop from a Windows XP system to one that dual-booted Ubuntu. To get this to work, I first had to resize my Windows partition.

I started out with Windows default disk defragmenter (Accessories => System Tools => Disk Defragmenter). I ran it a few times, but it always left files at the "high end" of the partition so I couldn't downsize the partition.

I then tried Defraggler (http://defraggler.com). This maybe is a bit better at defragmenting, but still left files at the high-end of the partition.

Linux / Unix interview questions

Posted on April 4th, 2007 by David Luhman and tagged .

Here are some Linux / Unix questions you might encounter during a technical interview.

Describe Unix run levels. What does run-level 3 mean?

A program is running slow. What do you do?

You want to schedule a process to run every Tuesday at 1:00 am. What do you do?

What do these shell variables mean?

  • $$ - Process ID of self
  • $! - Process ID of last background process
  • $_ - Last argument

When I define an environment variable, what does EXPORT mean?

What is a journaling file system and why would I want to use one?