40 Windows Commands you NEED to know (in 10 Minutes)

Поделиться
HTML-код
  • Опубликовано: 21 янв 2025

Комментарии • 2,9 тыс.

  • @NetworkChuck
    @NetworkChuck  2 года назад +301

    Keep your computer safe with BitDefender: bit.ly/BitdefenderNC (59% discount on a 1 year subscription)
    🔥🔥Join Hackwell Academy: ntck.co/NCAcademy
    0:00 ⏩ Intro
    0:15 ⏩ Launch Windows Command Prompt
    0:18 ⏩ ipconfig
    0:25 ⏩ ipconfig /all
    0:33 ⏩ findstr
    0:49 ⏩ ipconfig /release
    0:56 ⏩ ipconfig /renew
    1:15 ⏩ ipconfig /displaydns
    0:56 ⏩ ipconfig /renew
    1:29 ⏩ clip
    1:47 ⏩ ipconfig /flushdns
    2:09 ⏩ nslookup
    2:41 ⏩ cls
    2:51 ⏩ getmac /v
    3:01 ⏩ powercfg /energy
    3:10 ⏩ powercfg /batteryreport
    3:28 ⏩ assoc
    3:51 ⏩ Is your computer slow???
    3:56 ⏩ chkdsk /f
    4:07 ⏩ chkdsk /r
    4:17 ⏩ sfc /scannnow
    4:36 ⏩ DISM /Online /Cleanup /CheckHealth
    4:45 ⏩ DISM /Online /Cleanup /ScanHealth
    4:51 ⏩ DISM /Online /Cleanup /RestoreHealth
    5:24 ⏩ tasklist
    5:38 ⏩ taskkill
    5:59 ⏩ netsh wlan show wlanreport
    6:18 ⏩ netsh interface show interface
    6:27 ⏩ netsh interface ip show address | findstr “IP Address”
    6:30 ⏩ netsh interface ip show dnsservers
    6:36 ⏩ netsh advfirewall set allprofiles state off
    6:43 ⏩ netsh advfirewall set allprofiles state on
    6:49 ⏩ SPONSOR - BitDefender
    8:19 ⏩ ping
    8:30 ⏩ ping -t
    8:41 ⏩ tracert
    8:59 ⏩ tracert -d
    9:06 ⏩ netstat
    9:12 ⏩ netstat -af
    9:28 ⏩ netstat -o
    9:38 ⏩ netstat -e -t 5
    9:47 ⏩ route print
    9:58 ⏩ route add
    10:13 ⏩ route delete
    10:21 ⏩ shutdown /r /fw /f /t 0

    • @firojpaudel
      @firojpaudel 2 года назад +5

      Could you make some for linux too ? (ubuntu)

    • @twisted8ight
      @twisted8ight 2 года назад

      Damn, I just re-upped my sub.

    • @Bozemanjustin
      @Bozemanjustin 2 года назад +2

      I think more people would understand your videos if you spoke English.
      I don't know why you're speaking Swahili, I'm only picking up some of the words as English words that I know LOL
      You're bringing me back to my doss 5.0 days with command lines but there was no networks back then so all the internet stuff is new to me

    • @s.mtapadar2834
      @s.mtapadar2834 2 года назад

      Hi,
      I am have been watching you las few months related blockchain and programming languages. I saw you always use V.S code for coding, I have mobile of 6GB ram, can I connect it Vs code to my moblie, I cant pracitice your videos tuturials. please can you provide me right way to connect vs code to firebase, redux, next js and react etc...

    • @thescientificboy4602
      @thescientificboy4602 2 года назад

      I have a question in the ipconfig/renew is it actually bad if i delete all interface on my computer

  • @zmk55
    @zmk55 2 года назад +2835

    pro tip - don't do ipconfig /release if you are remotely managing a machine. you'll disconnect yourself. Instead do "ipconfig /release && ipconfig /renew " so it will grab the new ip and you can get back into the machine!

    • @scottspa74
      @scottspa74 2 года назад +119

      This should be pinned. Great point.

    • @heuristix77
      @heuristix77 2 года назад +66

      I always create a .bat file:
      @ECHO off
      ipconfig /release
      ipconfig /renew
      Run as Administrator
      Delete the file after the connection comes back.

    • @joemedlen2924
      @joemedlen2924 2 года назад +10

      I made that mistake when remote so good point, never thought of that. I always used a batch script.

    • @dionnix
      @dionnix 2 года назад +14

      @@heuristix77 or you could delete it in the code using del %filename%

    • @hero17_
      @hero17_ 2 года назад +1

      Respect 👍

  • @parrapaTh3Rappa
    @parrapaTh3Rappa 2 года назад +77

    For anyone wondering about that shutdown command, the flags are as follows:
    /r - restart (pretty self explanatory)
    /fw - firmware - boots to user firmware, this is what brings us to BIOS
    /f - force - forces shutdown of applications (doesn't asked), can result in loss of unsaved data
    /t - time-out - specifies timeout before shutdown in seconds, defaults to 30

    • @masterofthemisc5521
      @masterofthemisc5521 Год назад +7

      Huge, huge thank you. I commented about how I'm totally blind and the one command I was really interested in, was the one he didn't actually vocalize the syntax for. Then I found this comment and got the information. Seriously appreciated!

    • @Randomized_er
      @Randomized_er 8 месяцев назад +3

    • @Cracktune
      @Cracktune 18 дней назад +1

      dang, just googled that. lol Thank you "kick, punch, chop, block"

  • @JazAero
    @JazAero Год назад +192

    As a retired PC tech this video is a throwback reminder to days when these commands were all you had ! It's refreshing to see them being "rediscovered" they've always been there, ever since the days of DOS and come in real handy when Windows and your network take a dump, there are even a lot more commands than these I would like to see an expanded video of those.

    • @hashtagtnt
      @hashtagtnt Год назад +1

      Anyone wanting to do Windows troubleshooting, should definitely know some basic commands and also must know some powershell commands as well. Plus with google these days you can find almost anything (except the next possible lottery number to pick and choose).

    • @1Patient
      @1Patient Год назад +7

      I'm not retired and that's all I thought of this video when I started watching, I'm like, this is DOS, and even #40 "shutdown" 😃

    • @AwesomeguyYT
      @AwesomeguyYT Год назад +1

      Bro gave his ip

    • @hi_its_me1337
      @hi_its_me1337 10 месяцев назад

      ​@@AwesomeguyYThe's using VPN

    • @patriciacoughlin1654
      @patriciacoughlin1654 6 месяцев назад +1

      A must if you have internet as well in today's world. I love that he did this video. Lately, I have been using many DNS commands to get my internet rolling.

  • @Learn.science-ikr
    @Learn.science-ikr Год назад +28

    I'm impressed by You:
    1. Straight to the point
    2. Force and energy, all of your videos have a direct
    This is greatly appreciated, Thanks!!!
    Merci beacoup!!!

  • @ableponce8599
    @ableponce8599 11 месяцев назад +9

    100 years later into the future and this video will still be helping us out

  • @papakeks
    @papakeks 2 года назад +745

    Here are the equivalent PowerShell Cmdlets of the CMD Commands showed in this video.
    1. ipconfig - Get-NetIPAddress
    2. ipconfig /all - Get-NetIPConfiguration (only shows DNS-Server and Gateway)
    3. findstr - Select-String
    4. ipconfig /release - Invoke-WmiMethod -Class Win32_NetworkAdapterConfiguration -Name ReleaseDHCPLeaseAll
    5. ipconig /renew - Invoke-WmiMethod -Class Win32_NetworkAdapterConfiguration -Name RenewDHCPLeaseAll
    6. ipconfig /displaydns - Get-DnsClientCache (you may use '| Format-List' to get all colums)
    7. clip - Set-Clipboard
    8. ipconfig /flushdns - Clear-DnsClientCache
    9. nslookup - Resolve-DnsName
    10. cls - Clear-Host (or just Ctrl+L)
    11. getmac /v - Get-NetAdapter
    12. powercfg - no equivalent afaik
    13. assoc - no equivalent afaik (also assoc does not seem to exist on my Windows 11 21H2 VM)
    14. chkdsk - Repair-Volume
    15. sfc - no equivalent afaik
    16. DISM - no equivalent afaik
    17. tasklist - Get-Process
    18. taskkill - Stop-Process
    19. netsh - no equivalent afaik but you can manipulate the Windows firewall, just search with Get-Command *firewall*
    20. ping - Test-NetConnection
    21. ping /t - Test-Connection -Count 100000 (Test-Connection gives you much more data, while Test-NetConnection just shows the IP and Latency to the target)
    22. tracert - Test-NetConnection -TraceRoute
    23. netstat - Get-NetTCPConnection
    24. route print - Get-NetRoute
    25. route add - New-NetRoute
    26. route delete - Remove-NetRoute
    27. shutdown - Stop-Computer
    28. restart - Restart-Computer
    EDIT: Here are some goodies I just found:
    Expand-Archive - Extract file from a zip Archive
    Compress-Archive - Create a zip Archive
    2023-06-16 EDIT 2: Added DHCP release/renew
    That is the list of PowerShell Cmdlets, that I could find.
    Also a nice addition, if you wanna see all options for a command just type e.g. Get-Process -[Ctrl + Space] to get a list of all available options. This works everywhere, like Tab to autocomplete.
    Have a nice day. 😃

    • @mattcargile
      @mattcargile 2 года назад +15

      Good stuff! I was offended he didn’t show Powershell.

    • @eduardojavier112
      @eduardojavier112 2 года назад +4

      ipconfig - Get-NetIPAddress = does not work on windows 11

    • @Mahmoud1987Hamada
      @Mahmoud1987Hamada 2 года назад +8

      What's the difference between cmd and power shell?

    • @davesabra4320
      @davesabra4320 2 года назад +4

      I bought you a coffee in my heart.

    • @beauwilliams2312
      @beauwilliams2312 2 года назад +5

      For a long time i have resisted powershell but I can no longer deny its great power.

  • @BulletNG
    @BulletNG 2 года назад +239

    Anyone can tell us these commands, but not many can do it in a way that's fun and entertaining! You got my sub! Thank you.

  • @jimzielinski946
    @jimzielinski946 2 года назад +210

    I've been using command line for years, but only the commands I thought I needed. Your presentation was intense! I learned a lot of new stuff and will try it out. (Thank you to all the commenters who added a few other tips!)

    • @Andrewww23
      @Andrewww23 2 года назад +6

      How's the war going Mrs. President?

  • @networkn
    @networkn Год назад +3

    This is the coolest 10 minute video I've seen in months and months. Awesome. Send to my tech team to review too.

  • @jr-pc4do
    @jr-pc4do 2 года назад +180

    This is amazing, no fluff, no gimmicks, no day in the life, just straight knowledge and value

  • @hedaros17
    @hedaros17 2 года назад +85

    Chuck, I want to thank you in public, I followed up your advise about studying AWS Cloud Practitioner, I got certified on August 5th, your advise about creating a website, I did, your advise about re-formatting your resume, I followed suit. Today... I got my first job as a Cloud Engineer, I have no degree whatsoever and did not have a job experience, only labs, thank you Chuck. Your channel definitely changed my life. Thank you

    • @ivanlopez1380
      @ivanlopez1380 2 года назад +5

      This is incredible

    • @ashleyrigley
      @ashleyrigley 5 месяцев назад +2

      Love this, fair play man congratulations. Currently studying for the CompTIA A+ 1102 and these videos are definitely helping a lot, gotta give a heap of praise for Chuck, what a legend.

  • @nerdy-zeig7774
    @nerdy-zeig7774 2 года назад +761

    As a systems engineer, I always thought Linux is the new gold rush in OS (And NetworkChuck encourages us to learn it anyway) but at the end of the day normal users will choose windows anyway... So, we still need to master windows along Linux

    • @JC-Alan
      @JC-Alan 2 года назад +61

      It depends on your field, as well. Networking guys obviously spend a lot more time with Linux and VM platforms, but help desk/managed services are almost entirely Windows. Client environments are so reliant on O365 nowadays; Windows isn't going anywhere.

    • @liquidluck711
      @liquidluck711 2 года назад

      @@JC-Alan just wait for the clear, orgo-, holo- tech which will replace almost all black mirror devices. People will he much more free and Linux will be the go to OS. The days of Blue Light damages and chemical addictions to these radiation devices will come to an apocalyptic end. Solar flares and the Greater Reset :) enjoy! Better get some books on off grid living, fair and loving warning!!

    • @imt3206
      @imt3206 2 года назад +9

      @@JC-Alan sadly. What the hell happened?

    • @JC-Alan
      @JC-Alan 2 года назад +39

      @@imt3206 the unstoppable monolith that is Microsoft.

    • @Zeth99seb
      @Zeth99seb 2 года назад +23

      @The Untraveled Path but then it would not be Linux.

  • @NoxiousGhoulv2
    @NoxiousGhoulv2 Год назад +5

    A lot of the commands I already knew but the additional qualifiers to those commands are so powerful. Thanks for the tips.

  • @radiba007
    @radiba007 6 месяцев назад +1

    Díky!

  • @aba-nascu
    @aba-nascu 2 года назад +16

    OMG...working in IT for few years and still learn something from this video. Nice work!

    • @-mrws-
      @-mrws- 2 года назад +1

      "years" !=== "experience"

    • @migueldiego8819
      @migueldiego8819 5 дней назад

      @@-mrws- didn't you mean "!== " ?

  • @jcchaconjr
    @jcchaconjr 2 года назад +10

    One set of shutdown command parameters I use when I need to reboot a machine is 'shutdown /r /t 0'... As you mentioned, /r will reboot the machine, and /t with the value 0 will do it immediately - it otherwise puts up a dialog with a timer (60 seconds, IIRC) before it commences the shutdown. The /m switch has also saved me a few times when I have lost access to a machine with no remote power management set up... You can issue this command remotely to another machine (as long as WinRM is accepting remote requests) by adding /m \\ to the parameter list.
    This was a great rundown of commands - some of which that I have used in the past at one time or another in my previous job - thanks for sharing, Chuck!

    • @BulletNG
      @BulletNG 2 года назад +2

      I've used the timer command so many times. For example, if I don't want to wait around for a computer to finish a scan or an update, I pop in the timer for when it's estimated to finish.

  • @joshyapplecider
    @joshyapplecider 2 года назад +24

    Could have used this when I was studying for the A+! Good stuff

  • @NirajUbale
    @NirajUbale 11 месяцев назад +7

    00:03 Learn essential Windows command prompt commands in 10 minutes
    01:25 Copy DNS output to clipboard and flush DNS entries
    02:49 Learn essential Windows commands and their functions in 10 minutes
    04:09 Troubleshoot and fix system issues on Windows
    05:36 Learn useful Windows commands and shortcuts for managing tasks, network, and security.
    07:02 Bit Defender Firewall provides comprehensive security features and protects against online threats.
    08:20 Useful Windows Commands for Networking
    09:36 Windows commands for managing processes, network routes, and computer shutdown/reboot

  • @Frank-s2k2r
    @Frank-s2k2r 4 месяца назад

    Thanks!

  • @organicmechanic5150
    @organicmechanic5150 2 года назад +44

    Always love a Network Chuck tutorial, straight to the point and easy to follow.

  • @ReadTheShrill
    @ReadTheShrill 2 года назад +14

    Been programming professionally and doing network support and IT for 30+ years, and still there are some commands on this list I didn't know about. Nicely done.

  • @KeithBarker
    @KeithBarker 2 года назад +9

    Amazing video and content. Thank you! 💪🏽

    • @NetworkChuck
      @NetworkChuck  2 года назад +3

      Thanks Keith! Good to hear from you!

    • @nigelphillips7454
      @nigelphillips7454 Год назад

      @@NetworkChuck hi if i do reset this pc will i be able to reset registry editor to default with keep my files options or is there a better cmd command please reply me asap would measn alot to me and could put it here please thanks

  • @novo6462
    @novo6462 Год назад +2

    Thanks for this, I work a service desk engineer and use these commands on a regular basis.

  • @CatFM1015
    @CatFM1015 Год назад +2

    Saved video for continuous future use - NEVER take this down please!!

  • @AustroPower
    @AustroPower 2 года назад +52

    I love and admire Chucks energy and passion in the work he puts in, and yes i found this very helpful! Thank you very much, and hope to see more of these Windows/Linux CMD series 😁🔥👏

  • @privateinfo4820
    @privateinfo4820 2 года назад +71

    After 30 some years doing this stuff I was saddened you didn't mention the up arrow (or down arrow.. ) to scroll through previous commands you've entered! Very simple and very handy way to navigate cmd prompt work.. also use the left right arrow keys within a cmd line to edit, insert, etc.. keys before hitting Enter.. Love the video :) Show them some EDLIN stuff now..

    • @MegaTerryWogan
      @MegaTerryWogan 2 года назад +4

      👍👍🤣 We're such geeks 😉😉

    • @ankthares6474
      @ankthares6474 2 года назад

      my guess is that up and down arrows are not exclusively to windows

    • @PetrCharousek
      @PetrCharousek 2 года назад +9

      And what else, pressing F7 in the Command Prompt lists previously entered commands. Very helpful sometimes for me 😉👍

    • @nitronixasd
      @nitronixasd 2 года назад +2

      Doskey is something I miss, used to be some cool things with that command

    • @romelalvarado
      @romelalvarado 2 года назад +4

      @@PetrCharousek And do not forget that if press ALT+F7 clear the list of | cached commands... well, that is not related to useful commands, but useful "features"... Ahhhh, do not also forget use the TAB key: Auto-complete | rotate list of items in a folder, so you don't have to write the whole filename | folder name; even it will put the (") if the filename | folder name | path contains spaces in them!

  • @vidx9
    @vidx9 2 года назад +7

    I've been using windows for decades since DOS and some of the commands are new to me. Thanks Chuck!

    • @robegatt
      @robegatt 10 месяцев назад

      because they ARE new 😅

  • @borisdorofeev5602
    @borisdorofeev5602 9 дней назад

    This is super basic Windows stuff, but the way it's presented is fantastic. Everything is relevant and straight to the point.
    The timestamps make this video as handy as a cheat-sheet for those who would rather watch than read. Awesome channel man, 5 out of 5 for sure.

  • @Pistachioooooooooooo
    @Pistachioooooooooooo Год назад +3

    Thank you man, some of these commands didn't know before, it's was good to catch up such a video

  • @SerRipsen
    @SerRipsen 2 года назад +41

    For Shutdown don't use "/t 0" as the command will wait for apps to close and if any app has those "save your work" dialog boxes then it will cancel the reboot. Instead use "/t 1" and it will bypass those prompts. Very useful when you have 400 apps open and cba to close them manually.

    • @RasmusFMS
      @RasmusFMS Год назад +3

      Alternatively, use "/f", and it will force the shutdown with no delay

    • @someguy4915
      @someguy4915 Год назад +2

      When using /t higher than 0, the /f (Force shutdown/reboot) is implied in Windows, so either '/s /f /t 0' or '/s /t 1' does the same besides the slightly longer wait.

  • @phyloyd1
    @phyloyd1 2 года назад +4

    Thank you! I even learned a few things. I have been working as an SCCM administrator and I use command prompt to fix computers that no longer speak to the console. psexec and command line are the quickest way especially trying to fix systems on slower connections. Keep up the awesomeness!

  • @AlexSanchez-qy9jd
    @AlexSanchez-qy9jd 2 года назад +5

    Dude, this is seriously awesome! Its these little things like useful everyday commands that make a world of difference. Thats why I love your channel and content!

  • @comraede
    @comraede 8 месяцев назад +4

    Love the presentation style, great video!

  • @johnwick679
    @johnwick679 2 года назад +11

    I love how you explain things all other people who make tutorials never get to the point you however get right to it, so big thank you

  • @Shadow-bs1iu
    @Shadow-bs1iu 2 года назад +6

    Excellent format this. Quick 10minute snippet of a goldmine of information. Admittedly about 25% of the commands I already know, but this video is a great format and can be dropped into my working day with a brew and it not be so time consuming that I stop it and then get distracted when firing up youtube later on and look at something else. Keep up the excellent work Chuck. Your enthusiasm and work ethic is very admirable

  • @_void_
    @_void_ 2 года назад +4

    I want to share with you some commands i often use.
    "explorer ." - open current path in explorer (dot stands for current path, two dots - for parent dir path, you can use it in any command where path is needed like "cd .." or "cd ../folder/subfolder" )
    "notepad file.txt" - open file in notepad(it creates new one if it doesn't exist)
    ls - print all files and folders in current dictionary
    P.S. "clip" was a discovery for me. I find it to be a very useful

  • @CeeZy_69
    @CeeZy_69 Год назад +1

    Finally some usefull info and knowledge, THANK YOU YT RECOMMENDS!

  • @Goshito777
    @Goshito777 Месяц назад

    The most entertaining dude on RUclips! This funny way of delivering pretty boring info even brings a relief of my neck pain. Thanks for that! That made my Friday so much brighter!

  • @stobbyenduromx9692
    @stobbyenduromx9692 2 года назад +7

    For the shutdown command you can also use the /o switch to go straight to the Advanced options boot where you can boot into safe mode etc.

  • @_-_ttt_-_
    @_-_ttt_-_ 2 года назад +4

    Honestly did not know about shotdown straight to the BIOS. Lovely ♥️

    • @EvganyVorona
      @EvganyVorona 2 года назад +2

      Same, how am I finding about this just right now?

  • @mirre2590
    @mirre2590 2 года назад +4

    Great video! Commands 17-20 (SFC scannow, DISM) are go-to commands when having issues with
    Windows, just what Microsoft tech support will go through.

  • @it-tutorials
    @it-tutorials 4 месяца назад +1

    Lot of valuable information in just 11 minutes. Highly appreciated!!

  • @-ray-h
    @-ray-h 9 месяцев назад +4

    These were all awesome commands especially the last one...
    The command c:\ shutdown /r /fw /f /t 0 is used to restart the computer and immediately boot into the UEFI BIOS settings.
    The break down what each part of the command does:
    shutdown: This is the main command to shut down or restart the computer.
    /r: Specifies that the computer should restart.
    /fw: Indicates that the next boot should go directly to the UEFI firmware settings (BIOS).
    /f: Forces running applications to close without warning.
    /t 0: Sets the delay time before the restart to zero seconds, meaning an immediate restart.
    Executing this command will restart your computer and take you directly to the UEFI BIOS settings.
    It sure is a handy shortcut for accessing BIOS configurations without going through the usual boot process.

    • @edwardmacnab354
      @edwardmacnab354 4 месяца назад

      can it be made to run as a batch file at startup so you can select another OS in your boot manager

  • @chadwicktyrone8894
    @chadwicktyrone8894 2 года назад +9

    I swear you are a gem on this RUclips space! I’ve learned so much from you and my IT confidence is going through the roof because of your videos 👍🏿

  • @fixer1140
    @fixer1140 2 года назад +9

    Thank you so much Chuck. I've learned so much with your videos, in fact, I took your advice and I'm about to start with CCNA. Keep up the great work.

  • @juleast
    @juleast 2 года назад +6

    I've been exploring windows since I was grade 6 so I actually knew about 80% of all these commands. But I never knew the shutdown command can reboot into BIOS so that was cool. I always just use it for restarting quickly. Great video 👍

  • @DavidHughesss
    @DavidHughesss Месяц назад

    OK, this is awesome. Almost every other tutorial about the Windows command line I've come across begins with several minutes of someone going "now, I know the idea of typing commands into a computer is frightening, so we're going to go through this all very slowly indeed".

  • @Moosa_v2.0
    @Moosa_v2.0 Год назад +2

    Love the end one

  • @BluJayMC
    @BluJayMC 2 года назад +7

    YES! This is great! Can you do one for Powershell as well?!

    • @du7v
      @du7v 2 года назад +1

      Yes!!

    • @ACOnetwork
      @ACOnetwork 2 года назад +1

      As far as I know, you can do all this the same in PowerShell 😀, just open PowerShell instead CMD in Administrator mode ofcourse 😎

    • @itprofessor
      @itprofessor 2 года назад +2

      Sure you can, PowerShell can do the same what CMD and beyond :)

  • @andrewalonsi
    @andrewalonsi 2 года назад +40

    I'm studying for my A+ how did you know I needed this!?

    • @I_Lemaire
      @I_Lemaire 2 года назад +1

      1002 catch-up crew?

    • @samuelrodriguez2749
      @samuelrodriguez2749 2 года назад +4

      Passed my 1101 now I'm studying for 1102

    • @dolbrechts1980
      @dolbrechts1980 2 года назад +3

      Chuck knows and sees all 🤣

    • @jaylewisadams
      @jaylewisadams 2 года назад +1

      network chuck is awesome, on the A+ you don't have to know switches however, just the actual ports, don't over think it and good luck!!!

    • @korosensei3791
      @korosensei3791 2 года назад

      what sources do u use to study A+ ?

  • @anonymous_45773
    @anonymous_45773 Год назад +1

    Great video,better than most of the other RUclipsrs,direct to the point,thank you for the video❤

  • @AnthonySchattenberg
    @AnthonySchattenberg Год назад

    Hi,
    I am an it engineer for many many years, and I still love learning. Today, I learned things from your video, thank you very much, it is so cool !!!!!! You have a new follower 🙂

  • @sklise1
    @sklise1 2 года назад +7

    Ping -w for wait is helpful if lateness is higher then the standard ms. Great video.

    • @sklise1
      @sklise1 2 года назад

      Dcdiag was good. Thst has some cool options. Lots of great command lines.

  • @bossK78
    @bossK78 2 года назад +4

    As systems engineer myself, these are excellent commands to learn. I'm still learning 15 yrs later.

  • @kaeez
    @kaeez 2 года назад +16

    Thanks Chuck! This was pretty useful.

  • @dr.ejazahmed
    @dr.ejazahmed Год назад +1

    Wow amazing tricks bro 👍
    Plz make more videos like this.
    Subscribed and liked 😊

  • @simonsezblah
    @simonsezblah Год назад

    This was my first NetworkChuck video experience. Very useful. You are Awesome!

  • @longlost8424
    @longlost8424 2 года назад +10

    decades ago I started writing batch files (like many of these commands) to do so many of these commands within my work domains. over the years, I've updated and tweaked many in order to work more efficiently. still good to see that even you Chuck, revert to the old ways when it comes to our winders environments......

    • @leecowell8165
      @leecowell8165 Год назад

      in linux they're called "bash" files.. acronym for "born again shell". btw in linux all commands are in lower case because everything in linux IS case sensitive including file/directory names. thus boohoo.sy.sh is NOT the same as Boohoo.sy.sh. and note the 2 dots here. linux doesn't use extensions but there are still defaults that users typically define such as ..sh for a typical bash file. oh. no drive letters either everything in unix/linux is defined as a gigantic tree that begins under a partition and those partitions can be located on any drive that is mounted. note though that if you unmount a partition everything within it goes "bye-bye" (which is completely different than windows).

    • @zyneed2643
      @zyneed2643 Год назад

      @@leecowell8165 ok

  • @offthedribblemedia8426
    @offthedribblemedia8426 2 года назад +18

    This is awesome Chuck!! You have helped me so much through out my early IT journey. Studying to take my CompTIA A+. Hope to work my way up to CCNA soon!

    • @ellwales7057
      @ellwales7057 2 года назад

      I’m studying for my comptia A+ too, any advice?

    • @janfranko4569
      @janfranko4569 2 года назад +3

      ​@@ellwales7057 never go to look at pingpong show in thailand.

    • @UnverifiedUser10
      @UnverifiedUser10 2 года назад

      @@janfranko4569 lol

  • @justacherryontop6538
    @justacherryontop6538 2 года назад +5

    that's exactly what's this kind of video should be, i mean this are just command they are not any complex things you don't have to make them you just use them and remember them👍

  • @Mainbusfail
    @Mainbusfail Год назад

    I can never learn enough. That is why I am a huge fan of your content. Thanks NetworkChuck!!!

  • @CyberHak
    @CyberHak Год назад

    You're flowing bro. Smashed this video. Well done.

  • @BakerTechnologyServices
    @BakerTechnologyServices 2 года назад +6

    Liked and subscribed! Great video with a nice assortment of commands. Definitely reminded me of some commands to use more often, and learned a few new things. My favorite in this video is "shutdown /r /t 0 /fw" - use it all the time.

  • @NCwiok
    @NCwiok 2 года назад +67

    Excellent content as usual! I just ran though and turned a lot of these into batch files :) Instead of putting the ipconfig /displaydns into your clipboard, you could replace "| clip" with ">> %USERPROFILE%\Desktop\DNS.txt" and have the results of the command just port straight to your desktop as well.

    • @r000tbeer
      @r000tbeer 2 года назад +19

      Add "&& notepad %USERPROFILE%\Desktop\DNS.txt" at the end and notepad will open it for you.

    • @grayjax
      @grayjax 2 года назад +2

      so fucking cool ty! - im a complete noob but this finally forced me to figure out my desktop path properly which i had simply never bothered to look up when frustrated. ty sm

    • @_....____......_
      @_....____......_ 2 года назад +1

      Nice!

    • @B0TZ
      @B0TZ 2 года назад +1

      what is batch file and what are you guys talking about if you could explain

    • @NCwiok
      @NCwiok 2 года назад +3

      @@B0TZ a batch file is a script file for Windows that allows you to write commands out in advance and then save it for execution later. If you open notepad.exe and then input something youd run in the command prompt, then save it as *filename*.bat, you can run that command any time you double click it. Try a few of the commands that NetworkChuck showed in this video, it's very helpful to keep on a flash drive to troubleshoot your friends or family's devices. Personally I use "Shutdown -r -f -t 0" in a .bat file all the time for computers I know have been on all the time just in case a Windows update is preventing a restart.

  • @xheralt
    @xheralt 2 года назад +4

    I always create a desktop link to "shutdown /s /t 0" ... been doing it since Win9x, but in Win10+ it has real utility. In addition to being a single double-click action instead of mousing around popup Start menu and several clicks, it forces a complete shutdown, as opposed to the quick-restart "hybrid" sleep-mode shutdown that is the default now.

  • @trgluttony
    @trgluttony Год назад

    Bro solid vid with exact 10 mins even including sponsor and everything. Really cool!

  • @apreshdesai9116
    @apreshdesai9116 Год назад +1

    You are a legend!! Keep up the good work/ videos 😊

  • @Aethid
    @Aethid 2 года назад +6

    The Windows CLI is powershell, not cmd. Cmd is only really still around for legacy support reasons.

  • @Surjjicle
    @Surjjicle 2 года назад +10

    These were good tips, and I actually did learn something, but I feel like PowerShell is really the thing people should be investing their time learning.
    It's easier in a lot of ways, more powerful, and newer versions are cross platform.

    • @Jwilkinsonstudios
      @Jwilkinsonstudios 2 года назад

      I was just about to say this. But tbf, powershell will still run anything cmd will.

    • @maltnz
      @maltnz 2 года назад

      You need both - in my experience Powershell scripts do not run remotely anywhere near as well as DOS. And DOS can often do with a one line what Powershell requires 2 or more lines to do.

  • @firojpaudel
    @firojpaudel 2 года назад +30

    Hey Chuck ,
    Could you make some for linux terminal as well? I recently shifted to ubuntu and would like to learn from you

    • @iteeruzz2006
      @iteeruzz2006 2 года назад +1

      Ubuntu is cool but if you would like to learn more about Linux, I suggest you switch to Kali ....he has multiple videos on kali than any other Linux distro

    • @xrafter
      @xrafter 2 года назад +2

      @@iteeruzz2006
      first, kali isn't for every day use. second, all commands in kali will work in ubuntu .

    • @charlesyoungblood9414
      @charlesyoungblood9414 2 года назад

      He has videos on learning Linux, and the bash scripting.
      Also check out the links he mentions (itprotv and hack the box academy)
      they will help build a solid understanding.

  • @NathanPatton
    @NathanPatton Год назад +1

    Great vid! Some of my other favorites are:
    systeminfo
    wmic os get lastbootuptime
    wmic bios get serialnumber (really handy when I was working a retail service desk)
    net user administrator /active:yes
    tasklist
    taskkill
    diskpart
    non-commands:
    pressing the tab key to autocomplete
    pressing up to view your last command
    pressing CTRL + C to abort a command line process
    highlight text then right click to instantly copy

  • @sole__doubt
    @sole__doubt 9 месяцев назад +1

    The info, the style, the beard. Yeah I'll subscribe. ;)

  • @joeylee7740
    @joeylee7740 2 года назад +10

    This is super useful and powerful! Thanks Chuck! You’re awesome! :)

  • @DerekDumas
    @DerekDumas 2 года назад +16

    135 & 445 are used for file sharing on windows, and 3389 is your remote control (RDP), actually controlling another computer.

  • @faizanahmed9304
    @faizanahmed9304 2 года назад +7

    Thank you Chuck! Needed this video. I'm familiar with Linux commands all thanks to you because of your Linux for hackers playlist. I could mistakenly type Linux commands on my Command Prompt. This video helps to avoid that ambiguity.

  • @MrTutiplengo
    @MrTutiplengo Год назад

    I know some of these from the DOS days. I like the energy he brings into the video, like a kid excited with a new toy. Awesome content.

  • @muffledd
    @muffledd Год назад

    I had no idea the command prompt was this useful, thank you so much for this video!

  • @maltnz
    @maltnz 2 года назад +4

    Use the UP ARROW to repeat last command if you want to run it again or add switches. No need to retype from scratch.

  • @RationalFunction
    @RationalFunction 2 года назад +7

    5:44 you can use /im instead of /pid but you need to supply the exe name instead of the pid in that case.

    • @RationalFunction
      @RationalFunction Год назад

      @Yashvir The Pentester not true. For example: taskkill /f /im explorer.exe kills explorer. Any windows version that has taskkill will work with this. Now stop spreading misinformation.

  • @kaieden
    @kaieden 2 года назад +7

    A great alternative to Command 0 at the start is
    Windows Key + R ; type "cmd"; press ctrl + shift + enter.
    This way you can run command prompt as an administrator without using any menus!

    • @thepikachugamer
      @thepikachugamer Год назад

      Now, i haven't used Windows in a while, but I swear the CTRL+Shift+Enter didn't work with run. Time to check again

  • @RED_V3LV3T
    @RED_V3LV3T Год назад

    +1 SUB! as a tech support i clipped that link on my notepad, definitly gonna help me solve my clients issues, or mine. thank you!!

  • @JacobNozicka
    @JacobNozicka Год назад

    Man, this video still holds so much value. Thank you.

  • @jarrodburns6339
    @jarrodburns6339 2 года назад +16

    For command prompt:
    Windows + R
    type cmd
    Ctrl + Shift + Enter (For administrator mode)

    • @fr0stief0n
      @fr0stief0n 2 года назад +1

      cool tip, I always thought u can't run as admin mode in run box

    • @blargh82
      @blargh82 2 года назад

      Same thing but for Windows Terminal (I prefer using Terminal instead of Command Prompt)
      Windows + R
      type wt
      Ctrl + Shift + Enter

    • @egokhanturk
      @egokhanturk 2 года назад

      @@blargh82for windows terminal you can set to run admin mode everytime. Then you can type wt in windows explorer's address bar hit enter bum admin mode and no need cd command

  • @mattknibb5001
    @mattknibb5001 2 года назад +5

    When I needed him most, he delivered. I've been getting more into command prompt and starting my scripting journey and this game me a lot of cool ideas to play with. Thanks Chuck!

  • @serpent77
    @serpent77 2 года назад +12

    Two more I use frequently are:
    logoff... which logs you off far easier than using shutdown
    And pathping, that is kind of a combo between tracert and ping. It'll ping the destination server and all hops between source and destination, timing each hop, for those times when it might actually be the network 😜
    I did learn clip today, didn't know that one, glad to know there is a powershell set-clipboard equivalent in cmd!

    • @serpent77
      @serpent77 2 года назад +1

      Oh. Another I use on occasion is arp, it displays and modifies the arp table of the machine, arp -d will display all the Mac addresses you computer has talked to on the local network, again for those times when it's not DNS 😜😂🤣

  • @IdRadical
    @IdRadical Год назад

    I know some things but I was sleeping on these commands! Quality video btw! Thank you!!

  • @GeekyMino
    @GeekyMino Год назад

    Awesome production quality and great delivery!

  • @androidgamesdark9648
    @androidgamesdark9648 Год назад

    I watched the adds bro it's the only way I can support you bro , and I dropped you a like too .❤

  • @jaygoddi7680
    @jaygoddi7680 6 месяцев назад

    Dude love your stuff, hit the bell, hit the thumb, you make this sh** fun, keep it up bro.

  • @JoeyJumpUp1981
    @JoeyJumpUp1981 4 месяца назад

    I'm going to take a year off and just watch all your videos. These are gold. TY for these!

  • @kodiguy3772
    @kodiguy3772 Год назад

    Awesome video! Thanks NetworkChuck!🤣

  • @scottpelletier1370
    @scottpelletier1370 Год назад

    Subscribed!
    I like pressing tab to auto fill info you started to type. I wish there were a way to complete commands too but I guess some things you just have to memorize.

  • @majesticviews5397
    @majesticviews5397 Год назад

    Always find myself back to this video for some reason when studying lol Thanks CHUCK!!

  • @anshu958
    @anshu958 Год назад

    one of the most informative video my IT career ,Thanks a lot .

  • @420birdman
    @420birdman Год назад

    Thank you for all your contributions on RUclips. I love the way you show and explain what you're doing on your RUclips. Thank you

  • @MrDerekLRobinson
    @MrDerekLRobinson 8 месяцев назад

    Awesome content, Sir! 👍🏻👍🏻

  • @Boranavin360
    @Boranavin360 Год назад +1

    My favorite command is shtudown /s /f /t 10800 I even made a batch file of it called SLEEP. /f Forces apps to close /s to shutdown /t 10800 for 3 hours. I dont like to leave my computer on all night but if something is downloading I will put the computer on a sleep timer. I have a stop sleep batch file shutdown /a to abort in case I need to cancel it.
    Thank you for the video. I always new basic commands like netstat and ipconfigs, but today I learned about pipelines and kill commands. I swear this ten minute video taught me more than an hour of class when I went to ITT Tech.

  • @chriscanadahello
    @chriscanadahello 9 месяцев назад

    lol, you make it look so easy brother, i'm following you and i remember using floppy disks but cmd commands you share are so cool, i had no idea until you showed me, ty

  • @jamesrichardson8488
    @jamesrichardson8488 8 месяцев назад +1

    It would be nice to have a PDF or word doc of this, I know there are similar online but this was a nice little collection,
    Nice vid thanks.