Linux

CentOS 7 Icebreaker – Everything you need to know to get started

There’s actually quite a bit of changes from CentOS 6 to CentOS 7, some new commands, packages and some new services. Some older packages have been discontinued and replaced with newer packages, as well as some packages introduced that make ...

Read More »

Recover Deleted Files With LSOF

Data on disk

Linux has a very lengthy list of powerful commands and tools, some are specific to certain distributions and thus, can’t be used on every server. One of my favorite commands would be lsof, which stands for List Open Files. It’s ...

Read More »

Setting Up Conky On Debian Linux

Conky Setup and configured on a Debian OS

What is Conky?.. Conky is a free, light-weight system monitor for X, that displays any information on your desktop. Conky is licensed under the GPL and runs on Linux and BSD. I stumbled upon Conky when I was setting up ...

Read More »

How to check if ETags are being served

We all know of the Apache ETag vulnerability, and if you don’t know how to fix it, it’s pretty quite simple — all you need to do is add: ETag None to your apache vhost configuration and restart apache. But ...

Read More »

DU vs. DF – Which Ones Right? Which To Trust?

du and df are both basic Linux commands that come pre-installed on every flavor of Linux (to the best of my knowledge). Snippet from the man page for du… NAME du — display disk usage statistics DESCRIPTION The du utility ...

Read More »

Customize Your Bash Prompt

Bash Prompt The bash prompt, when customized, can be more useful than most people think. The default one that comes with most distros is pretty ugly and boring. The default is… Which looks like this when you’re in the console: ...

Read More »

Bash Tips And Tricks (Part 1)

I have always thought of bash as a “Quick ‘n Dirty” way of taking care of things, it isn’t by any means a powerful language. It’s not meant for writing programs, not meant for creating games, not meant for much ...

Read More »

RHEL / CentOS: Safely remove old unused Kernels

I have ran into it before when you do a yum update, it prompts you telling you that there isn’t enough space free on the /boot partition. You have two options at this point, either increase the space the /boot ...

Read More »

RHEL5 / CentOS5: File Conflicts when Upgrading VMWare Tools with Yum

One of the issues that I have ran into is when you’re running VMWare virtual machines, and a new kernel comes out, it seems to break the vmware-tools upgrade processes. It was extremely frustrating, because you would go to update ...

Read More »

RHEL: Cannot retrieve repository metadata (repomd.xml) for repository

I’ve ran into this issue a few times where I currently work, and it was extremely frustrating trying to figure out why I was unable to update our systems via yum, and kept receiving this error. What we found for ...

Read More »