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
chkdsk (insert drive here)
runs chkdsk on entire drive
26
shutdown
used to shutdown a computer
27
shutdown /s
shutdown and closes all programs and services before computer is turned off, you should save files before running this command
28
shutdown /t
used in domain environment, going to give timer before shutdown starts, in terms of seconds
29
shutdown /h
saves current session to disk before shutting down/powering off the computer
30
shutdown /l
logs off the current user from the local system
31
shutdown /r
shutdowns and restarts the computer
32
sfc
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
sfc
scans the integrity of all protected system files and replaces incorrect versions with correct Microsoft versions
34
sfc /scannow
scans all files and fixes them right now
35
sfc /scanfile
scans a file that you specify and fixes problems if they are found
36
winver
command line prompt to see what version of windows you are running
37
systeminfo
displays detailed configuration about a computer and its operating system such as build, version, boot time, etc
38
ipconfig
gives info about network connection
39
ipconfig /all
gives additional details such as network adapters, descriptor of network card,mac address/physical address, DHCP enabled, IPv6 address, default gateway etc
40
ipconfig /release
gets rid of IP address
41
Ipconfig/renew
renews your DHCP address
42
Ipconfig/release ipconfig/renew
resets the DHCP configuration settings for all adapters
43
ipconfig/displaydns
displays the dns cache
44
ipconfig/flushdns
clearout dns resolver, if you are having issues with finding computers on your LAN using their name use this
45
ping
test whether or not host can communicate with another host on the same network or on remote network
46
tracert
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
tracert
tracks and displays the route taken by IP packets on their way to another host
48
pathping
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
pathping
combines the features of ping and tracert
50
hostname
finds local device name
51
nslookup
finds domain from IP address or IP address from names, can set server, domain name and type
52
nslookup
enables obtaining a FQDN to IP address mapping
53
netstat
lists for all open connections and ports
54
netstat is a command utility for:
displaying active TCP/IP connections Displaying network protocol statistics
55
netstat -a
lists all open listening ports and connections
56
netstat -b
displays all executables that created the connection or listening port
57
netstat -n
displays addresses and port numbers in numerical form, displays in IP address format
58
netstat -o
displays owning process IDs associated with each connection
59
gpedit
open GUI program, that allows you to go through and create different user policies
60
gpupdate
force any system to update its policies across the system, allows for updating multiple group policy settings in windows
61
gpresult
allows to see what policies are applied to a given user
62
gpresult /r
policies currently in effect for that particular environment
63
netuser
list of all user accounts
64
net use
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
net view
view all the available shares on a given computer inside of a workgroup or a domain
66
bootrec/fixmbr
use when no OS can be found upon boot, repairs MBR boot
67
bootrec/fixboot
use when no OS can be found upon boot, repairs GPT
68
bootrec /rebuildbcd
use when multiple OS are installed but only one is showing
69
/?
shows syntax to use for a command
70
help
gets you help and shows you the commands you can use on a system
71
can be used to display help information related to a specific utility
[command name]/? [command name] help
72