Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes every weekday Monday through Friday.
This page was generated by The HPR Robot at


hpr0924 :: LiTS 000: redirection

Redirection: what it is and how to use it

<< First, < Previous, , Latest >>

Hosted by Dann on Wednesday, 2012-02-15 is flagged as Explicit and is released under a CC-BY-SA license.
redirection. 1.
The show is available on the Internet Archive at: https://archive.org/details/hpr0924

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:16:44

Linux in the Shell.

Linux In The Shell aims to explore the use of many commands a user can run in the Bash Shell. Tutorials include a write up with examples, an audio component about the write up, and a video component to demonstrate the usage of the command.
The website is https://www.linuxintheshell.com/

Welcome to the first entry of Linux in the Shell. Before delving into specific commands, redirection will be explored as redirection will be used frequently in the examples going forward. The Unix philosophy posits program simplicity and that a program should do one thing and do it well (Mike Gancarz, the Unix Philosophy). Eric Raymond adds the Rule of Composition: "Design programs to be connected to other programs." Redirection is the glue that achieves this design.

Redirection is applied to any of the following standard streams to achieve results beyond simply outputting some value from a single command:

Standard Input (stdin) – 0
Standard Output (stdout) – 1
Standard Error (stderr) – 2

For the rest of this article and accompanying video please go to https://www.linuxintheshell.com/2012/02/16/entry-000-redirection/
The video can be downloaded https://www.archive.org/download/LinuxInTheShellEpisode000-Redirection/lits-000.ogv

Comments

Subscribe to the comments RSS feed.

Comment #1 posted on 2012-02-16 13:18:35 by Deltaray

Great show

Great show Dann. You spoke very clearly and were obviously prepared. Well done. Since shell stuff can be quite thick at times, maybe after every few minutes you should just take a breather to allow people to catch up. Maybe a joke or story or something. I liked all the philosophical stuff you started out with. Its good for beginners to hear all that.

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the letter P in HPR stand for?
Are you a spammer?
Who is the host of this show?
What does HPR mean to you?