Changes

Jump to: navigation, search

Tutorial5: Redirection

101 bytes added, 10:59, 17 January 2021
INVESTIGATION 1: BASICS OF REDIRECTION
# Issue the following Linux command:<br><span style="color:blue;font-weight:bold;font-family:courier;">grep 2 <<+<br>line 1<br>line 2<br>line 3<br>+</span><br><br>What do you notice? How does this differ from the previous command? Why?<br><br>
# Issue the '''ls''' command to see all of the '''temporary files''' that were created as a result of redirection.<br><br>
# Issue a Linux command to '''remove''' those temporary text files in the current directory.<br><br>
:The problem with using these redirection symbols is that you create '''temporary text files''' that take up '''space''' on your file system.<br>In the next investigation, you will be learning how to issue '''pipeline Linux commands''' which can accomplish tasks <u>without</u> creating temporary files.<br><br>
13,420
edits

Navigation menu