Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
This is a procedure for migrating a whole system to a new disk (such as when upgrading the primary disk in a machine). The new disk is installed alongside the old one (either in a spare ATA port, or using a USB adapter).
First partition the new disk (the examples here assume the original disk is sda and the new disk is sdb):
Assuming all of the system is to be in a single partition, make a primary partition 'n', 'p', taking most...
Posted 05-18-2011 at 04:43 AM byD1ver Updated 05-26-2011 at 08:20 PM byD1ver
I was reading about the "Monty Hall Problem" this afternoon and in an attempt to simulate it I wrote some code. The following should run in Matlab / GNU Octave. Results agree with the theory.
% Code to simulate the monty hall problem
% The array 'doors' represent the 3 doors
% Door States:
% 0 - uninitialized
% 1 - car
% 2 - goat
% 3 - revealed
% Neil Dick
% clear everything..
To upgrade the root partition, change /etc/fstab so that it will be mounted as ext4 (since ext4 can mount an ext3 file system), then reboot as single user read-only (recovery mode). Then after setting the tune2fs parameters, reboot again before running e2fsck. Then reboot...