bash

14

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

http://linuxshellaccount.blogspot.com

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

Read more »
eggixyz's picture
Created by eggixyz 5 days 18 min ago – Made popular 4 days 16 hours ago
Category: Beginner   Tags:
16

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

http://www.linuxworld.com.au

"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 »
can.axis's picture
Created by can.axis 5 weeks 4 days ago – Made popular 5 weeks 4 days ago
Category: Community   Tags:
14

Porting Simple Arithmetic In Bash, Perl and Awk

http://linuxshellaccount.blogspot.com

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

Read more »
eggixyz's picture
Created by eggixyz 6 weeks 2 hours ago – Made popular 5 weeks 6 days ago
Category: Beginner   Tags:
18

Bash Regular Expressions

http://www.linuxjournal.com

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 »
chimera's picture
Created by chimera 6 weeks 16 hours ago – Made popular 5 weeks 6 days ago
Category: High End   Tags:
24

The Definitive Guide to Bash Command Line History

http://www.catonmat.net

" 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 »
can.axis's picture
Created by can.axis 20 weeks 7 hours ago – Made popular 19 weeks 6 days ago
Category: End User   Tags:
19

Flipping the Linux switch: New users guide to the terminal

http://www.downloadsquad.com

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 »
bluecheese's picture
Created by bluecheese 24 weeks 3 days ago – Made popular 24 weeks 3 days ago
Category: Beginner   Tags:
14

Using grep and sed to find and replace

http://searchenterpriselinux.techtarget.com

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 »
missgeek's picture
Created by missgeek 31 weeks 5 days ago – Made popular 31 weeks 3 days ago
Category: High End   Tags:
18

Bash tips and tricks

http://richbradshaw.wordpress.com

"...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 »
can.axis's picture
Created by can.axis 32 weeks 1 day ago – Made popular 32 weeks 1 day ago
Category: Beginner   Tags:
13

What Non-Techies Should Know About The Command Line

http://blue-gnu.biz

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 »
dcparris's picture
Created by dcparris 35 weeks 5 days ago – Made popular 35 weeks 4 days ago
Category: Beginner   Tags:
14

Getting Yesterdays or Tomorrows day with shell date command

http://www.cyberciti.biz

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 »
snotbutter's picture
Created by snotbutter 1 year 3 weeks ago – Made popular 1 year 3 weeks ago
Category: High End   Tags:
15

How to Change / Setup bash custom prompt (PS1)

http://www.cyberciti.biz

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 »
Jimbob's picture
Created by Jimbob 1 year 3 weeks ago – Made popular 1 year 3 weeks ago
Category: High End   Tags: