₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,327,400 members, 8,430,824 topics. Date: Sunday, 21 June 2026 at 08:06 AM

Toggle theme

50 Secret Terminal Codes Every Nigerian Windows User Needs To Master - Computers - Nairaland

Nairaland ForumScience/TechnologyComputers50 Secret Terminal Codes Every Nigerian Windows User Needs To Master (8154 Views)

Poll: How helpful was this post?

Helpful 68% (43 votes)
Not helpful 9% (6 votes)
Nothing new 9% (6 votes)
Well, it's new knowledge 12% (8 votes)
This poll has ended

1 2 Reply (Go Down)

50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by chatinent(op):
(c) chatinent

50 Secret Terminal Codes Every Nigerian Windows User Needs to Master (Nairaland Tech Blueprint)

Hi friends,
I'm gonna be teaching you how to learn sth that will metamorphose into valuable skills.
Who knows?? If you master how to use the Terminal, you may learn how to build your own websites soon enough with your PC being the server before you even deploy. Don't mind my jargons...

But let's focus on today's teaching..

Most people in Nigeria treat the Windows Command Prompt (CMD) or PowerShell like something meant only for Hollywood hackers or programmers. But if you are running a business, freelancing, or dealing with typical Nigerian tech issues like slow networks, fake hard drives, and sudden power cuts, the terminal is your ultimate weapon.

You can do literally anything with your Command Prompt or Terminal in your PC.

Instead of paying a repair guy in St Michaels Aba thousands of Naira to fix simple software issues, or struggling with slow UIs, you can use these 50 raw terminal codes to force your laptop to do exactly what you want.

I know you are seeing this is premium knowledge already!

Here is the complete, breakdown-by-breakdown guide formatted perfectly for your notes. Bookmark this page immediately!

Use the knowledge positively always.


PART 1: NETWORK & DATA-SAVING HACKS (Defeat Bad Network & Glo/MTN Throttle)

These codes help you bypass network glitches, check if your Wi-Fi is being tapped, and optimize poor connections.

1. ipconfig /flushdns
The Blueprint Explained Simply: Think of this as clearing the brain memory of your network card. When a website refuses to load even though you have active data, your laptop is likely holding onto a stale, broken network map. Running this forces your system to ask the network for a fresh connection route instantly.

2. netsh wlan show profiles
The Blueprint Explained Simply: This lists every single Wi-Fi network and password profile your laptop has ever connected to in its life. Perfect for when you forgot the password to a friend's MiFi or office router but your laptop remembers it.

3. netsh wlan show profile name="WiFi_Name" key=clear
The Blueprint Explained Simply: The direct follow-up to code 2. Replace "WiFi_Name" with the network name, and Windows will print out the exact password in plain text right on your screen. No software required.

4. ping google.com -t
The Blueprint Explained Simply: This continuously sends tiny packets of data to Google to check your internet stability. If you are doing a Zoom call or heavy upload and it keeps cutting, look at this terminal screen. If you see "Request timed out," you know your network provider is failing you.

5. netstat -an
The Blueprint Explained Simply: This displays a live list of every single port and IP address currently talking to your computer. If your data bundle is draining mysteriously fast while your browser is closed, run this to see if hidden background apps or malware are secretly streaming data out of your machine.

6. tracert nairaland.com
The Blueprint Explained Simply: This maps out every single router, server, and underwater cable station your connection jumps through to reach a website. If a site is loading slow, this shows you exactly which server along the pipeline is bottlenecking your data.

7. getmac
The Blueprint Explained Simply: Pulls the physical hardware MAC address of your laptop. If you are configuring your home router to block neighbors from stealing your Wi-Fi, you need this code to whitelist your specific machine.

8. arp -a
The Blueprint Explained Simply: Shows all devices currently sharing the local network with you. If you suspect someone in your yard is secretly hooked up to your personal hotspot, this code lists their hardware IDs.

9. nslookup netflix.com
The Blueprint Explained Simply: Queries the DNS server directly to verify if a website's IP address matches reality. Great for identifying if your internet provider is redirecting or blocking a site you are trying to access.

10. pathping google.com
The Blueprint Explained Simply: A deep network diagnostic that tracks your connection path for several minutes, calculating packet loss at every single step. It tells you exactly where your signal is dropping.


PART 2: COMPUTER VILLAGE DEFENSE Codes (Exposing Fake Specs & Faulty Hardware)
Use these codes when buying a "UK-Used" or "Belgian" laptop to check if the components inside are genuine or dying.

11. powercfg /batteryreport
The Blueprint Explained Simply: Generates a hidden health document for your battery. It compares what the battery held when it left the factory versus what it can hold today. If a seller tells you "Battery lasts 5 hours" but the report shows the capacity has dropped by 70%, run away!

12. wmic cpu get name
The Blueprint Explained Simply: Asks the motherboard directly what processor is installed. Since scammers can edit the Windows "About My PC" screen to make a Celeron look like an i7, this code bypasses the trick by reading the hardware firmware directly.

13. wmic diskdrive get model,size,status
The Blueprint Explained Simply: Pulls the factory model and health status of your storage drive. If a seller stuck a cheap, failing, second-hand hard drive inside a clean laptop body, this code will flag the status as "Bad" or "Pred Fail" instead of "OK."

14. wmic memorychip get speed, capacity
The Blueprint Explained Simply: Displays the exact size and physical speed of every RAM stick slotted inside the laptop. Essential for confirming if you are actually getting the high-speed DDR4 or DDR5 RAM you paid for.

