Skip to content

Commit 77a10ca

Browse files
authored
Updated backslash character
1 parent f999a43 commit 77a10ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lessons/04_searching_files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ $ mv bad_reads.txt ../other/
221221

222222
**The redirection command for using the output of a command as input for a different command is `|`.**
223223

224-
**The pipe key** (<kbd>|</kbd>) is very likely not something you use very often (it is on the same key as the back slash (<kbd>\\</kbd>), right above the <button>Enter/Return</button> key).
224+
**The pipe key** (<kbd>|</kbd>) is very likely not something you use very often (it is on the same key as the back slash (<kbd>&bsol;</kbd>), right above the <button>Enter/Return</button> key).
225225

226226
What `|` does is take the output from one command, e.g. the output from `grep` that went whizzing by and runs it through the command specified after it. When it was all whizzing by before, we wished we could just take a look at it! Maybe we could use `less` instead of the rapid scroll. Well, it turns out that we can! We can **pipe the output `grep` command** to `less` to slowly scroll through, or to `head` to just see the first few lines.
227227

0 commit comments

Comments
 (0)