LAB REPORT
Q:What is the default directory when you open a new command window? What is your working directory?
A:
/home/guest/
/home/guest/fangyuliu
Exercise 3
LAB REPORT
Q:Is the Internet service daemon, xinetd, started in your system? Is inetd started in your system? Why?
A:xinetd(extended Internet daemon) is started in my system rather than inetd (internet service daemon). Both of them are super-server daemon started only under request. Because xinetd is more secure than inetd, more Unix- services now replace inetd with xinetd.
Exercise 4
Q:Compare the file ser_more and ser_cp. Are these two files identical?
A:Yes, they are identical.
Q:Display the file sizes using ls –l ser*. Save the output. What are the sizes of files A: ser_more, ser_cp, and ser_cat? ser_cat 39870 bytes ser_cp 19935 bytes ser_more 19935 byte
LAB REPORT
Q:Submit the ls output you saved.
A:
[guest@guchi guest]$ ls -l ser*
-rw-rw-r-- 1 guest guest 39870 Sep 17 05:38 ser_cat
-rw-r--r-- 1 guest guest 19935 Sep 17 05:34 ser_cp
-rw-rw-r-- 1 guest guest 19935 Sep 17 05:20 ser_more
Exercise 5 arp arping ifconfig tcpdump ping netstat route ethereal
-----------------------------------------
LAB REPORT
Q:Explain the above commands briefly.
A:
arp(address resolution protocol): Displays and modifies address resolution arping: Capture ARP packets on the remote machine. ifconfig: Configures or displays network interface parameters for a network using TCP/IP. tcpdump: Capture and display packets on the LAN segment. ping: Sends an echo request to a network host. netstat: Work in conjunction with the ifconfig command to provide a status condition of the TCP/IP network interface. route: Manually manipulate the routing tables. ethereal: Capture network packets and provide a user friendly graphical interface and support additional application layer protocols.
Exercise 6
LAB REPORT