Linux ifdata Command: See Network Interface Info Without Parsing ifconfig Output

in Categories Command Line Hacks, Debian Linux last updated December 12, 2012

Reading an IP address in a shell script requires many time and various Linux distributions stores IP address in different text files. So most of us end up writing shell pipes/scripts to get the information using ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}' syntax. There is an alternative to ifconfig+shell pipe hack – ifdata command. It is a little know tool that can be used to check for the existence of a network interface and find out info about your interface such as IP, netmask, MTU and much more. No need to write shell pipes and fetch information via ifconfig or ip command. This command is designed to be easily used by a shell script.

agedu: Unix / Linux Command For Tracking Down Wasted Disk Space

in Categories Command Line Hacks, Hardware, Howto, Storage last updated November 15, 2016

The most sysadmin will run low on disk space or storage space. Users will demand more disk space, and you need to free storage space. You will find out files that are a waste of space and delete it or move to an archive medium. However, how do you find the right files to delete that can help recover maximum space? Say hello to agedu tool (pronounced as ‘age dee you’) – it scans a directory tree and produces reports about how much disk space is used in each directory and subdirectory, and also how that usage of disk space corresponds to files with last-access times a long time ago. In other words, this command might help you to free up disk space.

Download Slackware 14.0 CD / ISO Images

in Categories Open Source last updated October 29, 2012

Slackware version 14.0 has been released and available for download from the official project website. This updated version brings many enhancements, including Xfce 4.10.0, KDE 4.8.5, and Linux kernel version 3.2.29.