DEV Community

KingEclipse
KingEclipse

Posted on

Some surprising weird and useful commands on the command line. (Windows and macOS)

#commandline #commands #programming #cool

Have you ever stumbled upon anything weird? Well then get ready for this. Here are some strange commands that actually work.

  1. "ntdy[dsf": as weird as it seems, this command is kind of similar to the node and vim command. Try it out for yourself!

  2. "command history": this is a very useful command, you can track down your history and previous commands you typed. (Note: this only shows some chunk of it).

3."netsh wlan show profile": ever forgotten your Wifi password now this one will surely help you if you are fascinated by computers or somewhat familiar with them you can always remember your password with no worries!!

  1. "shutdown": just too lazy to shutdown your computer well technology has got your back! With this command you can shutdown your computer anytime by just literally typing it!!

  2. "/?": want to find more information about these commands? Well try this one if you are keen onto learning and don't know a particular command well then just type: command/? and it will give you a good explanation!

  3. "telnet towel.blinkenlights.nl": now this may not work for all that's quite disappointing but is yet cool if you type this command well it'll show you star wars!! Well maybe in ASCII but still just as good. I'm not a star wars fan myself well then you should try this out!!

  4. "tyeuw[fdd": another strange one definitely, again the same functionality as the first one.

  5. "help color": still here? Good because this one is exciting! Getting bored of your old command UI well then let's add in some fun! If you type this command it'll give you a list of colors then simply type: color color_you_want ex: color 02 - which is green. Have a splash of fun!!

  6. "systeminfo": this one takes a while but is worth waiting for!! It just gives you system info practically the literal name of the command.

  7. "nslookup https://www.website.com": last but not least if you know what's a IP address and if you don't see this link: https://medium.com/@sadatnazrul/basics-of-ip-addresses-in-computer-networking-f1a4661ea85c#:~:text=Each%20device%20connected%20to%20the,Addresses%20are%20IPv4%20and%20IPv6. - pretty long but it's a good read. Anyways getting back to the point you can get the IP address of any website. Just type nslookup https://www.website.com and voila!!

There you have it folks top 10 cool commands!!

Top comments (1)

Collapse
 
kingeclipse profile image
KingEclipse

Which one's is your favourite? Comment down below!!