Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
92 views

Lab DOS Command Line Assignment Instructions

This document provides instructions for a lab assignment on using DOS commands. Students are asked to complete several tasks in the DOS command line, including setting the date/time, using help commands, checking IP configuration with ipconfig, testing connectivity with ping and tracert, navigating and manipulating directories. Screenshots are required after completing each step. Questions are included throughout to check understanding of commands and their functions.

Uploaded by

Renzo Perez
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
92 views

Lab DOS Command Line Assignment Instructions

This document provides instructions for a lab assignment on using DOS commands. Students are asked to complete several tasks in the DOS command line, including setting the date/time, using help commands, checking IP configuration with ipconfig, testing connectivity with ping and tracert, navigating and manipulating directories. Screenshots are required after completing each step. Questions are included throughout to check understanding of commands and their functions.

Uploaded by

Renzo Perez
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

CSIS 110

LAB: DOS COMMAND LINE ASSIGNMENT INSTRUCTIONS

OVERVIEW
The follow steps are a basic orientation to the command line and data networking. In this lab,
you will access the command line in DOS and perform some basic commands that will
systematically open some pathways into what really makes your computer, and network tick.

INSTRUCTIONS
Basic Requirement: taking screenshots is a basic skill you will need for this lab. If you do not
know how to take a screenshot you should Google it and watch videos. There is an article
showing 10 ways to take a screenshot titled “Read: Screenshots in Windows 10 and Windows
11: 7 Easy Tricks” found in the Learn section of Moduel 3: Week 3. I personally like the
snipping tool.

On to the Lab:

DOS BASICS
In the “Good Old Day” when we opened our computers, there was no welcoming screen—what
we know as the Graphical User Interface (GUI—produced gooey). Instead, we were put into the
operating system interface that looked something like this.

Page 1 of 11
CSIS 110

I believe it is very valuable, to our understanding of computers, to sometimes step back in time
and do the things we commonly do in the GUIs of today, in the command line of yesterday. So
this lab is built to give you an understanding of how to perform some common GUI tasks in the
command line.You may even be surprised to see how command line (or DOS) reveals more
information than the GUIs display.

1. DATE/TIME STAMPING (5 POINTS)


For you first exercise, you will learn how to put a Date/Time Stamp on your page. This is only
first because every screenshot you complete during this lab will require a data/time stamp.
At the command line prompt type the following:
Time /t
Date /t

Paste your Screen shot here (1 point):

Question 1 (2 points): What was the function


of the /t switch in the command extension?
Question 2 (2 points): How were you able to
determine the function of the /t switch in the
command extension

Page 2 of 11
CSIS 110

2. COMMAND LINE HELP-1 (5 POINTS)


In the answer to question 2 above there is really no wrong way to get the right answer (other than
to say that you just guessed). But, DOS does provide a very easy method. It is the embedded
help command.
At the command line prompt type the following:
Help
Time /t
Date /t
Paste your Screen shot here (1 point):

Question 3 (2 points): What does the Color


command do?
Question 4 (2 points): What does the DIR
command do?

Page 3 of 11
CSIS 110

3. COMMAND LINE HELP-2 (5 POINTS)


To find out the syntax of a command you can type Help followed by the command you want. To
demonstrate, let’s use the DIR command from Question 4.
At the command line prompt type the following:
Help DIR
Time /t
Date /t
Paste your Screen shot here (1 point):

Question 5 (2 points): What does the /w


function do?
Question 6 (2 points): Try the DIR then the
DIR /Q? What is the difference in the two
outputs?

Page 4 of 11
CSIS 110

4. IPCONFIG (5 POINTS )
It is, at times, very helpful to know your basic IP information. You can see this on your
computer by looking up the configuration.
At the command line prompt type the following:
ipconfig
Time /t
Date /t
Paste your Screen shot here (1 point):

Question 7 (2 points): What is your IPV4


address (Use IPV6 if IPV4 does not show)?
Question 8 (2 points): What is the Address of
your Default gateway?

Page 5 of 11
CSIS 110

5. PING (5 POINTS )
Ping is a command that tells you if a host is reachable. It sends a packet and awaits for the reply,
then tell you how long it takes. This allows you to diagnose latency or packet lost issues.
At the command line prompt type the following:
Ping (insert your default gateway IP here)
Ping google.com
Time /t
Date /t
Paste your Screen shot here (1 points):

Question 9 (2 points): What were the time statistics (fill in the table)?
Destination Maximum Minimum Average
Default Gateway
Google
Question 10 (2 points): Why did google take
longer that your default gateway?

Page 6 of 11
CSIS 110

6. TRACE ROUTE (5 POINTS)


While Ping gives you the traffic statistics, Trace Route will take you through the entire path to
the destination.
At the command line prompt type the following:
Tracert google.com
Tracert google.com (yes you need to complete 2 trace routes)
Time /t
Date /t

Paste your Screen shot here (1 point):


Question 11 (2 points): Did the trace route
follow the exact same path in both traces?
Question 12 (2 points): If you saw variances
in the two traces, explain why. If you did not,
explain why you might see differences?

Page 7 of 11
CSIS 110

7. DIRECTORY TASK-1 (5 POINTS)


All of the director commands are now completed in the GUIs. But they all have their
foundations in the DOS. For this task we will look at moving between directories. In the GUIs
it is point and click first you look at the GUI version of the directory tree and click on the folder.
Let’s fist look at the directory tree in DOS.
At the command line prompt type the following:
Tree (wait for it to end—it will be longer than you are sue to seeing)
Time /t
Date /t

Paste your Screen shot here (1 point):


Question 13 (2 points): What did you notice
about the tree structure in DOS?
Question 14 (2 points): What can you
appreciate about the GUI after seeing this?

Page 8 of 11
CSIS 110

8. DIRECTORY TASK-2 (5 POINTS)


Making a director in GUI is a task of selecting the folder and clicking on Add Folder. In DOS
you need to move to the correct directory, then use the make directory command.
At the command line prompt type the following:
DIR /w
MD ABC-test
DIR /w
Time /t
Date /t
Paste your Screen shot here (1 point):
Question 15 (2 points): Did you see your new
directory on the second DIR?
Question 16 (2 points): Why or why not?

Page 9 of 11
CSIS 110

9. DIRECTORY TASK-3 (5 POINTS)


Switching between directories is a simple task GUI it is not too much different in DOS if you
know the commands with the exception of not being able to point and click of course.
At the command line prompt type the following:
CD ABC-Test
DIR /w
Time /t
Date /t
Paste your Screen shot here (1 point):
Question 17 (2 points): How many files do
you see in the new drive?
Question 18 (2 points): How is the prompt
different after the change?

Page 10 of 11
CSIS 110

10. DIRECTORY TASK-4 (5 POINTS)


Often, we need to remove directories as well. To do this, we use the remove directory command.
Always be very careful as removing or deleting is permanent in DOS. Also, keep in mind that
you cannot delete the directory if you are in it so you must change your directory before deleting.
Try using CD .. that will back up out one level in the directory tree.
For this lab we are not going to have you remove the test folder. If you would like to do this on
your own you can by going to the Windows Explorer and removing the folder.
Question 19 (2.5 points): What DOS
command would you use to remove the
directory you just created?
Question 20 (2.5 points): In brief words,
what have you learned from this lab?

Submit the completed document through Assignment link in your course shell.

Page 11 of 11

You might also like