Carica file su 'bash'

This commit is contained in:
2022-07-07 21:49:36 +00:00
parent 5f8d90c968
commit 2c802dff7a
5 changed files with 60 additions and 0 deletions

19
bash/output Normal file
View File

@@ -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

20
bash/s Normal file
View File

@@ -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"

9
bash/script.sh Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
touch logfile
i=0
while true
do
echo "Test" $i >> logfile
let i++
done
#echo "Ciao" >> logfile

9
bash/script2.sh Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
touch output
i=0
while true
do
echo "Prova" $i >> output
let i++
sleep 1
done

3
bash/testdate Normal file
View File

@@ -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