From 2c802dff7a866b45f46699b46eb9d935a1731630 Mon Sep 17 00:00:00 2001 From: Corrado Mulas Date: Thu, 7 Jul 2022 21:49:36 +0000 Subject: [PATCH] Carica file su 'bash' --- bash/output | 19 +++++++++++++++++++ bash/s | 20 ++++++++++++++++++++ bash/script.sh | 9 +++++++++ bash/script2.sh | 9 +++++++++ bash/testdate | 3 +++ 5 files changed, 60 insertions(+) create mode 100644 bash/output create mode 100644 bash/s create mode 100644 bash/script.sh create mode 100644 bash/script2.sh create mode 100644 bash/testdate diff --git a/bash/output b/bash/output new file mode 100644 index 0000000..b83020f --- /dev/null +++ b/bash/output @@ -0,0 +1,19 @@ +Prova 0 +Prova 1 +Prova 2 +Prova 3 +Prova 4 +Prova 5 +Prova 6 +Prova 7 +Prova 8 +Prova 9 +Prova 10 +Prova 11 +Prova 12 +Prova 13 +Prova 14 +Prova 15 +Prova 16 +Prova 17 +Prova 18 diff --git a/bash/s b/bash/s new file mode 100644 index 0000000..af56cff --- /dev/null +++ b/bash/s @@ -0,0 +1,20 @@ +● docker.service - Docker Application Container Engine + Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled) + Active: active (running) since Sun 2022-02-06 22:37:07 CET; 6s ago + Docs: https://docs.docker.com + Main PID: 4587 (dockerd) + Tasks: 7 + Memory: 40.4M + CGroup: /system.slice/docker.service + └─4587 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock + +Feb 06 22:37:04 vm1 dockerd[4587]: time="2022-02-06T22:37:04.254398727+01:00" level=warning msg="Your kernel does not support cgroup blkio weight" +Feb 06 22:37:04 vm1 dockerd[4587]: time="2022-02-06T22:37:04.254445267+01:00" level=warning msg="Your kernel does not support cgroup blkio weight_device" +Feb 06 22:37:04 vm1 dockerd[4587]: time="2022-02-06T22:37:04.254830540+01:00" level=info msg="Loading containers: start." +Feb 06 22:37:06 vm1 dockerd[4587]: time="2022-02-06T22:37:06.810250026+01:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address" +Feb 06 22:37:07 vm1 dockerd[4587]: time="2022-02-06T22:37:07.141326370+01:00" level=info msg="Firewalld: interface docker0 already part of docker zone, returning" +Feb 06 22:37:07 vm1 dockerd[4587]: time="2022-02-06T22:37:07.545112900+01:00" level=info msg="Loading containers: done." +Feb 06 22:37:07 vm1 dockerd[4587]: time="2022-02-06T22:37:07.621724131+01:00" level=info msg="Docker daemon" commit=459d0df graphdriver(s)=overlay2 version=20.10.12 +Feb 06 22:37:07 vm1 dockerd[4587]: time="2022-02-06T22:37:07.622099731+01:00" level=info msg="Daemon has completed initialization" +Feb 06 22:37:07 vm1 systemd[1]: Started Docker Application Container Engine. +Feb 06 22:37:07 vm1 dockerd[4587]: time="2022-02-06T22:37:07.698255586+01:00" level=info msg="API listen on /var/run/docker.sock" diff --git a/bash/script.sh b/bash/script.sh new file mode 100644 index 0000000..186bb1f --- /dev/null +++ b/bash/script.sh @@ -0,0 +1,9 @@ +#!/bin/bash +touch logfile +i=0 +while true +do +echo "Test" $i >> logfile +let i++ +done +#echo "Ciao" >> logfile diff --git a/bash/script2.sh b/bash/script2.sh new file mode 100644 index 0000000..eba289a --- /dev/null +++ b/bash/script2.sh @@ -0,0 +1,9 @@ +#!/bin/bash +touch output +i=0 +while true +do +echo "Prova" $i >> output +let i++ +sleep 1 +done diff --git a/bash/testdate b/bash/testdate new file mode 100644 index 0000000..c3cc351 --- /dev/null +++ b/bash/testdate @@ -0,0 +1,3 @@ +Mon Apr 11 16:30:34 CEST 2022 +Mon Apr 11 16:30:35 CEST 2022 +Mon Apr 11 16:30:37 CEST 2022