From 1e4ca2c06f7a8bf6e24ed5fa4a636178384033c4 Mon Sep 17 00:00:00 2001 From: Bryan Wilches <60490258+BryanWV@users.noreply.github.com> Date: Sat, 19 Apr 2025 18:15:48 -0500 Subject: [PATCH] Update redirects.md Feat: Adding extra info about command redirection --- src/data/roadmaps/linux/content/shell-basics/redirects.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/data/roadmaps/linux/content/shell-basics/redirects.md b/src/data/roadmaps/linux/content/shell-basics/redirects.md index e1e4b8903dd6..79298e2d2da2 100644 --- a/src/data/roadmaps/linux/content/shell-basics/redirects.md +++ b/src/data/roadmaps/linux/content/shell-basics/redirects.md @@ -16,6 +16,7 @@ ls -al > file_list.txt This command will write the output of 'ls -al' into 'file_list.txt', whether or not the file initially existed. It will be created if necessary, and if it already exists – it will be overwritten. -Learn more from the following resources: +Also, there are more ways to "unite" differentt commands and make it work with each other, so you can make bash scripts more powerful and efficient. +If you desire, you may follow the following resource to know the possible options, that shows tools like piping "|" that allows the output of a command to be the input of the next one, or the logical AND "&&" operator, that runs every command only if the first one executed succesfully. -- [@article@Logical Commands and Redirection](https://labex.io/tutorials/linux-logical-commands-and-redirection-387332) \ No newline at end of file +- [@article@Logical Commands and Redirection](https://labex.io/tutorials/linux-logical-commands-and-redirection-387332)