bash

Using Bash To Feed Command Output To A While Loop Without Using Pipes!

How to feed command output to a while loop in bash without using pipes.

Using Traps Outside Of Shell Scripts On Unix Or Linux

How to set, and reset, traps at the command line, and login, level to enhance system security.

Basic I/O Redirection Differences In Sh/Ksh, Bash and Zsh On Linux And Unix

A look at how I/O redirection works slightly differently in different shells.

The A-Z of Programming Languages: BASH/Bourne-Again Shell - When the Bourne Shell found its identity

"Computerworld is undertaking a series of investigations into the most widely-used programming languages. Previously we spoke to Alfred v. Aho of AWK fame, and in this article we chat to Chet Ramey about his experience maintaining Bash. Bash, or the Bourne-Again Shell is a Unix shell created in 1987 by Brian Fox. read more

Porting Simple Arithmetic In Bash, Perl and Awk

Translating equivalent arithmetic operations between bash, Perl and awk. Part of an ongoing series on porting code.

Bash Regular Expressions

When working with regular expressions in a shell script the norm is to use grep or sed or some other external command/program. Since version 3 of bash (released in 2004) there is another option: bash's built-in regular expression comparison operator "=~".

The Definitive Guide to Bash Command Line History

" Let me teach you how to work efficiently with command line history in bash. This tutorial comes with a downloadable cheat sheet that summarizes (and expands on) topics covered here (scroll to the end for a download link). In case you are a first time reader, this is the 3rd part of the article series on working efficiently in bourne again shell. Previously I have written on how to work efficiently in vi and emacs command editing modes by using predefined keyboard shortcuts (both articles come with cheat sheets of predefined shortcuts)..."

Valid XHTML 1.0 Strict

Syndicate content