Linux

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.

{ 11 comments }

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?

Sincerely,

Worried about my data.

{ 27 comments }

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.

{ 15 comments }

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.

{ 5 comments }

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.

{ 0 comments }

Fsh is an entertaining interactive desktop aquarium. It was created as an alternative to Gnome easter egg called “Free the fish”.

{ 0 comments }

The remark command is a little know tool that can be used to color syslog file as well as output of of programs such as ping, traceroute, and much more.

{ 8 comments }

Most embedded Linux / BSD systems such as routers, servers and nas devices comes with console interface (serial port with RS-232). BIOS can uses this, and after boot BIOS screen I/O is redirected so that you can use the device. RS-232 is also used for communicating to headless server, where no monitor or keyboard is installed, during boot when operating system is not running yet and therefore no network connection is possible. You need to use a serial cable between your computer and embedded system or server. In this post I will cover five conman utilities used for serial communication under Linux / Unix / *BSD and Mac OS X.

{ 10 comments }

The pv command allows you to see the progress of data through a pipeline. It provides the following info:

  1. Time elapsed
  2. Percentage completed (with progress bar)
  3. Current throughput rate
  4. Total data transferred
  5. ETA

{ 2 comments }

Process identifier (PID) is a number used by Linux / Unix kernels (and Windows operating systems) to identify a process. Usually, new processes are created using the fork() system call. Each PID (or so called tasks) can be monitored under Linux. In this quick tutorial, I will explain how to use the pidstat command for monitoring individual tasks currently being managed by the Linux kernel.

{ 4 comments }