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
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...
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!
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
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!
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.
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).
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.
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!!!
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. 😃
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!)
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
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.
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
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.
@@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!!
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!
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.
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
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.
@@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
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 😁🔥👏
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..
@@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!
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.
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.
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.
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!
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!
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
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
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!
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.
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 👍
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".
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 🙂
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......
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).
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!
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👍
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.
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.
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
@@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.
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.
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.
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.
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
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.
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
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.
@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.
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!
@@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
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!
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!
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 😜😂🤣
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.
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.
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
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
Could you make some for linux too ? (ubuntu)
Damn, I just re-upped my sub.
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
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...
I have a question in the ipconfig/renew is it actually bad if i delete all interface on my computer
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!
This should be pinned. Great point.
I always create a .bat file:
@ECHO off
ipconfig /release
ipconfig /renew
Run as Administrator
Delete the file after the connection comes back.
I made that mistake when remote so good point, never thought of that. I always used a batch script.
@@heuristix77 or you could delete it in the code using del %filename%
Respect 👍
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
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!
❤
dang, just googled that. lol Thank you "kick, punch, chop, block"
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.
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).
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" 😃
Bro gave his ip
@@AwesomeguyYThe's using VPN
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.
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!!!
100 years later into the future and this video will still be helping us out
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. 😃
Good stuff! I was offended he didn’t show Powershell.
ipconfig - Get-NetIPAddress = does not work on windows 11
What's the difference between cmd and power shell?
I bought you a coffee in my heart.
For a long time i have resisted powershell but I can no longer deny its great power.
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.
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!)
How's the war going Mrs. President?
This is the coolest 10 minute video I've seen in months and months. Awesome. Send to my tech team to review too.
This is amazing, no fluff, no gimmicks, no day in the life, just straight knowledge and value
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
This is incredible
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.
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
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.
@@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!!
@@JC-Alan sadly. What the hell happened?
@@imt3206 the unstoppable monolith that is Microsoft.
@The Untraveled Path but then it would not be Linux.
A lot of the commands I already knew but the additional qualifiers to those commands are so powerful. Thanks for the tips.
Díky!
OMG...working in IT for few years and still learn something from this video. Nice work!
"years" !=== "experience"
@@-mrws- didn't you mean "!== " ?
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!
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.
Could have used this when I was studying for the A+! Good stuff
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
Thanks!
Always love a Network Chuck tutorial, straight to the point and easy to follow.
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.
Amazing video and content. Thank you! 💪🏽
Thanks Keith! Good to hear from you!
@@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
Thanks for this, I work a service desk engineer and use these commands on a regular basis.
Saved video for continuous future use - NEVER take this down please!!
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 😁🔥👏
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..
👍👍🤣 We're such geeks 😉😉
my guess is that up and down arrows are not exclusively to windows
And what else, pressing F7 in the Command Prompt lists previously entered commands. Very helpful sometimes for me 😉👍
Doskey is something I miss, used to be some cool things with that command
@@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!
I've been using windows for decades since DOS and some of the commands are new to me. Thanks Chuck!
because they ARE new 😅
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.
Thank you man, some of these commands didn't know before, it's was good to catch up such a video
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.
Alternatively, use "/f", and it will force the shutdown with no delay
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.
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!
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!
Love the presentation style, great video!
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
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
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
Finally some usefull info and knowledge, THANK YOU YT RECOMMENDS!
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!
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.
Honestly did not know about shotdown straight to the BIOS. Lovely ♥️
Same, how am I finding about this just right now?
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.
Lot of valuable information in just 11 minutes. Highly appreciated!!
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.
can it be made to run as a batch file at startup so you can select another OS in your boot manager
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 👍🏿
Œ
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.
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 👍
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".
Love the end one
YES! This is great! Can you do one for Powershell as well?!
Yes!!
As far as I know, you can do all this the same in PowerShell 😀, just open PowerShell instead CMD in Administrator mode ofcourse 😎
Sure you can, PowerShell can do the same what CMD and beyond :)
I'm studying for my A+ how did you know I needed this!?
1002 catch-up crew?
Passed my 1101 now I'm studying for 1102
Chuck knows and sees all 🤣
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!!!
what sources do u use to study A+ ?
Great video,better than most of the other RUclipsrs,direct to the point,thank you for the video❤
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 🙂
Ping -w for wait is helpful if lateness is higher then the standard ms. Great video.
Dcdiag was good. Thst has some cool options. Lots of great command lines.
As systems engineer myself, these are excellent commands to learn. I'm still learning 15 yrs later.
Thanks Chuck! This was pretty useful.
Wow amazing tricks bro 👍
Plz make more videos like this.
Subscribed and liked 😊
This was my first NetworkChuck video experience. Very useful. You are Awesome!
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......
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).
@@leecowell8165 ok
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!
I’m studying for my comptia A+ too, any advice?
@@ellwales7057 never go to look at pingpong show in thailand.
@@janfranko4569 lol
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👍
I can never learn enough. That is why I am a huge fan of your content. Thanks NetworkChuck!!!
You're flowing bro. Smashed this video. Well done.
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.
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.
Add "&& notepad %USERPROFILE%\Desktop\DNS.txt" at the end and notepad will open it for you.
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
Nice!
what is batch file and what are you guys talking about if you could explain
@@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.
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.
Bro solid vid with exact 10 mins even including sponsor and everything. Really cool!
You are a legend!! Keep up the good work/ videos 😊
The Windows CLI is powershell, not cmd. Cmd is only really still around for legacy support reasons.
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.
I was just about to say this. But tbf, powershell will still run anything cmd will.
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.
Hey Chuck ,
Could you make some for linux terminal as well? I recently shifted to ubuntu and would like to learn from you
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
@@iteeruzz2006
first, kali isn't for every day use. second, all commands in kali will work in ubuntu .
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.
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
The info, the style, the beard. Yeah I'll subscribe. ;)
This is super useful and powerful! Thanks Chuck! You’re awesome! :)
135 & 445 are used for file sharing on windows, and 3389 is your remote control (RDP), actually controlling another computer.
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.
I do this lol
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.
I had no idea the command prompt was this useful, thank you so much for this video!
Use the UP ARROW to repeat last command if you want to run it again or add switches. No need to retype from scratch.
5:44 you can use /im instead of /pid but you need to supply the exe name instead of the pid in that case.
@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.
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!
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
+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!!
Man, this video still holds so much value. Thank you.
For command prompt:
Windows + R
type cmd
Ctrl + Shift + Enter (For administrator mode)
cool tip, I always thought u can't run as admin mode in run box
Same thing but for Windows Terminal (I prefer using Terminal instead of Command Prompt)
Windows + R
type wt
Ctrl + Shift + Enter
@@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
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!
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!
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 😜😂🤣
I know some things but I was sleeping on these commands! Quality video btw! Thank you!!
Awesome production quality and great delivery!
I watched the adds bro it's the only way I can support you bro , and I dropped you a like too .❤
Dude love your stuff, hit the bell, hit the thumb, you make this sh** fun, keep it up bro.
I'm going to take a year off and just watch all your videos. These are gold. TY for these!
Awesome video! Thanks NetworkChuck!🤣
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.
Always find myself back to this video for some reason when studying lol Thanks CHUCK!!
one of the most informative video my IT career ,Thanks a lot .
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
Awesome content, Sir! 👍🏻👍🏻
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.
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
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.