Windows Commands Flashcards

1
Q

Ipconfig

A
  • Displays the current configuration of the installed IP stack on a networked computer using TCP/IP
    • The /all switch can be used to view additional details about each adapter.
    • Can be used to refresh Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

IPconfig /all

A

• Shows everything on a network such as network cards.

MAC addresses

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

IPconfig /?

A

Help screen for IPconfig

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

IPconfig /Release

A

Refreshes IP.

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

IPconfig /renew

A

Renews the IP

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

Flush dns

A

Clears DNS cache

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

Ping

A

• Verifies IP- Level connectivity to another TCP/IP device by sending Internet Control Message Protocol (ICMP) Echo Request messages.
• A number of switches can accommodate different testing scenarios.
• Can be used to test IPv4 and IPv6 connectivity.
• Used to test network connectivity.
-t

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

Ping -6

A

Force the computer to use IP version 6

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

Tracert (Trace route)

A

• Determines the path taken to a destination by sending Internet Control Message Protocol (ICMP) Echo request messages to the destination with incrementally increasing Time to Live (TTL) field values.
• Used to “trace” a network path from sending to receiving device.
Useful if the local device is testing ok but connectivity can’t be established.

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

Nbtstat

A

• Displays NetBIOS over TCP/IP (NetBT) protocol statistics for the local and remote computers, NetBIOs name tables for both the local computers and the remote computers and the NetBIOS name cache.
• NetBIOS was developed to communicate over a network using the session layer of the OSI model.
• NetBIOS establishes logical names on the network, establishes sessions between two logical names on the network, and supports reliable data transfer between computers that have established a session.
NetBIOS over TCP/IP sends the NetBIOS protocol within TCP and UDP sessions.

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

PathPing

A

• A command-line route tracing tool that combines features of the tools Ping and TraceRt that includes additional information.
• PathPing sends packets to each router on the way to a final destination over a period of time, and then computers results based on the packets returned from each hop.
PathPing can show the degree of the packets loss at any specified router link enabling you to pinpoint links that might be causing network problems.

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

Nslookup

A

• Displays information that you may use can use diagnose Domain Name System (DNS)
The Nslookup command-line tool is available only if you have installed the TCP/IP protocol.

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

Netsh (Net Shell)

A

• A command-line scripting utility that enables you to display or modify the network configuration of a computer currently running.
• Command works on a local or remote computers
• Provides a scripting feature that allows to run a group of commands in batch mode against a specified computer.
Enables you to save a configuration script in a text file for archival purposes or help you configure other servers.

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

Net Start/ Stop

A

• Used to stop and start the network service of a machine.

Used for stopping and starting services.

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

Route

A

• Displays and modifies the entries in the local IP routing table
• The route Print command can be used to display routing table for a Windows machine
○ This command gives the same result as netstat -r, but is more commonly used
The route command can also be used to add and delete static routers.

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

FTP

A

• FTP stands for file transfer protocol. It is an application layer protocol as well as an application.
• Not a secure connection.
Port number 20 and 21

17
Q

SFTP

A

• Transfer files securely
• Secure file transfer
• Port 22
FTPS (secure connection) - 990

18
Q

Telnet

A

• Telnet is used to take control of a remote computer.
• It can also be used for troubleshooting by putting a port number.
• Not a secure connection.
Port 23

19
Q

NET

A

Although not really considered part of the TCP/IP command set, the net command can display all kinds of important networking data, and it allows you to configure various networking options such as services.

20
Q

ARP

A

Used to find out what the MAC address is.

21
Q

-L

A

Used to identify the size of a packet that is being sent

22
Q

cd

A

• Change directory command
• Used to view directory/ view folders within the system.
• If you need to go to a specific folder from the drive the subfolders must be separated by a backslash character “". E.g cd windows\system32\
If you want to change the drive that you are looking at type CD enter then type in the drive letter that you would like to look at. E.g z:

23
Q

DIR

A

View the contents of a folder by using this command.

24
Q

mkdir

A

Used to create a directory

25
Q

REN

A

• Used to rename files and folders.

e.g ren (oldfilename) (newfilename)

26
Q

Copy

A

Command allows you to copy files from one location to another.

27
Q

XCopy

A

To copy a folder from one location to another

28
Q

DEL

A

Used to delete files from the folder that you’ve created

29
Q

RD

A

• Used to delete folders.

Remove Directory