15. wmic bios get serialnumber
The Blueprint Explained Simply: Extracts the un-editable hardware serial number embedded on the motherboard. You can type this number into the official HP or Dell website to verify the exact day the laptop was manufactured and if it is stolen or refurbished.

16. systeminfo
The Blueprint Explained Simply: Dumps a massive list of everything about your system—including the exact day Windows was installed, your BIOS version, and your system model.

17. driverquery
The Blueprint Explained Simply: Lists every single hardware driver running on your PC. If your web camera, bluetooth, or keyboard is acting strange, this code shows you if the driver is active or broken.

18. dxdiag
The Blueprint Explained Simply: Opens the DirectX Diagnostic tool in a flash. This is the absolute best way to check your exact graphics card specifications and VRAM size before buying a laptop for gaming or video editing.

19. msinfo32
The Blueprint Explained Simply: Launches a massive system information dashboard that shows your hardware resources, components, and software environment in extreme detail.

20. powercfg /energy
The Blueprint Explained Simply: Monitors your laptop for 60 seconds of normal use, then builds a file detailing every single app, bug, or setting that is abnormally draining your battery.


PART 3: ADVANCED PERFORMANCE & FIXES (Save Money on Repairs)
When your system is lagging, hanging, or throwing errors, run these codes to repair the OS yourself.

21. sfc /scannow
The Blueprint Explained Simply: System File Checker. It scans every single core file in your Windows operating system against an official blueprint. If a virus or bad shutdown corrupted something, it fixes it automatically.

22. DISM /Online /Cleanup-Image /RestoreHealth
The Blueprint Explained Simply: If sfc /scannow fails because the corruption is too deep, this code connects directly to the official cloud servers to pull down brand-new, clean system files to rebuild your OS.

23. chkdsk /f /r
The Blueprint Explained Simply: Check Disk. It locks your storage drive, scans every single sector for physical or logical errors, fixes them, and safely recovers any readable data from dying parts of the drive.

24. tasklist
The Blueprint Explained Simply: Displays a live text stream of every program running on your laptop, along with their unique Process ID (PID) numbers. Great for spotting hidden apps that are slowing your PC down.

25. taskkill /F /PID [number]
The Blueprint Explained Simply: If an app (like Chrome or a heavy game) freezes completely and refuses to close when you click the "X" button, look up its PID number using code 24 and run this to kill it instantly.

26. gpupdate /force
The Blueprint Explained Simply: Forces Windows to instantly refresh all security and operational system rules. Useful if you tweaked a deep setting and don't want to waste time restarting your computer for it to take effect.

27. cleanmgr
The Blueprint Explained Simply: Opens the advanced Disk Cleanup utility directly. It cleans out deep, hidden system caches, old update leftovers, and junk files that are hogging gigabytes of storage space.

28. defrag C: /O
The Blueprint Explained Simply: Optimizes your main hard drive. If you use a regular HDD, it rearranges scattered data files so they load faster. If you use a modern SSD, it runs a command called TRIM to keep the drive healthy.

29. sc query
The Blueprint Explained Simply: Pulls up a list of every single background system service. You can use this to spot weird, unrecognized services that might be spyware running silently.

30. shutdown /r /t 0
The Blueprint Explained Simply: Forces your laptop to restart immediately with zero lag or delay. The /t 0 sets the countdown timer to exactly zero seconds.


PART 4: STORAGE & FILE MANAGEMENT (The Command Center Control)
Navigate your laptop like a pro. These allow you to manipulate files, hide data, and clean folders via raw text commands.

31. dir
The Blueprint Explained Simply: Lists every file and folder inside your current directory. It is the text equivalent of opening a folder in File Explorer.

32. cd Folder_Name
The Blueprint Explained Simply: Change Directory. Moves you inside a specific folder.

33. cd ..
The Blueprint Explained Simply: Steps you back out of a folder, moving you exactly one level up in your file tree.

34. mkdir SecretFolder
The Blueprint Explained Simply: Make Directory. Instantly creates a brand new folder named "SecretFolder" at your current location without right-clicking.

35. attrib +h +s +r MyPrivateFolder
The Blueprint Explained Simply: The ultimate privacy hack. This hides a folder completely and turns it into a protected system file. Even if someone selects "Show hidden files" in Windows, this folder will remain completely invisible until you manually unhide it.

36. attrib -h -s -r MyPrivateFolder
The Blueprint Explained Simply: The key to code 35. This strips away the secret flags and brings your hidden folder back to normal view.

37. del /f /q File_Name
The Blueprint Explained Simply: Forcefully and quietly deletes a file, completely bypassing the Windows confirmation prompts and the Recycle Bin.

38. ren oldname.txt newname.txt
The Blueprint Explained Simply: Instantly renames a file from the terminal window.

39. tree
The Blueprint Explained Simply: Generates a beautiful, visual flowchart mapping out every single folder and sub-folder branch inside your current directory.

40. robocopy C:\Source D:\Backup /mir
The Blueprint Explained Simply: Robust Copy. This creates a perfect mirror backup of a folder. If the process gets interrupted because your battery dies or a power cut hits, it remembers exactly where it stopped and resumes perfectly next time.


PART 5: POWERSHELL SUPERPOWERS (Next-Gen Automation Hacking)
PowerShell is advanced. These cmdlets let you run modern commands that normal CMD cannot touch.

41. winget upgrade --all
The Blueprint Explained Simply: The ultimate lazy man's code. This scans every single software application installed on your PC (Chrome, VLC, Zoom, etc.), checks for the newest updates online, and downloads/installs them all automatically in the background while you drink water.

42. Get-Process | Sort-Object CPU -Descending | Select-Object -First 5
The Blueprint Explained Simply: Instantly targets and lists the top 5 heaviest programs currently sucking up your processor power. Perfect for tracking down what is making your laptop fan spin like a generator.

43. Get-Service | Where-Object {$_.Status -eq "Running"}
The Blueprint Explained Simply: Displays an organized sheet of every single background system service actively running on your laptop right now.

44. Stop-Service -Name "Service_Name" -Force
The Blueprint Explained Simply: Forcefully shuts down a core background system service that is causing lag or software conflicts.

45. Clear-RecycleBin -Force
The Blueprint Explained Simply: Instantly empties your laptop's recycle bin cleanly, freeing up space without opening a single desktop icon.

46. Get-Content log.txt -Wait
The Blueprint Explained Simply: Streams a text file live on your terminal screen. Anytime another application adds a new line of text to that file, it updates right before your eyes in real-time.

47. Get-FileHash C:\Download\app.exe -Algorithm SHA256
The Blueprint Explained Simply: Calculates the digital fingerprint of a file. If you are downloading security tools or apps from unofficial sites in Nigeria, you can compare this fingerprint to the official website's hash to ensure no one has injected a virus or keylogger into your file.

48. Invoke-WebRequest -Uri "https://site.com/file.zip" -OutFile "C:\file.zip"
The Blueprint Explained Simply: Downloads any file directly from the internet via terminal text. Bypasses your browser entirely, making the download highly stable on patchy connections.

49. Get-ExecutionPolicy
The Blueprint Explained Simply: Displays your computer's current safety restriction level regarding running custom scripts or automation files.

50. Set-ExecutionPolicy RemoteSigned
The Blueprint Explained Simply: Adjusts your system's security clearances, allowing you to create and run your own custom automated PowerShell script tools safely.

The Orisirisi
To use these codes, click your Windows Start Button, type CMD or PowerShell, right-click on it, and select Run as Administrator. Running as administrator gives the terminal full permission to look inside the hardware and fix deep system blocks!

Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by chatinent(op):
I wrote a very simple way to build your first webpage without having prior skills as a programmer. Check it out: https://www.nairaland.com/8694452/how-build-website-novice-laptop#139773466

And I wrote how to track a phone number here:
https://www.nairaland.com/8694465/how-track-phone-number-nigeria

And I wrote about the confusing windows spec and deep hacks and what they mean: https://www.nairaland.com/8694433/what-those-confusing-windows-laptop
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by itzzkhaliii(m): 6:09pm On Jun 20
Na here we they, weldone man for compiling all this important codes
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by peteofi(m): 6:09pm On Jun 20
Nice. Will need this soon. Thanks
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by Denalarian: 6:09pm On Jun 20
Good work.. computer village has caused buyers to question their mental health after purchasing some hardwares
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by Vicotex(m): 6:13pm On Jun 20
Use linux and be free from this malware called Windows.

I've been Daily driving my Linux PC since 2017 with no regrets.

One of the best decisions I've made in my life
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by spartanian(m): 6:18pm On Jun 20
In this era of Copilot (AI), you can only memorize and remember little of these.
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by CodeTemplar: 6:45pm On Jun 20
Copy n paste writer. Is orbit server your toy?
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by Stephen0mozzy: 7:10pm On Jun 20
Well done. These are nice to see.
Make man bookmark this for future reference and curiosity
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by nosaklint: 7:27pm On Jun 20
Welldone, this is so informative. Kudos to the op.

Let me get my VM to practice these new codes.
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by DeltaBachelor(m): 7:28pm On Jun 20
A very good one. Thanks Op. Added to my reading list
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by hegelian: 7:30pm On Jun 20
this is good





more characters needed
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by TheStoriesOfMan: 7:30pm On Jun 20
Nice job..

If you want to delve into cybersecurity in the future do not use Windows. Use Linux and everything will go very smooth.

You can change so many details in Linux, not in Windows. You can jailbreak etc

It like trying to use a huge hammer to break a large impenetrable steel ball.
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by iLoveYouToo(m): 7:32pm On Jun 20
Secret? Dey play. Most of these are regular stuff
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by paranorman(m): 7:38pm On Jun 20
Nice one bro. Appreciate it.
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by Lifeless101: 7:43pm On Jun 20
You did a wonderful work, Man
Kudos
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by professorPABX: 7:53pm On Jun 20
chatinent:
I wrote a very simple way to build your first webpage without having prior skills as a programmer. Check it out: https://www.nairaland.com/8694452/how-build-website-novice-laptop#139773466

And I wrote how to track a phone number here:
https://www.nairaland.com/8694465/how-track-phone-number-nigeria

And I wrote about the confusing windows spec and deep hacks and what they mean: https://www.nairaland.com/8694433/what-those-confusing-windows-laptop
God will support, sustain and surprise you on every side.

This information will help thousands of people especially the youths. It is very informative and educative. This is the kind of information Nigerian youths needs.
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by usibengate(m): 8:09pm On Jun 20
Nice one good for future reference.
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by chatinent(op): 8:13pm On Jun 20
Thanks. God works through humans too.
professorPABX:
God will support, sustain and surprise you on every side.

This information will help thousands of people especially the youths. It is very informative and educative. This is the kind of information Nigerian youths needs.
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by Vifx: 8:34pm On Jun 20
I've been using Linux for many years now, windows is too bloated and too full of bugs abd unreliable for me.
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by CzarChris(m): 8:53pm On Jun 20
chatinent:
(c) chatinent

50 Secret Terminal Codes Every Nigerian Windows User Needs to Master (Nairaland Tech Blueprint)

Hi friends,
I'm gonna be teaching you how to learn sth that will metamorphose into valuable skills.
Who knows?? If you master how to use the Terminal, you may learn how to build your own websites soon enough with your PC being the server before you even deploy. Don't mind my jargons...

But let's focus on today's teaching..

Most people in Nigeria treat the Windows Command Prompt (CMD) or PowerShell like something meant only for Hollywood hackers or programmers. But if you are running a business, freelancing, or dealing with typical Nigerian tech issues like slow networks, fake hard drives, and sudden power cuts, the terminal is your ultimate weapon.

You can do literally anything with your Command Prompt or Terminal in your PC.

Instead of paying a repair guy in St Michaels Aba thousands of Naira to fix simple software issues, or struggling with slow UIs, you can use these 50 raw terminal codes to force your laptop to do exactly what you want.

I know you are seeing this is premium knowledge already!

Here is the complete, breakdown-by-breakdown guide formatted perfectly for your notes. Bookmark this page immediately!

Use the knowledge positively always.


PART 1: NETWORK & DATA-SAVING HACKS (Defeat Bad Network & Glo/MTN Throttle)

These codes help you bypass network glitches, check if your Wi-Fi is being tapped, and optimize poor connections.

1. ipconfig /flushdns
The Blueprint Explained Simply: Think of this as clearing the brain memory of your network card. When a website refuses to load even though you have active data, your laptop is likely holding onto a stale, broken network map. Running this forces your system to ask the network for a fresh connection route instantly.

2. netsh wlan show profiles
The Blueprint Explained Simply: This lists every single Wi-Fi network and password profile your laptop has ever connected to in its life. Perfect for when you forgot the password to a friend's MiFi or office router but your laptop remembers it.

3. netsh wlan show profile name="WiFi_Name" key=clear
The Blueprint Explained Simply: The direct follow-up to code 2. Replace "WiFi_Name" with the network name, and Windows will print out the exact password in plain text right on your screen. No software required.

4. ping google.com -t
The Blueprint Explained Simply: This continuously sends tiny packets of data to Google to check your internet stability. If you are doing a Zoom call or heavy upload and it keeps cutting, look at this terminal screen. If you see "Request timed out," you know your network provider is failing you.

5. netstat -an
The Blueprint Explained Simply: This displays a live list of every single port and IP address currently talking to your computer. If your data bundle is draining mysteriously fast while your browser is closed, run this to see if hidden background apps or malware are secretly streaming data out of your machine.

6. tracert nairaland.com
The Blueprint Explained Simply: This maps out every single router, server, and underwater cable station your connection jumps through to reach a website. If a site is loading slow, this shows you exactly which server along the pipeline is bottlenecking your data.

7. getmac
The Blueprint Explained Simply: Pulls the physical hardware MAC address of your laptop. If you are configuring your home router to block neighbors from stealing your Wi-Fi, you need this code to whitelist your specific machine.

8. arp -a
The Blueprint Explained Simply: Shows all devices currently sharing the local network with you. If you suspect someone in your yard is secretly hooked up to your personal hotspot, this code lists their hardware IDs.

9. nslookup netflix.com
The Blueprint Explained Simply: Queries the DNS server directly to verify if a website's IP address matches reality. Great for identifying if your internet provider is redirecting or blocking a site you are trying to access.

10. pathping google.com
The Blueprint Explained Simply: A deep network diagnostic that tracks your connection path for several minutes, calculating packet loss at every single step. It tells you exactly where your signal is dropping.


PART 2: COMPUTER VILLAGE DEFENSE Codes (Exposing Fake Specs & Faulty Hardware)
Use these codes when buying a "UK-Used" or "Belgian" laptop to check if the components inside are genuine or dying.

11. powercfg /batteryreport
The Blueprint Explained Simply: Generates a hidden health document for your battery. It compares what the battery held when it left the factory versus what it can hold today. If a seller tells you "Battery lasts 5 hours" but the report shows the capacity has dropped by 70%, run away!

12. wmic cpu get name
The Blueprint Explained Simply: Asks the motherboard directly what processor is installed. Since scammers can edit the Windows "About My PC" screen to make a Celeron look like an i7, this code bypasses the trick by reading the hardware firmware directly.

13. wmic diskdrive get model,size,status
The Blueprint Explained Simply: Pulls the factory model and health status of your storage drive. If a seller stuck a cheap, failing, second-hand hard drive inside a clean laptop body, this code will flag the status as "Bad" or "Pred Fail" instead of "OK."

14. wmic memorychip get speed, capacity
The Blueprint Explained Simply: Displays the exact size and physical speed of every RAM stick slotted inside the laptop. Essential for confirming if you are actually getting the high-speed DDR4 or DDR5 RAM you paid for.

15. wmic bios get serialnumber
The Blueprint Explained Simply: Extracts the un-editable hardware serial number embedded on the motherboard. You can type this number into the official HP or Dell website to verify the exact day the laptop was manufactured and if it is stolen or refurbished.

16. systeminfo
The Blueprint Explained Simply: Dumps a massive list of everything about your system—including the exact day Windows was installed, your BIOS version, and your system model.

17. driverquery
The Blueprint Explained Simply: Lists every single hardware driver running on your PC. If your web camera, bluetooth, or keyboard is acting strange, this code shows you if the driver is active or broken.

18. dxdiag
The Blueprint Explained Simply: Opens the DirectX Diagnostic tool in a flash. This is the absolute best way to check your exact graphics card specifications and VRAM size before buying a laptop for gaming or video editing.

19. msinfo32
The Blueprint Explained Simply: Launches a massive system information dashboard that shows your hardware resources, components, and software environment in extreme detail.

20. powercfg /energy
The Blueprint Explained Simply: Monitors your laptop for 60 seconds of normal use, then builds a file detailing every single app, bug, or setting that is abnormally draining your battery.


PART 3: ADVANCED PERFORMANCE & FIXES (Save Money on Repairs)
When your system is lagging, hanging, or throwing errors, run these codes to repair the OS yourself.

21. sfc /scannow
The Blueprint Explained Simply: System File Checker. It scans every single core file in your Windows operating system against an official blueprint. If a virus or bad shutdown corrupted something, it fixes it automatically.

22. DISM /Online /Cleanup-Image /RestoreHealth
The Blueprint Explained Simply: If sfc /scannow fails because the corruption is too deep, this code connects directly to the official cloud servers to pull down brand-new, clean system files to rebuild your OS.

23. chkdsk /f /r
The Blueprint Explained Simply: Check Disk. It locks your storage drive, scans every single sector for physical or logical errors, fixes them, and safely recovers any readable data from dying parts of the drive.

24. tasklist
The Blueprint Explained Simply: Displays a live text stream of every program running on your laptop, along with their unique Process ID (PID) numbers. Great for spotting hidden apps that are slowing your PC down.

25. taskkill /F /PID [number]
The Blueprint Explained Simply: If an app (like Chrome or a heavy game) freezes completely and refuses to close when you click the "X" button, look up its PID number using code 24 and run this to kill it instantly.

26. gpupdate /force
The Blueprint Explained Simply: Forces Windows to instantly refresh all security and operational system rules. Useful if you tweaked a deep setting and don't want to waste time restarting your computer for it to take effect.

27. cleanmgr
The Blueprint Explained Simply: Opens the advanced Disk Cleanup utility directly. It cleans out deep, hidden system caches, old update leftovers, and junk files that are hogging gigabytes of storage space.

28. defrag C: /O
The Blueprint Explained Simply: Optimizes your main hard drive. If you use a regular HDD, it rearranges scattered data files so they load faster. If you use a modern SSD, it runs a command called TRIM to keep the drive healthy.

29. sc query
The Blueprint Explained Simply: Pulls up a list of every single background system service. You can use this to spot weird, unrecognized services that might be spyware running silently.

30. shutdown /r /t 0
The Blueprint Explained Simply: Forces your laptop to restart immediately with zero lag or delay. The /t 0 sets the countdown timer to exactly zero seconds.


PART 4: STORAGE & FILE MANAGEMENT (The Command Center Control)
Navigate your laptop like a pro. These allow you to manipulate files, hide data, and clean folders via raw text commands.

31. dir
The Blueprint Explained Simply: Lists every file and folder inside your current directory. It is the text equivalent of opening a folder in File Explorer.

32. cd Folder_Name
The Blueprint Explained Simply: Change Directory. Moves you inside a specific folder.

33. cd ..
The Blueprint Explained Simply: Steps you back out of a folder, moving you exactly one level up in your file tree.

34. mkdir SecretFolder
The Blueprint Explained Simply: Make Directory. Instantly creates a brand new folder named "SecretFolder" at your current location without right-clicking.

35. attrib +h +s +r MyPrivateFolder
The Blueprint Explained Simply: The ultimate privacy hack. This hides a folder completely and turns it into a protected system file. Even if someone selects "Show hidden files" in Windows, this folder will remain completely invisible until you manually unhide it.

36. attrib -h -s -r MyPrivateFolder
The Blueprint Explained Simply: The key to code 35. This strips away the secret flags and brings your hidden folder back to normal view.

37. del /f /q File_Name
The Blueprint Explained Simply: Forcefully and quietly deletes a file, completely bypassing the Windows confirmation prompts and the Recycle Bin.

38. ren oldname.txt newname.txt
The Blueprint Explained Simply: Instantly renames a file from the terminal window.

39. tree
The Blueprint Explained Simply: Generates a beautiful, visual flowchart mapping out every single folder and sub-folder branch inside your current directory.

40. robocopy C:\Source D:\Backup /mir
The Blueprint Explained Simply: Robust Copy. This creates a perfect mirror backup of a folder. If the process gets interrupted because your battery dies or a power cut hits, it remembers exactly where it stopped and resumes perfectly next time.


PART 5: POWERSHELL SUPERPOWERS (Next-Gen Automation Hacking)
PowerShell is advanced. These cmdlets let you run modern commands that normal CMD cannot touch.

41. winget upgrade --all
The Blueprint Explained Simply: The ultimate lazy man's code. This scans every single software application installed on your PC (Chrome, VLC, Zoom, etc.), checks for the newest updates online, and downloads/installs them all automatically in the background while you drink water.

