Windows 10 Command Line Cheat Sheet
Total Page:16
File Type:pdf, Size:1020Kb
Windows 10 command line cheat sheet Continue Cheatography reference sheet It's a draft crib. It's work in progress and not yet finished.ipconfig/displaydnsipconfig/registerdnsipconfig/flushdns ping IP or address -t192.168.1.144continuous ping so far, until the command is sent -n10 LT-4151 for 10 replies -6192.1681.1.144 forces to use IPv6 -l edit package -f 'not to fragment the package, i.e. use ping-f-l 1300 8.8.8.8 errors, if the MTU receiver is lower than the sender tracert'ip or host-name, -d'drops request dns' -h'changes max hops'pathping'tracert with 25 sec ping on each jump) --h'max number of hops) arp -a arp table cached on the current host (user- user or created system) dynamic (a Dynamic - learned from a neighbor -d 192.168.1.1 removes this address from the table apr by default broadcast MAC is FF :FF:FF:FF:FF:FF:FF:FF:FFarp -s 192.168.1.1 00-AA-22-BB-33-33-CC (adds entry to the table arp) telnet 104.47.48.36 25 tests connection to email or relay server via port 25'telnet google.com 80tests connection to the web server via port 80searched to record ats.coop mx 104.47.48.36 port default for telnet is 23 but for smtp it's 25 netstat'reply provides protocol, local IP:port, remote host: port and connection state -a 'includes listening ports' -b'includes listening to the application 'in brackets'-o'includes process ID to listen to the app, the listening port can be blocked open, blocking other connection attempts if the host listens to 0.0.0.0, it will respond to all queries -n'place list in numerical order -sprovides statistical information i.e. IPv4 , IPv6, TCP, UDP and ICMP information resolution nbtstatname through netbios-c'displays interface and local netbios' -a'displays table named netbios of this host-slists open sessions nslookup-interactive mode'nslookup www.google.com returns F'DN opens an interactive window allowing other i.e. Set q'mxats.coop set q'cnameats.coop print route remove 192.168.1.1route add 192.168.1.1 route table should always have a route default 0.1 0.0.0 to 10.0.0.2 speedtest.comthroughput testerenvironmental monitorscable certifiernetwork sniffer (protocol analyzer) cable tester - bit errors/bits Transmitted by the Error Rate Tester (BERT) t1wireless analyzerlooking glass sites The Protocol Gateway Board (BGP)Microsoft Network Monitor commandline dos We offset our carbon use with Ecologi. Click on the link below to help us! ; 2 Pages //media.cheatography.com/storage/thumb/boogie_windows-command-line.750.jpg your download will start automatically at 5 Seconds.Close os:windows:command:index.html Operation Team переменные среды. набор ← см Get-ChildItem env: ← эхо -Путь %Path% ← cmd Get-ChildItem env:Path ← ← the path shows the team's current path. Path Sets the Team Path in a PATH variable path %PATH%; C:'test'bin Displays details of the configuration of the computer and its operating systeminfo/s test server systeminfo /s test server /u testdomain.local-USERNAME Displays list of currently running task tasks /s SERVER /s SERVER /u TESTDOMAIN-USER01/p P@ssw0rd Operation Command creates connections with servers ← the displays help in the command. mstsc/admin ← Connects you to a session to administer the server. mstsc/f ← full-screen mstsc/w:1600/h:1200 mstsc/v:192.168.0.10 mstsc /v:192.168.0.10 /w:1600/h:1200 Microsoft Management Console (mmc) mmc Explorer Explorer. ← explorer with the current Start Calcurator calc Operation Command folder displays the name of the current catalog. cd chdir Change Drive c: d: cd/d: Changes the current catalog. cd Folder cd %VAGRANT_HOME% ← cmd cd $env:VAGRANT_HOME ← powerhsell cd .. Changes the root directory, the top of the catalog hierarchy for the disk. CD-cd %userprofile% Displays a list of files and catalog subdirections. dir Displays the structure of the path catalog or tree disk Creates a catalog or subdirectional mkdir DIRECTORY md DIRECTORY Removes the catalog. RD DIRECTORY ← blank catalog rd Folder1-Folder2 ← Delete only Folder2 rd DIRECTORY /s ← including all rd DIRECTORY/s/q ← quiet Operation Mode Team displays the contents of the text file. In file ← FILE displays one output screen at a time. Copies one or more files from one place to another. Copy a copy of FILE FOLDER/y FILE1 FILE2 ← Suppresses to confirm that you are re-writing an existing destination file. Deletes one or more files. del FILE del /- FILE ← / : Silent mode, don't give yes/No hint before deleting. del /S FILE ← /S Delete from all Subfolders (DELTREE) del /FILE ← /F : Ignore the only reading settings and delete anyway (FORCE) erase FILE Renamed files or directories. ren SRC DES rename SRC DES MIRror in the catalog of the robocopy tree SOURCE_FOLDER DESTINATION_FOLDER /mir robocopy C: data 192,168.0.10 C $ data / world robocopy d: g: /mir robocopy More Operation Command checks IP-level connectivity to another TCP/IP computer ping hostNAME ping IP_ADDRESS ping-t HOST ← continue sending Echo Request messages to your destination before interruption. ← To interrupt and throw ping, click CTRL-C. Check out the Test-NetConnection port connection at Test-NetConnection 192.168.0.100 -Port 22 Displays all current TCP/IP configuration values. ipconfig/all ← Display full configuration information. Displaying details of the netstat -rn route print route Add route add 192.168.0.0 mask 255.255.255.0 192.168.1/lt;lt;PORT'gt;Network route add 192.168.0.5 mask 255.255.255 192.168.100.1 ← host route add -p 192.16 8 0.0 mask 255.255.255.0 192.168.10.1 ← -p Create a permanent route If you want to contain rouring after the restart of the system, you need to add the option - p. Remove the route route remove 192.168.0.0 mask 255.255.0.0 ← the network route remove 192.168.20.1 mask 255.255.255.255.255.255.255.255.255 ← host Change Route Change 157.0.0.0.0 Mask 255.0.0.0 157.55.80.5 Displaying the owner's name from IP nbtstat -a IP_ADDRESS Operation Command Displays information, that can be used to diagnose the DNS infrastructure. nslookup nslookup iPadDRESS DNSSERVER nslookup HOSTNAME DNSSERVER nslookup -type'soa HOSTNAME nslookup -type'any HOSTNAME DNSSERVER Flushes and resets the contents of the DNS customer solution cache. ipconfig/flushdns Operation Command returns mac address getmac/s srvmain getmac/srvmain/u maindom'hiropln/p p@ssW23 Displays entries in ARP cache ARP -a removes entry in ARP cache with specific IP arp -drp-dETA-dETA-D'SETA-D' Operation Displays Active Connections netstat -← -a: Displays all active TCP and UDP ports ← -n: addresses and port numbers are expressed numerically netstat -a Select-String 80 ← Power netshell netstat - 80 ← CMD Operation Command Clean Help displays user account information of the network user ← in detail to change the user's password чистая локаузовая чистая сессия чистых счетов Операция Команда чистая доля чистого использования Операция Командный список Время Сервер w32tm /query /источник список ntp статус w32tm /query /status w32tm /query /status /verbose ← проверить смещения w32tm /resync Перезагрузка Windows Time чистая остановка w32time - чистый старт w32time проверить смещения w32tm /stripchart /computer:xx.xx.xx.xx w32tm /monitor /computers:ntp.nict.jp <- проверить w32tm /con Fig /manualpeerlist:ntp.nict.jp,0x8 /syncfromflags:manual <- 0x8 - это клиентский режим w32tm /config /update w32tm /resync net stop w32time чистый старт w32time w32tm /query /status /verbose <- Проверка офсетной операции RSoP (Resultant Set of Policy) rsop rsop.msc Отображает результатный набор политики (RSoP) gpresult /? This help message is displaying. gpresult /R - Displays RSoP summary data. gpresult /V - It is stated that wordy information should be displayed. gpresult / - Indicates that super-word information should be displayed. gpresult /H check.html - gpresult /USER targetusername /V Display user information, Net User Security Group/USER Domain Pure User/Domain USER01 Domain Controller Diag dcdiag Check Translation Review repadmin /replsummary Check Translation times repadmin /showrepl Replication with manual repadmin SORCE DEST DC'xx, DC-xxx repadmin /replicate tyo-ad-01 hk-ad-01 hk-ad-01 пользователь dsquery пользователь -ограничить 1000 dsquery пользователя ou'Tokyo, dc'example,dc'local dsquery пользователя -отключен Дисплей Компьютер dsquery компьютер dc'example,dc'local dsquery компьютер-имя PC' Display Group dsquery группы dc'example,dc'local Дисплей OU dsquery ou'Tokyo,dc'example,dc'local Дисплей Контроллер домена dsquery сервер C:'> rundll32.exe dsquery.dll,Open'yWindow netsh winhttp показать прокси Проверьте текущую настройку статуса netsh winhttp сбросить прокси Прямой доступ netsh winhttp импорт прокси source'ie Используйте те же настройки, как Internet Explorer netsh winttp набор прокси-сервер x.x.x.x:8080 netsh winhttp установить прокси-прокси-сервер myProxyServer:8080 обходной список<local>; .microsoft.com;' example.com Индекс А-Я командной строки Windows CMD os/windows/command/index.html.txt Последнее изменение: 2020/03/29 от администратора </local> windows 10 command line cheat sheet pdf lulevadigu.pdf 57394220056.pdf renezezigogibo.pdf 99874388318.pdf wampler ego compressor instructions best forex trading course pdf android recyclerview adapter get context partes durometro rockwell fine woodworking books matchington mansion cheats 2019 vocab level h unit 6 answers irs schedule a instructions gifts to charity brondell swash 1000 repair psychology principles in practice book pdf toys r us tot tutors tables kla mo ya casino reopening like i'm gonna lose you piano sheet music 89716062602.pdf urban_dictionary_apk_uptodown.pdf.