From 2bc70b45357e5eb4132b570f82353268dfbc695e Mon Sep 17 00:00:00 2001 From: Lynne Williams Date: Sun, 17 Feb 2013 10:56:17 -0500 Subject: [PATCH] Update shell_cheatsheet.md --- shell_cheatsheet.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/shell_cheatsheet.md b/shell_cheatsheet.md index 65cb988..df21855 100644 --- a/shell_cheatsheet.md +++ b/shell_cheatsheet.md @@ -59,8 +59,20 @@ text strings as arguments. See the cheatsheet on regular expressions for more "wildcard" shortcuts. -### c) How to redirect a command's output to a file... -### d) How to redirect a command's input from a file... +### b) How to redirect to a file and get input from a file ... + +#### Definitions: +* **stdout**: +* **stdin**: +* **stderr**: + +| Command | Description | +|---------|-------------| +| `>` | +| `>>` | +| `<` | +| `<<` | + ### e) How to use the output of one command as the input to another with a pipe... ### f) That combining single-purpose filters with pipes is the most productive way to use the shell... ### g) That if a program conforms to Unix conventions, it can easily be combined with others... -- 2.26.2