wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Command OS 20200415

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

What command do you use to display TCP/UDP protocols and port connections?

a)

ping

b)

netstat

c)

tracert

d)

ipconfig

2.

What command do you type in the command line to get back to the GUI?

a)

quit

b)

exit

c)

win

d)

reboot

3.
1. Which command will open the command prompt from windows environment?
a)
Edit
b)
CMD
c)
Prompt
d)
commando
4.
Which command is used to make a new folder "test"  in the command line?
a)
MF test 
b)
MD test
c)
NF test
d)
test MD
5.
Which command shows the contents of the current working directory?
a)
dir
b)
direcotry 
c)
RD
d)
pwd
6.
What command can you use to delete a folder from the command prompt?
a)
MD
b)
CD
c)
RD 
d)
DF
7.
The ATTRIB command is used to
a)
list and manipulate attributes assigned to files and folders.
b)
list and manipulate attributes assigned to files only
c)
list and manipulate attributes assigned to folders only.
d)
list and manipulate attributes assigned to system files and folders.
8.
What will the command 
ipconfig /all > c:\scripts\MyConfig.txt.
do?
a)
Output the information of the Ipconfig /all command to a text file called Myconfig.txt
b)
Output the information of the Ipconfig /all command to a a folder called MyConfig.txt
c)
Output the information of the Ipconfig /all command to a the C drive
d)
Elevate the ipconfig /all command to run as administrator using script files from the MyConfig.txt file 
9.
The ______ command is used in Mac OS X to change a password.
a)
reset
b)
passwd
10.
su - what it does
a)
Switch to admin account
b)
Switch to root account
c)
Switch to nothing
d)
Outlook
11.
Which of the following command helps to create directory called test
a)
md test
b)
mkdir test
c)
dir test
d)
None of the above
12.

What is the core of an OS called?

a)

Shell

b)

User

c)

Kernel

d)

Commands

13.

What was special about the Linux?

a)

It's Free.

b)

It's Open-Source.

c)

It's bugs free.

d)

It's hacker proof.

14.

What command in Linux allows you to add a new user?

a)

adduser

b)

useradd

c)

user

d)

newuser

15.

What command in Linux allows you to change a password?

a)

password

b)

passwd

c)

change password

d)

password change

16.

What command in Linux allows you to move into a new directory?

a)

ps

b)

ls

c)

dir

d)

cd

17.

If I want to look for a temporary file, which directory should I go?

a)

/usr/bin

b)

/tmp

c)

/var

d)

/etc

18.

I want to check the permissions of a file. What should I do?

a)

ls -l

b)

ls

c)

cat

d)

passwd

19.

When troubleshooting a network connectivity problem, the following command results appear. Which of the following commands generated these results?

Request timed out.

Request timed out.

Request timed out.

Request timed out.

Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

a)

ipconfig

b)

netstat

c)

ping

d)

nbstat

20.

Which of the following commands should be used to find the MAC address of a Windows computer?

a)

ipconfig

b)

ipconfig /all

c)

ipconfig /release

d)

ipconfig /flushdns

21.

When troubleshooting a computer that cannot obtain the proper IP address from a DHCP server, which of the following commands should be used first?

a)

ipconfig /release

b)

ipconfig /renew

c)

ipconfig /displaydns

d)

ipconfig /source=dhcp

22.
What command can be used on a Windows PC to see the IP configuration of that computer?
a)
ping
b)
show interfaces
c)
show ip interface brief
d)
ipconfig
23.
A network administrator needs to keep the user ID, password, and session contents private when establishing remote CLI connectivity with a switch to manage it. Which access method should be chosen?
a)
AUX
b)
SSH
c)
Console
d)
Telnet
24.

What command would you use to fix errors on a hard disk?

a)

fix C: /E /F

b)

chkdsk /F

c)

errorcorrect C: /A

d)

format c:

25.

To copy all of the files in a directory tree, which command would you use?

a)

copy tree *.*

b)

xcopy *.*

c)

xcopy c:\Windows e:

d)

xcopy c:\Windows /A /T e: