≡ Menu

Linux How-To Articles and Guide

Tutorials, tips, and guides for users of Linux operating systems.

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 '' | 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.

Shutter: The Ultimate Linux Screenshot Program

Shutter is a free, open-source, and feature-rich screenshot tool for GNU/Linux distributions. I use this tool frequently when I am creating resources for this site or for our youtube channel and it has not yet let me down.

Most sysadmin will run low on disk space. Users will demand more space and you need to free space. You will find out files that's a waste of space and delete it or move to an archive medium. But, 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.

Dear nixCraft,

I carry my Linux powered laptop just about everywhere. How do I protect my private data stored on partition or removable storage media against bare-metal attacks where anyone can get their hands on my laptop or usb pen drive while traveling?

Worried about my data.

Do you need a simple open source cross-platform command line tool that converts web pages and HTML to a PDF file? Look no further, try wkhtmltopdf.

Oneko is a little fun app. It will change your cursor into mouse and creates a little cute cat and the cat start chasing around your mouse cursor. The word "neko" means "cat" in Japanese and it was originally written by a Japanese author as a Macintosh desktop accessory.

Avant Window Navigator (AWN or Awn) is a fully customisable dock-like bar for the GNOME desktop environment.This quick blog post explains how to install and use Avant Window Navigator (AWN) under Debian Linux 6.x+.

The Emerald Window Decorator is a custom window decorator shipped with Compiz Fusion that allows for theming and full composite window decorations with the use of engines. Emerald allows for all sorts of different configurations and layouts of buttons, look, title bars and frames. Emerald Window Decorator is completely independent of any desktop, and you specify your own themes to use for it. In this post I will describe how to install emerald under Debian Linux 6 amd64.

Compiz is an OpenGL compositing windows manager for the X Window system. It use 3D graphics hardware to create desktop effects such as a rotating desktop cubes, a minimization animation and many other effects are created using plugins. In this post I will explain how to install compiz on Debian Linux 6 with NVIDIA GPU. However, instructions should also work on Debian lenny and Intel 3000 or latest Intel 4000 video cards.

The NVIDIA Linux proprietary unified drivers supports various features such as 3d rendering, opengl and much more. This post covers installing and configuring NVIDIA's proprietary graphic card driver for Debian Linux 6 amd64.