Month: December 2011

Windows command for file size only

I needed a list of files from a folder with only filesize. The first choice of commands was the DIR command, however, there is no command line switch or combination that will allow for this type of output. I didn’t want to have to install any third party application or Microsoft extras to get the desired result. Since, I am…

Read More »

How to synchronize the time with Windows Time service in Windows

Recently discovered that some servers were not reporting the correct time. I originally decided to use a freeware utility called tSync, an Internet and network time synchronization utility. While this little utility works great, I wanted something a little cleaner. Microsoft offers a couple of ways to resync the times. How to synchronize the time on a member computer in…

Read More »

Install and Run Beyond Compare 3 on Linux

Scooter Software has a fantastic program called Beyond Compare. It is available in both Windows and Linux. Having used this in Windows, I wanted to give it a shot in Linux. All the instructions are available on the vendor’s website; however, after reading through them, here is a simplified set of instructions. This was a fresh install of CentOS 5.7…

Read More »
Linux Logo

Command to Check if Linux is Running in VMware or not

Only having terminal access to a server running CentOS 5.7, I had to determine if the server was actually a physical or virtual machine. There are a few methods to do this, however, here are a couple of the easier methods. Vendor: VMware Model: Virtual disk Rev: 1.0 Vendor: VMware Model: Virtual disk Rev: 1.0 Vendor: VMware Model: Virtual disk…

Read More »

Linux: RedHat / CentOS Command to Check Version

To check for the version that CentOS and RedHat Enterprise Linux (“RHEL”) there are a couple of commands that are useful and will provide the desired results. CentOS release 5.7 (Final) CentOS release 5.7 (Final) Release: CentOS release 5.7 (Final) If lsb_release is not available then use yum install to install it. yum install redhat-lsb CentOS release 5.7 (Final) Kernel…

Read More »