IT-Tips

How to Display a Tree of Linux Processes

Everybody knows the benefit of having an overall idea and infrastructure connectivity of your own local network by looking at our own network diagram. In linux world, being aware and knowing what processes are currently running at all times is one good practice of managing your linux box. This practice involves monitoring of your memory [...]

How to Determine RedHat and Fedora release version

A quick blog post on how to determine your Fedora release name and its release version. For several years of staying and working under a company with multiple linux distributions and versions, multiple OS upgrades and server redundcancy backups makes it somehow confusing and difficult to differentiate which release name and version was a specific [...]

How to Linux Hardware Lister Tool – LsHw

Listing hardware in linux can be done quite difficult specially for new linux users. There are many way on how one can obtain hardware list from his PC. Here’s another alternative on listing out your hardware details from Fedora box. Lshw is a linux tool for listing out hardware details from your PC. Using this hardware [...]

How to Enable PortMap on Fedora 8

Looking for portmap rpm package in Fedora 8? How to recover and install portmap on Fedora 7 and Fedora 8? Have you lost or uninstalled your portmap package on Fedora 7/8? Does your NFS service handing due to deactivated portmap service? Are you experiencing weird start up problems with your NFS? What is Portmap? Portmap [...]

How to Determine Domain’s Expiration Date From Linux Terminal

Determining domain expiration is also part of an IT web-enabled infrastructure. There are a lot of window softwares that queries the internet for the domain’s expiration date. Here’s an easy way on how to display your domain’s expiration date using linux terminal command in a single shot. Check Domain Expiration Date # whois yourdomain.com The [...]

How to Display and List Out All Package Files Recently Installed

With a pending project at hand, system admin A installed mod_ssl, and after a while sysad A resigned and left. You take over and found out that mod_ssl was recently installed with a pending configuration job. The mod_ssl is just a new thing for you and your experience. But you need to continue a pending [...]

How to Check and Mark Bad Block Of Hard Disk

Now, here’s a quick blog entry on how to check your harddisk for possible bad blocks and mark them those badblocks along the way. What is e2fsck? e2fsck is used to check a Linux second extended file system (ext2fs). E2fsck also supports ext2 filesystems containing a journal, which are also sometimes known as ext3 filesystems, [...]

How to Create Vanishing Virtual Drive

You can work with your hard drives, network drives and other external or USB storage devices accomplishing critical linux hacks. Yes, technology nowadays have enabled us to make use of larger and more stable storage capacity drives and devices. Most firms and company services enjoy the benefits of having them as part of their IT [...]

How to Mount Windows Drive From Linux GUI

Are you searching for Network Neighborhood from your linux desktop? Have you been wondering how you can map a shared windows network drive from your linux desktop using GUI? Here’s another simple linux desktop howto on mapping shared windows folder from linux desktop. There are lots of way to achieve and map a shared windows [...]

How to Convert JPG Image Files to MPG Video Files

What is Kipi? Kipi (KDE Image Plugin Interface) is an effort to develop a common plugin structure for Digikam, KimDaBa, Showimg and Gwenview. Its aim is to share image plugins among graphic applications. Kipi is based on the old digiKam plugins implementation and is maintened by digiKam team. One binary that is part of installing [...]

How to Highlight Matching Grep Results in Linux

Here’s a quick entry on how to have a highlighted and colored text from grep resulting strings and characters. Assuming we have /var/log/maillog and we wish to grep it with multiple search strings. Well this would be faily simply # cat /var/log/secure | grep ‘Accept\|refuse’ What if we want to make resulting matching grep strings [...]

How to Strip Out First Word of Line from Text Files

This is a quick post on how to remove the first word of a line. There are lot of ways on how to remove and strip out the first word of a line from a text file. Here’s one way to achieve that. # cat testfile.txt ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ my blog name is sysad linux blog ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [...]

How to Find And Count JPG Files Recursively

I have been busy playing around with more than 100,000 images and JPG files from my hard drive and I just realized that I was issuing a few set of commands redundantly specially on counting the number of images from categorical ‘named’ folders alone and from its sub ‘event-folders’ recursively. Here’s how to find and [...]

How to Display Lines That Starts With A Given String

Matching strings can be counted using grep, cat, sed. Matching strings can be sorted and even omitted for matching repetitions using sort and uniq. They can also be highlighted during the string parsing operation via grep. More can be done using awk. But have you ever tried to display the first occurrence of matching line [...]