Windows Commands Flashcards

1
Q

Display a list of available commands and their descriptions.

A

help

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Display a description of a specific command.

A

help commandname

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Display a command’s syntax and parameters/options

A

command/?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Clear the command-prompt window.

A

cls

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Close the command-prompt window.

A

exit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

View the contents of a directory (known as a folder in the Windows interface).

A

dir

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Create a directory.

A

md

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Change from one directory to another.

A

cd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Delete (remove) a directory.

A

rd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Delete files.

A

del

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Copy files from one location to another.

A

copy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Copy files, directories, and subdirectories.

A

xcopy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Copy files and directories. This command was introduced in Windows Vista and provides a more robust tool to replace xcopy.

A

robocopy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Extract files from a cabinet file, which have a .cab file extension.

A

extract

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

In Windows Vista, expands one or more compressed update files.

A

expand

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Create partitions on a hard disk.

A

diskpart

17
Q

Check your hard disk for corrupt files and repair them. The sfc command runs the System File Checker.

A

sfc

18
Q

Repair Windows images, Windows Setup, and Windows PE. You can use the dism command when sfc is unable to repair corrupted files.

A

dism

19
Q

Check a hard disk for file system errors and repair them. It also checks the disk surface for bad sectors. You can schedule chkdsk to run at regular intervals as part of a disk maintenance routine using tools such as Task Scheduler or third-party scheduling tools. In Windows 8 and Windows 8.1, chkdsk is scheduled to run at regular intervals in Task Scheduler.

A

chkdsk

20
Q

Format partitions on a hard disk.

A

format

21
Q

Refresh Group Policy settings, both local settings and those applied at the domain level in Active Directory.

A

gpupdate

22
Q

Display the Resultant Set of Policy information for a specific computer or user account. You can use this command and gpupdate to troubleshoot the application of Group Policy settings for users and computers.

A

gpresult

23
Q

Display a list of processes running on your computer to troubleshoot system issues.

A

tasklist

24
Q

Stop a process on your computer if you think it is interfering with the system.

A

taskkill

25
Q

Logoff the current user on the local or remote computer, or shut down the computer.

A

shutdown

26
Q

Repair your Windows installation. The bootrec tool can troubleshoot and repair the master boot record (MBR), the boot sector, and boot configuration data. You’ll need to boot the computer from the Windows installation disk to access this utility.

A

bootrec.exe

27
Q

Lists, creates, and removes network shares on the local computer.

A

Net Share

28
Q

Displays or connects to shares on remote computers

A

Net Use

29
Q

Adds, removes, and otherwise manages user accounts on the computer

A

Net User

30
Q

Lists computers and devices on the network

A

Net View

31
Q

Shows or closes open files on a server

A

Net File

32
Q

Lists or ends communication sessions with network computers

A

Net Sessions

33
Q

Sets logon and password requirements for users

A

Net Accounts

34
Q

Adds or removes a computer from a domain

A

Net Computer

35
Q

Starts a Windows service

A

Net Start

36
Q

Stops a Windows service

A

Net Stop

37
Q

Pauses a Windows service

A

Net Pause

38
Q

Continues a Windows service

A

Net Continue