what is the default interpreter for windows command line?
cmd.exe
set
checks your path from the command line. The terminal output shows the path where MS Windows will execute commands, as indicated by the line starting with Path=.
ver
determine the operating system (OS) version.
systeminfo
ist various information about the system such as OS information, system details, processor and memory.
more
?? how do you go backwards
allows you to go page by page
pipe
combines commands?
driverquery
ctrl + c
exit
help - Provides help information for a specific command
cls - Clears the Command prompt screen
ipconfig
check network information
ipconfig /all
how do es it differ from ipconfig without the /all
ping target_name
checking if the server can access a particular server on the Internet. ICMP packet and listen for a response. If a response is received, we know that we can reach the target and that the target can reach us.
what does it mean if you get request timed out on thm machien?
tracert target_name
traces the network route traversed to reach the target. it expects the routers on the path to notify us if they drop a packet because its time-to-live (TTL) has reached zero.
ns lookup
nslookup. It looks up a host or domain and returns its IP address. The syntax nslookup example.com will look up example.com using the default name server; however, nslookup example.com 1.1.1.1 will use the name server one.one.one.one. The terminal below shows the output of both commands.
netstat
displays current network connections and listening ports. A basic netstat command with no arguments will show you established connections
If you are curious about the other options, you can run netstat -h, where -h displays the help page. We opted for the following options:
-a displays all established connections and listening ports
-b shows the program associated with each listening port and established connection
-o reveals the process ID (PID) associated with the connection
-n uses a numerical form for addresses and port numbers
cd
display current drive & directory
dir
view child directories in current drive & directory
syntax for logging in using ssh
ssh username@ip address
yes
password
dir /a - Displays hidden and system files as well.
dir /s - Displays files in the current directory and all subdirectories.
tree
You can type tree to visually represent the child directories and subdirectories.
cd target_directory; this is equivalent to double-clicking the target_directory on your desktop. F