Month: June 2014

Microsoft Windows 7 Hidden Modes

Microsoft has a little gem some have called “GodMode“, but there are actually 16 of them. These modes are easy to add to your computer. Simply create a folder and name them with a specific name. Setup GodMode From the desktop: Here is a list of the modes that you would use to replace the {xxxx-xxx-xxx-xxx} above: {ED7BA470-8E54-465E-825C-99712043E01C} {00C6D95F-329C-409a-81D7-C46C66EA7F33} {0142e4d0-fb7a-11dc-ba4a-000ffe7ab428}…

Read More »
Linux Logo

Use grep or awk to eliminate blank lines and comments

A configuration file, specifically, the /etc/samba/smb.conf file contains many lines of comments using both the simi-colon (“;“) and the hash (“#“) as well as many empty lines that are either blank or contain whitespace. Using grep to view the file without these lines is one way to do so. To write the correct command can be a bit more challenging….

Read More »
Linux Logo

Set the Envionrment Variable in CentOS through Best Practice

In the past, to make an environment variable perminant, I would append to the /etc/profile file the environment variable for JAVA_HOME for example and update the PATH. While this does work, it has recently come to my attention that a more appropriate and easier method exists which does not involve editing the /etc/profile file. For this example, the environment variable,…

Read More »