Franske CNT-2311 Labs

From ITCwiki
Revision as of 02:10, 8 October 2010 by BenFranske (talk | contribs) (add chapter 4 lab)
Jump to navigation Jump to search

Chapter 1

  • Demonstrate directory navigation and other basic shell tasks
  • Demonstrate use of environment variables
  • Demonstrate methods of getting help for a command in Linux
  • Demonstrate redirection and piping
  • Demonstrate use of all text processing commands

Chapter 2

  1. Install Fedora as a second virtual machine
    1. Download an RPM file for a program in Fedora
    2. Use the RPM utility to query for information about the RPM package
    3. Install a program using RPM in Fedora
    4. Download and install a program using YUM in Fedora
  2. Download and install a program using apt-get or aptitude in Ubuntu
  3. Use ldd to get information about what libraries a program uses
  4. Use ps and top to view processes running on the system
  5. Use job control to start and stop jobs as well as run jobs in the background and list all currently running jobs

Chapter 3

  1. Experiment with viewing data about system hardware and driers using the following utilities
    • cat /proc/interrupts
    • cat /proc/ioports
    • cat /proc/dma
    • lspci
    • lsmod
    • lsusb
    • dmesg
  2. Create a new virtual hard drive file and add it as a secondary hard drive to your Linux VM
  3. Partition the second hard drive into multiple partitions
  4. Format the partitions on the second hard drive
  5. Mount and unmount the formatted partitions to various mountpoints you have created within your filesystem

Chapter 4

  1. Use the ls command to list files in a directory
    • Use the -a and -l options to get a long file listing and one that includes hidden files
    • Display the file types as part of the listing
  2. Use the cp command to try copying files and entire directories from one location to another
  3. Use the mv command to try moving files and entire directories from one location to another
  4. Use the rm command to try deleting files and entire directories
  5. Use the touch command to modify file access times
  6. Use the tar utility to backup a folder and all the files it contains into a single gzipped tar file
    • Extract your gzipped tar file to some other location on your drive
  7. Use the ln utility to create hard and soft links to files in other places on your system
  8. Use the mkdir and rmdir commands to create and remove directories on your system
  9. Use the chown command to change the owner AND group of a file and of a directory plus all the files it contains (recursively)
  10. Use the chgrp command to change just the group of a file
  11. Use the chmod command to change the permissions on a file or directory using both octal and symbolic modes
  12. Use the locate, find, whereis, which and type commands to try finding files on your system

Chapter 5

  1. Identify and explore the GRUB configuration file on your system
  2. Use the dmesg utility to display the kernel ring buffer on your system
  3. Use the init command to switch between text-mod and GUI interfaces on a Fedora system
    1. Use the runlevel command to display the current runlevel and verify that it is changing
  4. Explore the inittab file (and it's Upstart replacement used in Ubuntu)
  5. View the SysV startup scripts installed on your system and check which ones are setup to start and stop at each of the runlevels
  6. Use the chkconfig command to list services running at each runlevel on your system
  7. Try shutting down and restarting your system using the shutdown command in combination with a shutdown timer
  8. Use Vi to create and edit a file, including:
    • Yanking and pasting lines and groups of lines
    • Deleting groups of lines at a time
    • Searching and replacing text
    • Saving and quitting

Chapter 6

  1. Use the Xorg -configure command to create a xorg.conf file and review the sections found in that file
  2. Attempt to change the X resolution through the xorg.conf file
    • If you are unable to change the resolution in the xorg.conf file try changing it through a GUI monitor resolution tool
  3. Try out several accessibility options in X, for example:
    • Sticky Keys
    • Slow Keys
    • Bounce Keys
    • Mouse Keys / Mouse Navigation Emulation
    • Dwell Click / Simulated Mouse Clicks
  4. Check the locales installed on your system with the locale -a command
  5. Change the current locale (including switching the character encoding method if you have a locale with a different encoding method installed) and timezone of your system
    1. Create a new text file while in a different character encoding mode
    2. Change your locale and timezone back to their original settings
    3. Use the iconv program to convert the text file you created to your default character encoding method