Where once things had worked, a user had upgraded from a Microsoft Windows XP to Microsoft Windows 7 operating system. In doing so, the Webtrends Report Exporter that was prepackaged with a slightly older version of Webtrends failed to install. Once the installation issues seemed to iron out after much trial and error with permissions and with running as administrator on each of the various batch files that were calls from within other batch files, nothing worked. Until a quick search on the internet....
Continue reading ...

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 not the first to be faced with this situation, a quick Internet search found the command line....
Continue reading ...

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....
Continue reading ...

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....
Continue reading ...

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....
Continue reading ...

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....
Continue reading ...

wordpress-4

For one reason or another, your Wordpress site may get hacked. Code may be attached to various files throughout the site that could do a wide range of things including site redirection. There are many different types of hacks, however, there are several tools and commands that may prove useful for remediation. If these tools do not re-mediate, then these could serve as a basic framework for customization to fit the current need....
Continue reading ...

code

There was a need to delete log files that were older than a certain date from a folder on a Microsoft Windows based computer. This proved to be a difficult task to develop the proper command line that would accomplish this task. However there is a native Microsoft Windows command that does provide the necessary tools to delete files that are older than a certain date among other uses, FORFILES. FORFILES Selects a file (or set of files) and executes a command on that file, which is helpful for batch jobs....
Continue reading ...