solution aux 2 ateliers supp

This commit is contained in:
2022-05-18 20:53:08 +02:00
parent 08ab597e95
commit a82d429015
2 changed files with 11 additions and 0 deletions

1
script2.sh Normal file
View File

@@ -0,0 +1 @@
curl -L https://cours.opendoor.fr/Fichiers/SHL/access_log-20220513.gz | zcat | cut -f1 -d' ' | sort | uniq -c | sort -n

10
script3.sh Normal file
View File

@@ -0,0 +1,10 @@
#! /bin/bash
mkdir -p /var/www/html
cat > /var/www/html/index.html << EOF
<html>
<p id="p1" style="color: ${1:-red}">Hello World</p>
</html>
EOF