Linux

How to Find All Files with File Size Zero (0) Bytes in a Directory Recursively

In Linux operating system, to find and print the name of all files that has the file size 0 (zero) bytes, in a directory and all its sub-directories recursively, use one of the following commands: find /path/to/directory/ [...]

By | January 20th, 2017|Categories: Linux|Tags: , |0 Comments

Grant User Sudo Access (Add to Sudoers File or Wheel Group)

In Linux operating system, most of the users log in as standard user or normal user. But occasionally, one has to have administrator or root privileges in order to perform certain administrative tasks. Normally administrative privileges are [...]

By | January 16th, 2017|Categories: Linux|Tags: , |0 Comments

ABRT ImportError: No Module Named argparse Crash Error

Large number of error emails is sent by ABRT Daemon to web server's administrator, and system log is filled with the following message: [abrt] a crash has been detected again abrt_version: 2.0.8 cmdline: /usr/bin/python /usr/libexec/abrt-action-generate-machine-id -o /var/spool/abrt/pyhook-2015-08-06-07:11:17-55377/machineid [...]

By | November 20th, 2015|Categories: Linux|Tags: , , , |2 Comments

List All Packages Installed by a Specific Repo in CentOS / RedHat with YUM

Red Hat Enterprise Linux (RHEL), Fedora, CentOS and Scientific Linux allows administrators to add and enable multiple repositories (repos) to install software packages that are not included in the default base and updates repositories. Over time, the [...]

CentOS YUM / RPM Error: rpmts_HdrFromFdno / rpmdbNextIterator: Header V3 RSA/SHA1 Signature Key ID BAD

When running YUM or RPM commands, the following errors occurred: error: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID XXXXXXXX: BAD error: rpmdbNextIterator: skipping h# XXXX Header V3 RSA/SHA1 Signature, key ID XXXXXXXX BAD Error: Cannot retrieve metalink [...]

By | January 29th, 2015|Categories: Linux|Tags: , , |17 Comments

Cannot Retrieve Metalink for Repository: EPEL

When using yum to install or update software packages through "yum install" or "yum update" commands, the following stop error occurred: Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile Error: Cannot retrieve metalink for repository: [...]

Create & Migrate Existing Working RedHat / CentOS System to RAID 1 / RAID 10

Linux system has built-in support for software RAID, through MD devices aka Linux Software RAID. Most Linux distributions such as Red Hat Enterprise Linux (RHEL) and CentOS allows you to easily set up RAID arrays while installing [...]

By | January 27th, 2015|Categories: Linux|Tags: , , , , , |7 Comments

Pin It on Pinterest