Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q3 Unix: Using Unix programming class. I'll Rate, please show with any program please and thanks ****Q3 - I'm using Putty to do my work,

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

****Q3 - I'm using Putty to do my work, but everytime i use the "Ping" command it doesn't work, this is what i receive.***

image text in transcribed

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.

2 PuTTY bash-4.1s which ping no ping in /usr/bin /bin -bash-4.1$ ping -bash: ping: command not found bash-4.1S

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions