Skip to main content

Some Useful and Simple Cmd commands everybody must know

 



What gives you a feeling of power? -- Using your computer through a command shell! Throughout my journey as a Tech-Enthusiast, it has been a thing to know and work on the cmd shell on my windows device. Here I'm going to share some crazy, simple, and useful commands which you must know as a Techie and here we go...

Know your saved Wi-Fi password using Netsh

 If you have ever found stuck in a situation where you are unable to extract a password already saved on your device? Well here is your savior the netsh command, here is how can you use it:
  1. Start your command prompt by typing cmd in the search.
  2. Type "netsh wlan show profile" (This command will give you the list of all the profiles associated).
    Profile Viewing Image

  3. Now you need to type "netsh wlan show profile "profile_name" key =clear ".
  4. And now the key content displays the password of your selected wlan profile.
    Key content displaying password

  5. Run this command on your friends' devices and let them look at you with that awestruck gaze!
 Change color of your command prompt 

If you have watched one of those movies where a hacker does some smooth green colored coding and yoo-hoo the system is hacked and have some obsession with colors, you can change the color of your command prompt by simply typing:
  • "color help" (Ths shows you the codes of the available colors). 


  • Once you have decided what color to go with just type "color colorcode"
  • And here we go!

Set a cool name by using "prompt"

 The "prompt" command helps you set a cool username for your prompt. Just try it out by simply typing:

"help prompt": this command gives you access to all the special characters codes



and then type "prompt TheNameYouWant$G" and you get :




Hide your folders using "attrib"

 If you want to hide a super important folder from your computer so that no one could find them, this one is definitely for you :
  1. Open your terminal, and enter the directory where the folder is located.
  2. " attrib +h +s +r  folder_name" and yeah it is that simple, refresh, and it's gone!
  3. For accessing your hidden folder run the command "attrib -h -s -r  folder_name", you will find it right there!
 

Know your Network with "ipconfig"

 This command lets you know all your system's network configurations in one go :
  1. Open your terminal and type "ipconfig /all". That's it!

Know your device in detail with "systeminfo"

 This command lets you know all your system details all at a single place and saves a lot more time than would ever imagine:
  1. Open your terminal and type "systeminfo".
Bingooo! here you are good to go. 


If you have some more commands to share drop them down in the comment section :)!


Comments

Popular posts from this blog

Java & Spring Interview Questions: What Really Happens Under the Hood

  Java & Spring Interview Questions: What Really Happens Under the Hood There is a phase in every developer's career where you can use something without actually understanding what is happening underneath. You know how to use ConcurrentHashMap . You know what @Transactional does. You know that Spring injects dependencies. You know @SpringBootApplication starts your application. And then the interviewer asks: "Okay, but what actually happens internally?" Suddenly, knowing the syntax isn't enough. That is exactly what this blog is about. I'm going to break down some of the Java and Spring concepts that are frequently asked in interviews, but more importantly, I'll try to understand why they work the way they do . Let's start with one of my favourites. 1. ConcurrentHashMap in Java 8: What Actually Happens? Let's first establish the problem. A normal HashMap is not thread-safe. Imagine two threads doing this at the same time: map.put("A",...

Spring & Hibernate Interview Questions: What Really Happens Under the Hood?

  Spring & Hibernate Interview Questions: What Really Happens Under the Hood? After my previous blog on Java & Spring internals , one thing became pretty clear: Knowing the annotation is easy. Explaining what happens because of that annotation is where the real interview begins. You can write: @Transactional But do you know how Spring actually starts the transaction? You can add a Spring Boot dependency. But do you know why Spring suddenly creates a bunch of beans? You can modify a JPA entity without explicitly calling save() . But do you know why Hibernate still sends an UPDATE query? And here's the one I really like: Two users try to buy the last item in stock at exactly the same time. What happens? These are the kinds of questions that move an interview from "Do you know Spring?" to "Do you actually understand Spring?" So, let's go under the hood again. 🔹 Spring & Spring Boot 1. @Bean vs @Component — What's Actually Different? At firs...

The Lost Childhood

The lost childhood Hello everybody...Our lives have been quite clumsy, unusual and tiring but but but do you remember the time when our only tension was the pending homework?! Ofc you do remember...why not take a dive into what special we had back then TV shows Netflix and all is cool but do you remember when all you needed was Shaka laka BOOM BOOM pencil or Ben 10 Omnitrix. When you waited for whole week just for that one hour episode of M.A.D. When you internally wept when Ishan from Tare Zameen Par was sent to hostel and jumped out of joy when Aamir Khan entered singing Bam Bam Bole! Life right then was so simple ugh? Ohh did I not mention about Shinchan, Doraemon, Noddy, DBZ and on and on. I guess list wouldn't end any soon. Sharat! Uff. The Games we played You may have played PUBG, COD, Free Fire or Among Us in recent times right? But what about playing Pakdam Pakdai with your paltan Or Barafpani? Or just gathering together and playing Marbles and that game with one leg up (te...