Windows Commands Flashcards

1
Q

cd/chdir

A

changes directory

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

. and ..

A

two things that will be in every directory

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

dir

A

lists directory

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

.

A

to go into the directory that you are already in

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

..

A

to go up/back one directory

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

cd../chdir..

A

one folder up in the directory tree

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

chdir\
cd\

A

change directory to root directory

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

md

A

make a new directory

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

mkdir

A

make a new directory

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

rmdir

A

remove/delete directory

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

rd

A

delete directory

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

how to change the drive

A

type drive letter followed by a colon ex: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
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
14
Q

copy command switch in Windows verifies that the new files are written correctly

A

/v

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

copy command suppresses the confirmation prompt displayed when windows is about to overwrite the contents of an existing file

A

/y

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

move

A

used to move files

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

xcopy

A

copy files, directories, subdirectories

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

robocopy

A

robust file copy, works better when you are copying to or from network drives, used to copy files, directories, paths

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

robocopy

A

newest type of file copying utility, used for doing scripts for backups, offers the widest range of options

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

diskpart

A

disk management tool, manage computer drives, partitions, volumes and virtual hard disks

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

format

A

formats drive and gives drive a file system enabling windows to store information on the drive

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

chkdsk

A

scan file system metadata errors of your hard drive, verifies file system integrity and fixes logical file system errors

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

chkdsk /f

A

fixes file system errors it finds, takes a long time

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

chkdsk /r

A

locates bad sectors and recovers bad sectors or attempts to

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

chkdsk (insert drive here)

A

runs chkdsk on entire drive

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

shutdown

A

used to shutdown a computer

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

shutdown /s

A

shutdown and closes all programs and services before computer is turned off, you should save files before running this command

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

shutdown /t

A

used in domain environment, going to give timer before shutdown starts, in terms of seconds

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

shutdown /h

A

saves current session to disk before shutting down/powering off the computer

30
Q

shutdown /l

A

logs off the current user from the local system

31
Q

shutdown /r

A

shutdowns and restarts the computer

32
Q

sfc

A

verifies system files and restore them from cache, must be run as admin, prevents damage and malicious use of system files and registry keys

33
Q

sfc

A

scans the integrity of all protected system files and replaces incorrect versions with correct Microsoft versions

34
Q

sfc /scannow

A

scans all files and fixes them right now

35
Q

sfc /scanfile

A

scans a file that you specify and fixes problems if they are found

36
Q

winver

A

command line prompt to see what version of windows you are running

37
Q

systeminfo

A

displays detailed configuration about a computer and its operating system such as build, version, boot time, etc

38
Q

ipconfig

A

gives info about network connection

39
Q

ipconfig /all

A

gives additional details such as network adapters, descriptor of network card,mac address/physical address, DHCP enabled, IPv6 address, default gateway etc

40
Q

ipconfig /release

A

gets rid of IP address

41
Q

Ipconfig/renew

A

renews your DHCP address

42
Q

Ipconfig/release
ipconfig/renew

A

resets the DHCP configuration settings for all adapters

43
Q

ipconfig/displaydns

A

displays the dns cache

44
Q

ipconfig/flushdns

A

clearout dns resolver, if you are having issues with finding computers on your LAN using their name use this

45
Q

ping

A

test whether or not host can communicate with another host on the same network or on remote network

46
Q

tracert

A

shows each stop along the way by using multiple pings all the way back, shows amount of devices it takes to get through to get to the server you want to reach, used to determine the path by sending an ICMP echo request

47
Q

tracert

A

tracks and displays the route taken by IP packets on their way to another host

48
Q

pathping

A

gives more accurate roundtrip time calculated, max of 30 hops, more advanced stats for hops, round trip time, how much data was sent, how much data was lost, provides network latency and network loss information

49
Q

pathping

A

combines the features of ping and tracert

50
Q

hostname

A

finds local device name

51
Q

nslookup

A

finds domain from IP address or IP address from names, can set server, domain name and type

52
Q

nslookup

A

enables obtaining a FQDN to IP address mapping

53
Q

netstat

A

lists for all open connections and ports

54
Q

netstat is a command utility for:

A

displaying active TCP/IP connections
Displaying network protocol statistics

55
Q

netstat -a

A

lists all open listening ports and connections

56
Q

netstat -b

A

displays all executables that created the connection or listening port

57
Q

netstat -n

A

displays addresses and port numbers in numerical form, displays in IP address format

58
Q

netstat -o

A

displays owning process IDs associated with each connection

59
Q

gpedit

A

open GUI program, that allows you to go through and create different user policies

60
Q

gpupdate

A

force any system to update its policies across the system, allows for updating multiple group policy settings in windows

61
Q

gpresult

A

allows to see what policies are applied to a given user

62
Q

gpresult /r

A

policies currently in effect for that particular environment

63
Q

netuser

A

list of all user accounts

64
Q

net use

A

allow you to be able to connect to things over the network, can use to create a mapping between a drive and a network folder

65
Q

net view

A

view all the available shares on a given computer inside of a workgroup or a domain

66
Q

bootrec/fixmbr

A

use when no OS can be found upon boot, repairs MBR boot

67
Q

bootrec/fixboot

A

use when no OS can be found upon boot, repairs GPT

68
Q

bootrec /rebuildbcd

A

use when multiple OS are installed but only one is showing

69
Q

/?

A

shows syntax to use for a command

70
Q

help

A

gets you help and shows you the commands you can use on a system

71
Q

can be used to display help information related to a specific utility

A

[command name]/?
[command name] help

72
Q
A