1) (10 points) Concerning pathnames to files. A student Alice is logged into a Linux system using her id alice. At a command terminal while in her home directory, Alice creates a subdirectory named code to store two files named: plugin.c and plugvar.h.
a) (5pts) What is the absolute pathname to the file plugvar.h ?
b) (5pts) Alice types in the sequence of commands listed below
$ cd ~
$ touch filetoo
$ cd code
What is the relative pathname to the file filetoo ?
2) (20 points) Given this file listing of 3 files, describe the file permissions after executing the chmod commands below in the order that they appear:
-rw-r–r– 1 student staff 358 Nov 6 09:56 1file
-rw-r–r– 1 student staff 415 Nov 6 09:57 2file
-r–r–r– 1 student staff 472 Nov 6 09:57 3file
a) (5pts) $ chmod +x 1file ?
b) (5pts) $ chmod 474 2file?
c) (5pts) $ chmod 741 3file?
d) (5pts) $ chmod a=rw 1file?
3) (10 points) Describe (2) ways to find out who is logged in on some of the other machines attached to your network.
4) (5 points) Describe List the first 20 lines in /etc/services that describe TCP ports.
5) (10 points) Learn more about the file utility using the man pages. Experiment by calling the file utility with the names of files in /bin. How many different types of files are there?
6) (10 points) Determine if IPv6 is enabled on the local system by finding the link-local address of a network interface.
7) (15 points) What (3) items related to IPv4 are required to configure a network interface for attaching an application server to an enterprise network.
8) (10 points) List two commands that help determine if you can connect to a server using the icmp protocol:
9) (10 points) Answer the questions below about Ubuntu directories:
a) (5) A server engineer installs a package for attaching a new piece of hardware to a server that includes device drivers. List the directory that was most likely updated with new device drivers.
b) (5) Which directory houses the binary executable files that root privilege users may use.