Windows Commands Flashcards

1
Q

cd

A

used to move into a different directory

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

dir

A

used to display a list of directory and subdirectory files

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

md

A

used to create new directories and subdirectories within the file system

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

rmdir

A

used to delete or remove an empty directory or sub directory within the file system

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

copy

A

used to copy one or more files

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

xcopy

A

used to copy files, directories, and subdirectories. It provides more advanced options than the basic copy command, such as the ability to copy subdirectories and preserve file attributes like timestamps and permissions. Xcopy can also be used to synchronize directories and copy files in bulk.

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

robocopy

A

used to copy files, directories, and subdirectories with support for longer files names and network paths. Newer version of xcopy.

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

diskpart

A

used to manage the computer’s disk drives, partitions, volumes, and virtual hard disks

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

format

A

used to delete the contents of the storage device and create a new file system structure on that drive

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

chkdsk

A

used to scan the file system for file system metadata errors. /f - fix errors. /r - fix errors and recover bad sectors and recover files stored there.

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

ipconfig

A

displays the current TCP/IP network configuration and refreshes DHCP and DNS settings. /release - gets rid of the lease. /renew - renews the lease
/diplaydns - displays dns resolver cache. /flushdns - clear contents of dns cache

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

ping

A

used to verify IP level connectivity to another TCP/IP computer by sending ICMP packets using echo request messages to the destination and calculating the time it takes to receive a response

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

tracert

A

used to determine the path by sending an ICMP packet to the first router with a TTL of 1 (which in ICMP, is the amount of routers the packet is allowed to pass through). The receiving router then decreases it by one and sends it back with a time exceeded message. tracert will record the latency and ip and then send the ICMP packet back to that router with a TTL of 2 to get to the next router and so on…

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

pathping

A

more detailed tool that provides network latency and network loss information. combines the functionality of ping and tracert

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

/?

A

A command-line switch that displays help information for a particular command. When used with a command, it provides detailed information about the command’s syntax, parameters, and options.

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

cls

A

clear the screen of all previously executed commands and their output.

17
Q

type

A

display the contents of a text file on the command prompt.

18
Q

shutdown

A

shuts down the computer. /r - restart. /f - force close running applications. /fw - boot into firmware. /s - shutdown

19
Q

sfc

A

provides a manual interface for verifying system files and repair/restore them from the cache.

20
Q

systeminfo

A

displays operating system configuration info for a local or remote machine

21
Q

|more

A

displays info one page at a time

22
Q

nslookup

A

query the DNS. ‘nslookup’ - enter interactive mode.

23
Q

netstat

A

checks for open ports on a given client and looks for ports or connections on listening mode. “-a” flag displays all active connections and listening ports, the “-n” flag displays addresses and port numbers in numerical format, and the “-o” flag displays the process ID (PID) of the process that initiated the connection.

24
Q

gpedit

A

Group Policy Editor.

25
Q

gpupdate

A

refresh the local and/or remote Group Policy settings on a Windows computer.

26
Q

gpresult

A

shows the Group Policy settings that are currently in effect.

27
Q

net user

A

display information about the user accounts on a Windows computer.

28
Q

net use

A

connect to or disconnect from shared resources on a network, such as file shares or printer

29
Q

certutil

A

used to manage digital certificates and generate checksums. syntax to make a checksum of a file: certutil -hashfile {file_name} {hash method ex. md5}