Compare commits

2 Commits

Author SHA1 Message Date
a82d429015 solution aux 2 ateliers supp 2022-05-18 20:53:08 +02:00
08ab597e95 solution 2021-06-22 16:16:00 +02:00
3 changed files with 14 additions and 0 deletions

3
script.sh Normal file
View File

@@ -0,0 +1,3 @@
#! /bin/bash
cut -f1 -d: /etc/passwd |sort > user.list

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