Remove the ^M from config files

Working in both Windows and Linux environments can from time to time create undesirable effects when modifying Linux configuration files on Windows boxes. After the edits and copying the file to the Linux box, a quick check of the file using the cat revealed nothing out of the ordinary.  However, the vim revealed the hidden ^M. I'm still not entirely...Read More »

Foxit Reader: Invert All Colors of Text

Foxit Reader is a fantastic alternative to Adobe Reader.  It is straightforward, not bloated, and offers functionality that I find useful.  Having used it as a replacement for several years from time to time there is something worth customizing.  The point of this article is one of those customizations, invert the text and background from black text and white background...Read More »

audit2allow error and explanation.

While troubleshooting some SELinux enforcement related issues using audit2allow, an ERROR message presented itself. After some research, a logical explanation was presented. The following error is an implication that there were no avc denials in the /var/log/uadit/audit.log and that the generated module was empty. That response was satisfactory and also correct for this situation. However, when running an all inclusive...Read More »

Add a new hard disk without rebooting in Linux

Having added a virtual hard drive to a virtual machine, the fdisk -cul command doesn't reveal any new drives.  There are a few ways to get Linux to recognize this new drive without having to reboot the computer. A tried and true method that I have used on many occasions is this approach.  The problem with this approach is that...Read More »

Lenovo T460s won’t boot from USB

A USB thumb drive which boots successfully on any number of other computers doesn't want to cooperate with the Lenovo Thinkpad T460s.  The T460s laptop simply refuses to boot to the USB drive. The resolution is remarkably simple. Boot the laptop to the BIOS and ensure the following two settings: Turn off secure boot Turn UEFI boot to both (meaning...Read More »
world

One way to compile xtables-addons without error

There seems to be some consistency on how to compile xtables-addons.  Notice I didn't suggest an agreement in the more popular approaches.  It seems that much of the approach is more of a copy and paste from one site to the next with some slight variation.  What generally isn't immediately obvious is the version of CentOS used or the version...Read More »

One way to check if USB or DVD is bootable

You may have put a lot of time creating that perfect ISO or even downloading one for use as a bootable USB or DVD.  As with many cool projects, you let this one go and moved on to something else.  Then the need to revisit that perfect ISO has returned and all those web pages you had opened are closed...Read More »

How to create a directory with permissions in Linux

The other day I was reading through some newsgroups on how to better automate a script.  Part of the script contained an interesting command that looked promising; however, could not get it work. This is the command. While it looks interesting, a quick execution of it created three directories, icinga:icinga, 0700, and mydirectory. This was not the desired effect. Looking...Read More »