plugin-ITL-S01-lab1

plugin-ITL-S01-lab1 - Lab 1 Introduction to the ITLab What...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Introduction to the ITLab What you will learn in this lab: Overview of the equipment Saving your data Using the vi editor Navigate your way around Linux Utilities for network monitoring: Tcpdump, Ethereal Copyright 2001, Jörg Liebeherr. All Rights Reserved. Lab 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
ITL LAB 1 - PAGE 2 SPRING 2001 Table of Contents Prelab 1. ............................................................................................................................... 3 Lab 1. ................................................................................................................................... 5 Setup for Lab 1. .................................................................................................................... A Tour of the Equipment. ...................................................................................................... 6 Part 1. Saving Your Data. .................................................................................................... Part 2. Copying Files Using Floppy Disks. ............................................................................ 8 Part 3. Using the vi Editor . .................................................................................................... 9 Part 4. Using the Unix Operating System. ........................................................................... 10 Part 5. Locating Configuration Files in Linux. ...................................................................... 11 Part 6. Using Ping. .............................................................................................................. 13 Part 7. Basics of Tcpdump. ................................................................................................. 15 Part 8. Basics of Ethereal. .................................................................................................. 16 Checklist Form for ITLab 1. ..................................................................................................... 18 Feedback Form for ITLab 1. .................................................................................................... 19
Background image of page 2
ITL LAB 1 - PAGE 3 SPRING 2001 Prelab 1 1. Review of Unix commands: The workstations in the ITL run the Linux operating system. This assignment asks you to review the some important Unix commands. You can find the online manual pages (“man pages”) at http://www.freebsd.org/cgi/man.cgi. Change the OS version from "FreeBSD 4.2-RELEASE" to "Red Hat Linux/i386 6.2". 1.1. For each of the following commands type the name of the command as a search term. The search will return the appropriate man page. Read about the following man, pwd, ls, more, mv, cp, rm, mkdir, rmdir, chmod, ps, kill. a. What will happen if you type “man man” in Linux? b. How can you use the command “ls” to find out about the size of file “/etc/lilo.conf”? c. What is the command to determine all processes that are running on the system? d. What does the command “more” do? e. What happens if you have two files with names “file1” and “file2” and you type “mv file1 file2”? Which option of “mv” will issue a warning in this situation? f. What is the command that you issue if you are in directory “/” and want to copy the file “/mydata” to directory “/labdata”? g. What does the command “kill –9 pid” do, where pid is the number of a process? h. What happens if you type the command “rm *” in a directory? 1.2. Read the manual pages of the following commands. ping, tcpdump. 2. The vi Editor: Familiarize yourself with the vi text editor. Compared to other editors that you may have used, vi is quite primitive. However, vi is one of the few editors which will work on all Unix systems. 2.1. Read the tutorial on vi: http://www.cs.virginia.edu/~itlab/Labs2001/vi-guide.html 2.2. Print a copy of the vi Quick Reference Guide , which is available at: http://www.cs.virginia.edu/~itlab/Labs2001/vi-reference.pdf Bring the reference guide to the lab for reference purposes. 2.3. Copy the file http://www.cs.virginia.edu/~itlab/Labs2001/vitest-ifcfg to your Unix account. Use the vi editor and perform the following changes on the file, and print the final result: Add your name in the first line Delete the last line Copy lines 2 – 9 and add them to the end of the file
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
ITL LAB 1 - PAGE 4 SPRING 2001 Change all occurrences of "10.0" to "100.1" 3.
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 18

plugin-ITL-S01-lab1 - Lab 1 Introduction to the ITLab What...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online