From 9a3e878480117fc542341f2e9d7c11864c366dfd Mon Sep 17 00:00:00 2001 From: Bill <69961188+billxu1@users.noreply.github.com> Date: Wed, 30 Jun 2021 22:19:59 +1000 Subject: [PATCH] Added < and > to list of quesitons. (#132) * Added two questions Added in > and < for Linux, as well as yes command (yes XYZ repeats XYZ in the console, useful for repetitive input) --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 831e122..42c16dc 100644 --- a/README.md +++ b/README.md @@ -2513,6 +2513,13 @@ These are files directly not displayed after performing a standard ls direct lis `ls -a` +
+What do > and < do in terms of input and output for programs?
+They take in input (<) and output for a given file (>) using stdin and stdout. + +`myProgram < input.txt > executionOutput.txt` +
+
Explain what each of the following commands does and give an example on how to use it: