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 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 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 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 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 [...]
