redhat-release

What is my CentOS/RedHat/Fedora Linux Distribution Name and Version


There are many way find the Linux Distribution Name and Version, but my favorite to find  CentOS/RedHat/Fedora distribution name and version is to read from /etc/redhat-release file. In CentOS 6.5, /etc/redhat-release file contain following contents: # cat /etc/redhat-release CentOS release 6.5 (Final To find out distribution name, use command: awk ‘{print $1}’ /etc/redhat-release And to…

subsys

Use of subsystem lock files in init script


In /var/lock/subsys/ directory, there are various files like network, iptables, ip6tables, sshd, rsyslog etc. all these files are the lock files created by their init scripts. Most of these files may be empty. These files play the important role in Linux startup and shutdown process. When a service is started through an init script, a…

ISO2USB

CentOS 6 CD/DVD/ISO to USB Installation


I tried various Linux ISO to USB software like UNetbootin, liveusb-creator, Universal-USB-Installer etc to create CentOS 6 (take a look at new look of CentOS website) bootable USB/pendrive. But all have some problems or limitations which force me to use ISO2USB software, which help me to meet my need. Requirement Create a CentOS 6 bootable…

2013 in review, welcome 2014


I got most visitors from U.S., thanks to my U.S. visitors. After that Indian visitors make a good figure, special thanks to them also. I am expecting more visits from them. The WordPress.com stats helper monkeys prepared a 2013 annual report for this blog. Here’s an excerpt: Madison Square Garden can seat 20,000 people for…

PAM

PAM with Radius Authentication


PAM Radius Module allows any PAM-capable machine to become a RADIUS client for authentication and accounting requests. The actual authentication will be performed by a RADIUS server. The freeradius can be used for radius server. Download the PAM Radius Module To download the PAM Radius module, click here. Installing & configuring PAM Radius Module To…

2012 in review, welcome 2013


A very happy new year Thanks to all my friends and followers. The WordPress.com stats helper monkeys prepared a 2012 annual report for this blog. Here’s an excerpt: 4,329 films were submitted to the 2012 Cannes Film Festival. This blog had 38,000 views in 2012. If each view were a film, this blog would power…

How to find USB device in Linux


I wondered when I had to find the USB device name in Linux using shell script (shell command), it was little tricky, specially in case of UDEV. You can use different methods to get this like using udevinfo command, from sysfs, from /var/log/messages. Using udevinfo: for DEV in /dev/sd*; do udevinfo -q env -n $DEV…

Ubuntu 12.10 Beta 2 Release


Ubuntu released the second and final beta of Ubuntu 12.10 version, code name “Quantal Quetzal”, just two days before. It is a development release, the Ubuntu developers are moving quickly to bring an absolute latest and greatest software. From the release announcement “The Ubuntu team is pleased to announce the final beta release of Ubuntu…