Programming

Useful Windows Commands

  assoc Lists programs associated with file extensions
  assoc *.fileExtension Name of program associated with the *.fileExtension
  ipconfig Details about computers IP address
  ipconfig /release 
  ipconfig /renew
Force your Windows PC into asking for a new IP address
 ipconfig /flushdns Refresh your DNS address
 netstat -an Lists currently open ports and associated IP addresses
  ping IP
  ping hostname
  ping domain name
Sends test packets to an IP address, hostname or domain  to check connection
 pathping  IP Information about the route of test packets
 taskkill -im program.extn Force stop a process using program name
 taskkill -pid processid Force stop a process using process id. Use tasklist command or task manager to get process id
 help Lists available commands
 help commandname
 commandname /?
List available switches or options available for the command
 systeminfo Lists extensive information about the computer like hostname, processor, BIOS version
 hostname Displays hostname or computer name
 mstsc Launch the Microsoft remote desktop application
 onenote Launch Microsoft one note
 iexplore Launch Microsoft Internet Explorer
 chrome Launch Google Chrome
 explorer Launch file explorer
 explorer . Launch file explorer at the current path
 command | more Page by page output of a command dir | more
some command have an explicit switch for the same like dir /p
 shutdown Shutdown your computer
 tab Use tab to cycle through the folders when using “cd” command
 nslookup Check IP address of any website nslookup google.com
 && Execute Multiple Commands. “ipconfig && dir” to execute both commands one after another.
 start notepad myfile.txt Create, save and open file in notepad
 copy NUL emtyfile.txt
[or]
 type NUL > emptyfile.txt
Create and save empty file at the current directory

References:
1. http://www.makeuseof.com/tag/15-cmd-commands-every-windows-user-know/
2. https://beebom.com/command-prompt-tricks/

Advertisements

Be A Better Software Developer : Get Inspired From The Saints

Be InspiredTo become a better software developers, its of prime importance that we learn from the saints of software development and absorb the great knowledge they emit. These ‘Saints’ continuously acts as teachers and mentors and groom us to be better than what we were yesterday.

Over the course of my career as a Software Developer I have been immensely benefited and influenced by the experiences and thoughts expressed by these very nice people. I would like to immensely thank ‘Jeff Atwood’, ‘Joel Spolsky’, ‘Rands’ (not his real name), ‘Alan Skorkin’, ‘Dan Bergh Johnson’ for thier contributions towards the developer community.

The Knowledge from the “Saints” can be found at these blogs:

1. Coding Horror (Also check out the archives)

2. Joel On Software (Check out the posts in Reading list)

3. Rands In Repose

4. Skorks

5. Ux Design @ SmashingMagazine (good for UX & usability)

6. Letters To A Junior Programmer

7. The Daily WTF