|Linux tip: Creating a pixel ruler from the command line
Learn how to use the Linux command line and some basic Bash scripting techniques to draw lines and text on images using ImageMagick. And create a pixel ruler along the way.
|Articles||23 Jul 2009|
|Linux tip: Finding rootfs during boot
As a Linux administrator, you may encounter rootfs errors like"cannot mount rootfs" and "kernel panic" when you try to reboot a server after attaching volumes from external storage or even after installing a new Linux operating system. This article outlines the Linux booting process on an x86 platform, shows why this problem happens, and offers four tips to avoid it or fix it.
|Articles||11 Mar 2009|
tip: Bash parameters and parameter expansions
Do you sometimes wonder how to use parameters with your scripts, and how to pass them to internal functions or other scripts? Do you need to do simple validity tests on parameters or options, or perform simple extraction and replacement operations on the parameter strings? This tip helps you with parameter use and the various parameter expansions available in the bash shell.
Also available in: Russian
|Articles||16 May 2007|
tip: Bash test and comparison functions
Are you confused by the plethora of testing and comparison options in the Bash shell? This tip helps you demystify the various types of file, arithmetic, and string tests so you will always know when to use test, [ ], [[ ]], (( )), or if-then-else constructs.
|Articles||20 Feb 2007|