From cf0477a4afa07af3658aad02a09184ded2afbabf Mon Sep 17 00:00:00 2001 From: ronny abraham Date: Tue, 10 Dec 2024 18:53:00 +0200 Subject: [PATCH] finished notes --- _subsections/lesson-01.org | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/_subsections/lesson-01.org b/_subsections/lesson-01.org index 6af11c2..b9c96a1 100644 --- a/_subsections/lesson-01.org +++ b/_subsections/lesson-01.org @@ -106,4 +106,29 @@ the output will be =/home/ronny/programs/notes/courses= +** permissions +*** groups of three +- read +- write +- execute +*** directories +- read: are you allowed to see the files +- write: can you rename the files in the directory +- execute: "search" are you allowed to enter this directory + - to access a file in a directory, you need execute permissions on all directories in the path + +** piping +- every program has two streams + - input stream + - output stream +- shell allows you to change streams + - angle brackets + - left angle < : rewire input + - right angle > : rewire output + +- example + #+begin_src bash + echo hello > hello.txt + cat < hello.txt + #+end_src