42. Get-Process | Sort-Object CPU -Descending | Select-Object -First 5
The Blueprint Explained Simply: Instantly targets and lists the top 5 heaviest programs currently sucking up your processor power. Perfect for tracking down what is making your laptop fan spin like a generator.

43. Get-Service | Where-Object {$_.Status -eq "Running"}
The Blueprint Explained Simply: Displays an organized sheet of every single background system service actively running on your laptop right now.

44. Stop-Service -Name "Service_Name" -Force
The Blueprint Explained Simply: Forcefully shuts down a core background system service that is causing lag or software conflicts.

45. Clear-RecycleBin -Force
The Blueprint Explained Simply: Instantly empties your laptop's recycle bin cleanly, freeing up space without opening a single desktop icon.

46. Get-Content log.txt -Wait
The Blueprint Explained Simply: Streams a text file live on your terminal screen. Anytime another application adds a new line of text to that file, it updates right before your eyes in real-time.

47. Get-FileHash C:\Download\app.exe -Algorithm SHA256
The Blueprint Explained Simply: Calculates the digital fingerprint of a file. If you are downloading security tools or apps from unofficial sites in Nigeria, you can compare this fingerprint to the official website's hash to ensure no one has injected a virus or keylogger into your file.

48. Invoke-WebRequest -Uri "https://site.com/file.zip" -OutFile "C:\file.zip"
The Blueprint Explained Simply: Downloads any file directly from the internet via terminal text. Bypasses your browser entirely, making the download highly stable on patchy connections.

49. Get-ExecutionPolicy
The Blueprint Explained Simply: Displays your computer's current safety restriction level regarding running custom scripts or automation files.

50. Set-ExecutionPolicy RemoteSigned
The Blueprint Explained Simply: Adjusts your system's security clearances, allowing you to create and run your own custom automated PowerShell script tools safely.

The Orisirisi
To use these codes, click your Windows Start Button, type CMD or PowerShell, right-click on it, and select Run as Administrator. Running as administrator gives the terminal full permission to look inside the hardware and fix deep system blocks!
This is some good information, I know I'll definitely need it soon.
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by ScienceBacked: 8:58pm On Jun 20
Must be a grand pa. This is not rocket science. Help the youths ke??
professorPABX:
God will support, sustain and surprise you on every side.

This information will help thousands of people especially the youths. It is very informative and educative. This is the kind of information Nigerian youths needs.
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by DOD1: 9:10pm On Jun 20
chatinent:
(c) chatinent

50 Secret Terminal Codes Every Nigerian Windows User Needs to Master (Nairaland Tech Blueprint)

Hi friends,
I'm gonna be teaching you how to learn sth that will metamorphose into valuable skills.
Who knows?? If you master how to use the Terminal, you may learn how to build your own websites soon enough with your PC being the server before you even deploy. Don't mind my jargons...

But let's focus on today's teaching..

Most people in Nigeria treat the Windows Command Prompt (CMD) or PowerShell like something meant only for Hollywood hackers or programmers. But if you are running a business, freelancing, or dealing with typical Nigerian tech issues like slow networks, fake hard drives, and sudden power cuts, the terminal is your ultimate weapon.

You can do literally anything with your Command Prompt or Terminal in your PC.

Instead of paying a repair guy in St Michaels Aba thousands of Naira to fix simple software issues, or struggling with slow UIs, you can use these 50 raw terminal codes to force your laptop to do exactly what you want.

I know you are seeing this is premium knowledge already!

Here is the complete, breakdown-by-breakdown guide formatted perfectly for your notes. Bookmark this page immediately!

Use the knowledge positively always.


PART 1: NETWORK & DATA-SAVING HACKS (Defeat Bad Network & Glo/MTN Throttle)

These codes help you bypass network glitches, check if your Wi-Fi is being tapped, and optimize poor connections.

1. ipconfig /flushdns
The Blueprint Explained Simply: Think of this as clearing the brain memory of your network card. When a website refuses to load even though you have active data, your laptop is likely holding onto a stale, broken network map. Running this forces your system to ask the network for a fresh connection route instantly.

2. netsh wlan show profiles
The Blueprint Explained Simply: This lists every single Wi-Fi network and password profile your laptop has ever connected to in its life. Perfect for when you forgot the password to a friend's MiFi or office router but your laptop remembers it.

3. netsh wlan show profile name="WiFi_Name" key=clear
The Blueprint Explained Simply: The direct follow-up to code 2. Replace "WiFi_Name" with the network name, and Windows will print out the exact password in plain text right on your screen. No software required.

4. ping google.com -t
The Blueprint Explained Simply: This continuously sends tiny packets of data to Google to check your internet stability. If you are doing a Zoom call or heavy upload and it keeps cutting, look at this terminal screen. If you see "Request timed out," you know your network provider is failing you.

5. netstat -an
The Blueprint Explained Simply: This displays a live list of every single port and IP address currently talking to your computer. If your data bundle is draining mysteriously fast while your browser is closed, run this to see if hidden background apps or malware are secretly streaming data out of your machine.

6. tracert nairaland.com
The Blueprint Explained Simply: This maps out every single router, server, and underwater cable station your connection jumps through to reach a website. If a site is loading slow, this shows you exactly which server along the pipeline is bottlenecking your data.

7. getmac
The Blueprint Explained Simply: Pulls the physical hardware MAC address of your laptop. If you are configuring your home router to block neighbors from stealing your Wi-Fi, you need this code to whitelist your specific machine.

