Files
graphene/Examples/bash/scripts/bash_test.sh
2020-09-15 19:21:13 +02:00

15 lines
281 B
Bash
Executable File

#!/usr/bin/env bash
times=$1
[ "$times" -gt 0 ] 2>/dev/null || times=300
for (( c=1; c<=times; c++ ))
do
echo "hello $c"
cp somefile testdir/somefile
cat somefile > testdir/createdfile
ls testdir/
rm -rf testdir/somefile testdir/createdfile
date +"current date is %D"
done