I would like someone to help me create this script correctly, in case it is to create a script that you type the name and directory of a file and then indicate if it was located or not and that generates this type of output on the screen
Or
I did but it was not completely correct
#!/bin/bash
# localiza.sh
# script para localizar arquivos e diretórios
echo "Digite o nome do diretório: "
read DIR
echo "Digite o nome do arquivo: "
read ARQUIVO
#
find $DIR -name '$ARQUIVO' && echo "Busca efetuada com sucesso!" || echo "Arquivo não encontrado"