42-archive/42sh/script.sh
2017-01-30 17:23:55 +01:00

15 lines
167 B
Bash
Executable file

#!/bin/bash
echo "debut script"
VALUE=3
while [ $VALUE -gt 1 ]
do
sleep 1
((VALUE--))
echo "a"
done > file1 | cat ; ls
ls -l > file2 | cat
echo "fin script"