Archive for the tag 'GNU'

SBDavid

The GNU long parameters

The GNU long parameters

You can combine GNU long parameters with either Unix- or BSD-style parameters to really customize your display. One cool feature of GNU long parameters with the –forest parameter. It displays the hierarchical process information, but using ASCII characters to draw cute charts:

$ ps -ef –forest |grep apache2

root 3420 1 2 08:55 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 3428 3420 0 08:55 ? 00:00:00 \_ /usr/sbin/apache2 -k start
www-data 3431 3420 0 08:55 ? 00:00:00 \_ /usr/sbin/apache2 -k start
www-data 3432 3420 0 08:55 ? 00:00:00 \_ /usr/sbin/apache2 -k start
www-data 3433 3420 0 08:55 ? 00:00:00 \_ /usr/sbin/apache2 -k start
www-data 3434 3420 0 08:55 ? 00:00:00 \_ /usr/sbin/apache2 -k start

SBDavid

The core GNU utilities

The core GNU utilities.

The GNU project was mainly designed for Unix system administrators to have a Unix-like environment available. This focus resulted in the project porting many common Unix system command line utilities. The core bundle of utilities supplied for Linux systems is called the coreutils package.

The GNU coreutils package consists of three parts:

Utilities for handling files
Utilities for manipulating text
Utilities for managing processes

$ apt-cache search coreutils
bsdmainutils - collection of more utilities from FreeBSD
coreutils - The GNU core utilities

These three main groups of utilities each contain several utility programs that are invaluable to the Linux system administrator and programmer.