I've been playing on an Ubuntu machine recently which was not set to automatically update.  The following commands will acquire the updates and install them.  First run:

    sudo apt-get update

    You will be prompted for an elevated account password which will then be followed by a list of sites, sources and packages scrolling up your screen.  At the end, you should see "Reading package lists... Done" at which point, run the following:


    In a previous post, I explained how to disable the Windows 7 firewall and leave it to Microsoft to change how an operation is performed.

    Like the previous post, there are times when I don't want the firewall in the way of troubleshooting a problem.  The following is how to disable it.

    From a Command Prompt run as the administrator, enter the following:


    I am frequently troubleshooting problems in a Windows Command Prompt.  There are some functions which can be tested at a very basic level.  For example, if I am unable to connect to a server via Windows Explorer, I might jump into a command prompt and try to ping the server. 

    ping [servername]


    Lots of applications for this simple command.  Yesterday, I was troubleshooting a SQL connection issue and even though I had enabled TCP/IP in protocols, I was still unable to make a connection.  As a sanity check, I ran a shortened version of the command below which showed me that 1433 was not open and ultimately brought me to the source of the problem. 

    Launch a Command Prompt as the administrator (right click, CMD, select Run As Administrator).

    Enter the following command:


    © 2020 sevenlayers.com