Network Command Introduction

Go up to the NWS HW page (md) | view one-page version

Overview

This assignment is a tutorial about various network commands on a Linux system. It is different than the Linux tutorial (md) assignment – that assignment went over the basics of how to use Linux, whereas this tutorial goes over how to use commands that are specific to interacting with the network. This assignment does not go over Docker commands, which are instead presented in the Docker configuration assignment (md).

The idea is that this assignment can be used as a reference for when you need to use these network commands.

You will be submitting an edited version of the netcmds.py (src) file.

This assignment has very little in terms of the deliverable – in fact, you could easily skip to the ‘Submission’ section, make up answers, and get full credit on this assignment. HOWEVER, this assignment is going to be necessary to complete before doing any other assignment in this course. The material gone over in this tutorial are also fair game for pop quizzes and exams.

There are multiple sections (tabs), and each one goes over how to use a given command (or two). Some of them reference external pages.

As you learn the commands, you should try them out in the Docker containers. How to start the containers, and then connect to them, is described in the Docker configuration assignment (md).

For all the commands below, there is a manual page. Normally, you could run man <cmd> (example: man ssh) to see the full set of options available for that command. However, the manual pages are not included in the Docker images to conserve space. You can instead do a web search for man dig, and the manual page will likely be the first entry that appears.

All of these commands are available for all operating systems. However, many may not be installed on your host system. They are all installed on the course Docker setup.