8. arp -a
The Blueprint Explained Simply: Shows all devices currently sharing the local network with you. If you suspect someone in your yard is secretly hooked up to your personal hotspot, this code lists their hardware IDs.

9. nslookup netflix.com
The Blueprint Explained Simply: Queries the DNS server directly to verify if a website's IP address matches reality. Great for identifying if your internet provider is redirecting or blocking a site you are trying to access.

10. pathping google.com
The Blueprint Explained Simply: A deep network diagnostic that tracks your connection path for several minutes, calculating packet loss at every single step. It tells you exactly where your signal is dropping.


PART 2: COMPUTER VILLAGE DEFENSE Codes (Exposing Fake Specs & Faulty Hardware)
Use these codes when buying a "UK-Used" or "Belgian" laptop to check if the components inside are genuine or dying.

11. powercfg /batteryreport
The Blueprint Explained Simply: Generates a hidden health document for your battery. It compares what the battery held when it left the factory versus what it can hold today. If a seller tells you "Battery lasts 5 hours" but the report shows the capacity has dropped by 70%, run away!

12. wmic cpu get name
The Blueprint Explained Simply: Asks the motherboard directly what processor is installed. Since scammers can edit the Windows "About My PC" screen to make a Celeron look like an i7, this code bypasses the trick by reading the hardware firmware directly.

13. wmic diskdrive get model,size,status
The Blueprint Explained Simply: Pulls the factory model and health status of your storage drive. If a seller stuck a cheap, failing, second-hand hard drive inside a clean laptop body, this code will flag the status as "Bad" or "Pred Fail" instead of "OK."

14. wmic memorychip get speed, capacity
The Blueprint Explained Simply: Displays the exact size and physical speed of every RAM stick slotted inside the laptop. Essential for confirming if you are actually getting the high-speed DDR4 or DDR5 RAM you paid for.

15. wmic bios get serialnumber
The Blueprint Explained Simply: Extracts the un-editable hardware serial number embedded on the motherboard. You can type this number into the official HP or Dell website to verify the exact day the laptop was manufactured and if it is stolen or refurbished.

16. systeminfo
The Blueprint Explained Simply: Dumps a massive list of everything about your system—including the exact day Windows was installed, your BIOS version, and your system model.

17. driverquery
The Blueprint Explained Simply: Lists every single hardware driver running on your PC. If your web camera, bluetooth, or keyboard is acting strange, this code shows you if the driver is active or broken.

18. dxdiag
The Blueprint Explained Simply: Opens the DirectX Diagnostic tool in a flash. This is the absolute best way to check your exact graphics card specifications and VRAM size before buying a laptop for gaming or video editing.

19. msinfo32
The Blueprint Explained Simply: Launches a massive system information dashboard that shows your hardware resources, components, and software environment in extreme detail.

20. powercfg /energy
The Blueprint Explained Simply: Monitors your laptop for 60 seconds of normal use, then builds a file detailing every single app, bug, or setting that is abnormally draining your battery.


PART 3: ADVANCED PERFORMANCE & FIXES (Save Money on Repairs)
When your system is lagging, hanging, or throwing errors, run these codes to repair the OS yourself.

21. sfc /scannow
The Blueprint Explained Simply: System File Checker. It scans every single core file in your Windows operating system against an official blueprint. If a virus or bad shutdown corrupted something, it fixes it automatically.

22. DISM /Online /Cleanup-Image /RestoreHealth
The Blueprint Explained Simply: If sfc /scannow fails because the corruption is too deep, this code connects directly to the official cloud servers to pull down brand-new, clean system files to rebuild your OS.

23. chkdsk /f /r
The Blueprint Explained Simply: Check Disk. It locks your storage drive, scans every single sector for physical or logical errors, fixes them, and safely recovers any readable data from dying parts of the drive.

24. tasklist
The Blueprint Explained Simply: Displays a live text stream of every program running on your laptop, along with their unique Process ID (PID) numbers. Great for spotting hidden apps that are slowing your PC down.

25. taskkill /F /PID [number]
The Blueprint Explained Simply: If an app (like Chrome or a heavy game) freezes completely and refuses to close when you click the "X" button, look up its PID number using code 24 and run this to kill it instantly.

26. gpupdate /force
The Blueprint Explained Simply: Forces Windows to instantly refresh all security and operational system rules. Useful if you tweaked a deep setting and don't want to waste time restarting your computer for it to take effect.

27. cleanmgr
The Blueprint Explained Simply: Opens the advanced Disk Cleanup utility directly. It cleans out deep, hidden system caches, old update leftovers, and junk files that are hogging gigabytes of storage space.

28. defrag C: /O
The Blueprint Explained Simply: Optimizes your main hard drive. If you use a regular HDD, it rearranges scattered data files so they load faster. If you use a modern SSD, it runs a command called TRIM to keep the drive healthy.

29. sc query
The Blueprint Explained Simply: Pulls up a list of every single background system service. You can use this to spot weird, unrecognized services that might be spyware running silently.

30. shutdown /r /t 0
The Blueprint Explained Simply: Forces your laptop to restart immediately with zero lag or delay. The /t 0 sets the countdown timer to exactly zero seconds.


PART 4: STORAGE & FILE MANAGEMENT (The Command Center Control)
Navigate your laptop like a pro. These allow you to manipulate files, hide data, and clean folders via raw text commands.

31. dir
The Blueprint Explained Simply: Lists every file and folder inside your current directory. It is the text equivalent of opening a folder in File Explorer.

