A look at how I/O redirection works slightly differently in different shells.
Read more »Basic I/O Redirection Differences In Sh/Ksh, Bash and Zsh On Linux And Unix
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.
Read more »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 "=~".
Read more »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)..."
Read more »Flipping the Linux switch: New users guide to the terminal
The command line. It strikes fear in the hearts of many a new Linux user. They open their terminals reluctantly, and there the prompt sits, with the cursor blinking in rhythm with their racing hearts.
Read more »Category: Beginner Tags:
Using grep and sed to find and replace
This article covers two beneficial Linux tools, grep and sed. If searching for or handling text, grep and sed can increase your efficiency with Linux bash scripting and configuration files. We'll learn how to use these commands and get some helpful tips, too.
Read more »Bash tips and tricks
"...So, there are a few tips to get your bash history more managable - if you have any extra tips, add them to the comments and I’ll add them to the main article! ..."
Read more »What Non-Techies Should Know About The Command Line
So you have GNU/Linux installed, and your friends are congratulating you on being the king of your computing castle. But you quickly lose that majestic feeling when you find yourself needing a Bash prompt, and start feeling like this whole GNU/Linux thing is a royal pain.
Read more »Getting Yesterdays or Tomorrows day with shell date command
When invoked without arguments, the date command displays the current date and time. Depending on the options specified, date will set the date and time or print it in a user defined way. I’ve seen many people writing a perl script for calculating yesterday or tomorrow. Computer loves numbers but we love relative terms like 2 days ago.
Read more »How to Change / Setup bash custom prompt (PS1)
So how do you setup, change and pimp out Linux / UNIX shell prompt?
Most of us work with a shell prompt. By default most Linux distro displays hostname and current working directory. You can easily customize your prompt to display information important to you.
Read more »








