Month: February 2014

The yum grouplist command

The yum grouplist command can identify available package groups from the configured repositories. However, through a terminal window, the list is considerable when the language support is factored into the equation. For a Linux CentOS 6.4 x86_64 install, there are 206 package groups. Here are a few commands that may help. To determine the number of package groups that exist….

Read More »

Configure sftp with /home chroot

While there are many resources dedicated to this very configuration, it was difficult to make any one of them work. The current configuration is CentOS 6.5. Here is the script to get a fully-functional sFTP server with chroot using the /home directories.

Read More »

Linux List Partitions with fdisk

There are several commands that may be used to list the partitions of a Linux computer. Likely the most common one is the fdisk command. While it fdisk command is capable of just about anything, I am not always in the need to see all the information that listing the partitions provides, particularly when there are many partitions. So, I…

Read More »

Match empty lines and commented lines using grep

An example of a configuration file with many commented lines is /etc/sysctl.conf. If you wanted to display the contents of the file without the commented lines, the following command may be issued. However the resulting contents will be displayed with the remaining blank lines. To get around this one of a couple of commands may be issued. Source(s) http://stackoverflow.com/questions/18566169/match-empty-lines-in-a-file-grep http://stackoverflow.com/questions/3432555/remove-blank-lines-with-grep

Read More »
Virtualbox Logo

Use Your VPN Connection in a Linux CentOS VirtualBox Instance

Running Oracle’s VirtualBox on a Microsoft Windows 7 desktop to test applications and operating systems has proven to be very productive. As a result of a VPN connection using Citrix, a VirtualBox VM of CentOS 6.5 Linux could not connect to the remote network. After combing through the Internet, a solution is born. I know that there are many variables…

Read More »

Install Adobe Reader on CentOS 6.5

While perusing through the Internet, I found this site called iF !1 0 “If Not True then False“. I found this write-up on how to install Adobe Reader on one of many different flavors on Linux. I couldn’t pass up on this, since I was in the hunt for Adobe Reader. The process worked great, so here is my slight…

Read More »

The Easiest Method To Install Adobe Flash on CentOS/RHEL

This should be easy, install Adobe Flash on a Linux operating system to watch Youtube videos in Firefox. After an hour or so fighting with Adobe Flash, through every method I could find on the Internet, I finally found one that worked, the first time! There are many who write of downloading a compressed file and extracting the needed file…

Read More »