diff --git a/4.html b/4.html index fa06384..9dc58f9 100644 --- a/4.html +++ b/4.html @@ -302,24 +302,19 @@ dany 23893 4143 0 12:33 pts/4 00:00:00 bash
Der Kontext aller Script Variablen ist der der sub-shell
-
-
-
https://linuxconfig.org/bash-scripting-tutorial https://linuxconfig.org/bash-scripting-tutorial
- Hinweis: tar -czf .....
-
+ Hinweis: tar -czf .....
+ #!/bin/bash
+
-
-
-
-
+
+ #!/bin/bash
tar -czf myhome_directory.tar.gz /home/$USER
mkdir archiv
mv myhome_directory.tar.gz archiv/
-