if [[ $line == SECURITYRPT && (((If the file is older than 5minutes))) ]] then echo "$line" else echo "file present not older than 2minutes" fi
What condition to put after && to list files older than 5minutes.
Aucun commentaire:
Enregistrer un commentaire