Linux Labratories

The following is a list of lab exercises for linux and hints about each one, email me with any questions about the labs.

  1. Lab 1:

    This lab contains a few simple exercises in editing the Linux kernel.

    hints:
    • Where it says "follow the n110 lab instructions..." This is just about resetting the kernel and all other files to a lab standard, which shouldn't matter for a stand-alone PC.
    • A useful command for the first task is

      grep */*.c

      This will search all directories one layer down for occurances of the keyword in .c files. Adding more */ will search lower directories
    • When using tags, try the command

      etags */*.c

      As before , adding more */ will search lower.
    • In the section about modifying the kernel to make deleting "dont_delete", the function to look at is the one from the tags task.
1