Image of RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302) (Certification Press)
Image of Modern Operating Systems (3rd Edition)
Image of Operating System Concepts
Image of Linux Kernel Development (3rd Edition)

Hack to Fix GNOME Shell Stylesheet Problems

This post provides a replacement file for the GNOME Shell which fixes the missing GNOME Shell extension stylesheet problem.

GNOME Shell Weather Extension

This post demonstrates a simple weather extension for the GNOME Shell and discusses various aspects of the design and the source code.

Shell Fork Bombs

Fork Bombs have been around in shells since the first Unix shell was written. Examples of Unix/Linux fork bombs include: :(){ :|: & };: $0 & $0 & The first example is often used by system administrators to test user processes limitations. Once a successful fork bomb has been activated on a system it may not be possible to resume normal operations on the system without rebooting, as the only solution to a fork bomb is to destroy all instances of it. Probably the best way to prevent a user invoking a fatal fork bomb on Linux is to add

Remove Color Code Escape Sequences

Here is a simple way using sed to remove special characters such as color codes and other escape sequences from each line in a log file or the output from a utility like screen. $ sed -r “s/x1B[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g” If you wish to see the actual escape sequences, one way is to use the -r or -R options to the less utility -r or –raw-control-chars Causes “raw” control characters to be displayed. The default is to display control characters using the caret notation; for example, a control-A (octal 001) is displayed as “^A”. Warning: when the -r option is used, less

More GNOME Shell Customization

In this post I delve deeper into the technologies behind the new GNOME Shell and provide sample code for a number of simple extensions which demonstrate how to customize and extend various components of the GNOME Shell user interface.