0 / 60 seg.

¿Qué hace el siguiente script cuando se ejecuta como ./script.sh archivo.txt?

#!/bin/bash
if [[ -f "$1" ]]; then
    echo "$1 existe"
else
    echo "$1 no existe"
fi