32. cd Folder_Name
The Blueprint Explained Simply: Change Directory. Moves you inside a specific folder.

33. cd ..
The Blueprint Explained Simply: Steps you back out of a folder, moving you exactly one level up in your file tree.

34. mkdir SecretFolder
The Blueprint Explained Simply: Make Directory. Instantly creates a brand new folder named "SecretFolder" at your current location without right-clicking.

35. attrib +h +s +r MyPrivateFolder
The Blueprint Explained Simply: The ultimate privacy hack. This hides a folder completely and turns it into a protected system file. Even if someone selects "Show hidden files" in Windows, this folder will remain completely invisible until you manually unhide it.

36. attrib -h -s -r MyPrivateFolder
The Blueprint Explained Simply: The key to code 35. This strips away the secret flags and brings your hidden folder back to normal view.

37. del /f /q File_Name
The Blueprint Explained Simply: Forcefully and quietly deletes a file, completely bypassing the Windows confirmation prompts and the Recycle Bin.

38. ren oldname.txt newname.txt
The Blueprint Explained Simply: Instantly renames a file from the terminal window.

39. tree
The Blueprint Explained Simply: Generates a beautiful, visual flowchart mapping out every single folder and sub-folder branch inside your current directory.

40. robocopy C:\Source D:\Backup /mir
The Blueprint Explained Simply: Robust Copy. This creates a perfect mirror backup of a folder. If the process gets interrupted because your battery dies or a power cut hits, it remembers exactly where it stopped and resumes perfectly next time.


PART 5: POWERSHELL SUPERPOWERS (Next-Gen Automation Hacking)
PowerShell is advanced. These cmdlets let you run modern commands that normal CMD cannot touch.

41. winget upgrade --all
The Blueprint Explained Simply: The ultimate lazy man's code. This scans every single software application installed on your PC (Chrome, VLC, Zoom, etc.), checks for the newest updates online, and downloads/installs them all automatically in the background while you drink water.

42. Get-Process | Sort-Object CPU -Descending | Select-Object -First 5
The Blueprint Explained Simply: Instantly targets and lists the top 5 heaviest programs currently sucking up your processor power. Perfect for tracking down what is making your laptop fan spin like a generator.

43. Get-Service | Where-Object {$_.Status -eq "Running"}
The Blueprint Explained Simply: Displays an organized sheet of every single background system service actively running on your laptop right now.

44. Stop-Service -Name "Service_Name" -Force
The Blueprint Explained Simply: Forcefully shuts down a core background system service that is causing lag or software conflicts.

45. Clear-RecycleBin -Force
The Blueprint Explained Simply: Instantly empties your laptop's recycle bin cleanly, freeing up space without opening a single desktop icon.

46. Get-Content log.txt -Wait
The Blueprint Explained Simply: Streams a text file live on your terminal screen. Anytime another application adds a new line of text to that file, it updates right before your eyes in real-time.

47. Get-FileHash C:\Download\app.exe -Algorithm SHA256
The Blueprint Explained Simply: Calculates the digital fingerprint of a file. If you are downloading security tools or apps from unofficial sites in Nigeria, you can compare this fingerprint to the official website's hash to ensure no one has injected a virus or keylogger into your file.

48. Invoke-WebRequest -Uri "https://site.com/file.zip" -OutFile "C:\file.zip"
The Blueprint Explained Simply: Downloads any file directly from the internet via terminal text. Bypasses your browser entirely, making the download highly stable on patchy connections.

49. Get-ExecutionPolicy
The Blueprint Explained Simply: Displays your computer's current safety restriction level regarding running custom scripts or automation files.

50. Set-ExecutionPolicy RemoteSigned
The Blueprint Explained Simply: Adjusts your system's security clearances, allowing you to create and run your own custom automated PowerShell script tools safely.

The Orisirisi
To use these codes, click your Windows Start Button, type CMD or PowerShell, right-click on it, and select Run as Administrator. Running as administrator gives the terminal full permission to look inside the hardware and fix deep system blocks!
A lot of people will find this very useful
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by femi4: 9:18pm On Jun 20
Everything dey youtube and AI

No secret anywhere
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by professore(m): 9:18pm On Jun 20
Okay okay okay okay okay
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by itumafriday(m): 11:05pm On Jun 20
I no understand anything on this writeup
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by DeOTR: 11:32pm On Jun 20
Vifx:
I've been using Linux for many years now, windows is too bloated and too full of bugs abd unreliable for me.
Some of us use the two OS on the same laptop. Make una rest.
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by Emeskhalifa(m): 5:55am
Thank you so much for putting this out.

All those Emeka and co in computer village won't like this sha
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by Dareal90s(m): 6:07am
Who still use Windows in 2026? Where Linux dey with various distros to choose from, Fedora is what I use and I am fulfilled.
Re: 50 Secret Terminal Codes Every Nigerian Windows User Needs To Master by ashawopikin(m): 7:10am
Its Chatinent on the beat
1 2 Reply

Social Bundle Data Plan Codes For All NetworksNeeds To Scan Something? Here's A Mouse.15 CMD Commands Every Windows User Should Know234

GLOBAL SIM CARDHow To Unlock Any Java Phone,easy WayCan't Access My Workgroup Computers

Viewing this topic: Olaoye1403(m), yusuf2(m), Omololupromise(m), mcjprof(m), oymnaija, Dogi1(m), Kate77sexy(f) and 17 guest(s)