Question: Q3 Unix: Using Unix programming class. I'll Rate, please show with any program please and thanks Networking commands ping, mount, hosts, netstat 1) The ping

Q3 Unix: Using Unix programming class. I'll Rate, please show with any program please and thanks

Networking commands ping, mount, hosts, netstat

1) The ping command can be used to check the network working condition between two systems. You may have to find the path name of the ping command file using which or whereis command and then type the full/absolute path name of the ping command. Issue ping command with UNIX server IP address as argument. If the command does not stop after displaying five packets transfer and receive information, terminate the command using ctrl-c. Otherwise, the command may never stop.

2) The mount command without arguments will display the list of mounted local and network file systems on the UNIX system. Find the path name of the mount command file using which or whereis command and then by typing the full/absolute path name of the mount command to display the list of mounted file systems.

3) Change working directory to /etc. The file fstab contains the list of file systems to be mounted when the system boots. The file mnttab contains the actual list of file systems that are mounted. Display file attributes and the content of these two files.

4) he file named hosts in the /etc directory contains names of computers (hosts) and their corresponding IP addresses. The first name in the list is called the official name and the remaining names are called aliases. Display the content of the hosts file.

5) Look at the content of the hosts file displayed above, and then using echo command, answer what is the name of the UNIX server at FSU that you are using.

Remember the IP address of the UNIX server.

6) The netstat command displays information about your network. To test this command, start the DOS command line interface on your PC by running cmd command like you did before. (1) Issue netstatcommand. (2) Issue help ( ? ) when you are in netstate to see the various options it supports. (3) Identify the option to display the routing table and then issue netstat with that option to display the routing table. Copy and paste the output of netstat session from the DOS window into your file to be submitted. To exit from DOS window, type exit command after copying and pasting the output.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!