Friday, November 18, 2011
Posted by venu k
53 comments | 9:37 AM
Note: I have used my device name and number in examples, you have to change itas your device name and number, otherwise unwanted device data will be wipedout. Put your USB flash drive in one of your computer's free USB ports. After a fewseconds, Linux will automatically recognize it and an icon for it will appear onyour desktop. If pen drive doesn't mounted automatically, login as root and tryto mount it, still it is not mounted there may be a problem with pen drive or itis defective.Finding device: Very very first thing is you should to know...
Saturday, October 8, 2011
Posted by venu k
34 comments | 4:45 AM

Public keys can be erased after importing just like packages. Here's how to
remove the CentOS GPG public key:
rpm -e <GPG public key>
[root@localhost]# rpm -qa gpg-pubkey*
gpg-pubkey-e8562897-459f07a4
[root@localhost]# rpm -e gpg-pubkey-e8562897-459f07a4
[root@localhost]# rpm -qa gpg-pubkey*
[root@localhost]#
If there are duplicates exist:
For example, Import the same key two times
[root@localhost]# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
[root@localhost]#...
Friday, October 7, 2011
Posted by venu k
37 comments | 12:21 PM

Note: All the commands tested on CentOs 5.x. Your output may be vary depending
on distribution and version, so your results may not always look exactly like
the listings and figures shown here. Almost all everything works well on
RHEL/CentOs/Fedora.
Why to check signature of an rpm:
The signature confirms that the package was signed by an authorized party and
also confirm the integrity and origin of your file. It is extremely important
to...
Friday, June 24, 2011
Posted by venu k
26 comments | 10:24 PM

In number theory, the prime factors of a positive integer are the prime numbers
that divide that integer exactly, without leaving a remainder. The process of
finding these numbers is called integer factorization, or prime factorization.
The fundamental theorem of arithmetic says that every positive integer has a
unique prime factorization.
Example:
The prime factors of 330 are 2, 3, 5 and 11:
330 = 2 × 3 × 5 × 11
There...
Thursday, January 6, 2011
Posted by venu k
25 comments | 1:29 PM

#!/bin/bash# SCRIPT : menu_dialog.sh# PURPOSE : A menu driven Shell script using dialog utility# which has following options:# Display Today's Date and Time.# Display calendar.# Delete selected file from supplied directory.# List of users currently logged in# Disk Statistics# Exit################################################################################ Checking...
Monday, January 3, 2011
Posted by venu k
28 comments | 11:53 AM
Quicksort is a good example of the divide and conquer strategy forsolving problems. In quicksort, we divide the array of items to besorted into two partitions and then call the quicksort procedure recu-rsively to sort the two partitions, ie we divide the problem into twosmaller ones and conquer by solving the smaller onesQuicksort recursive algorithm:1 Select an element (called as pivot) x(p) of x .2 Divide x into two batches x1 and x2 so that all entries of x1 are < x(p) and all entries of x2 are > x(p). all entries of x3 are...
Subscribe to:
Posts (Atom)