Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

if command has output bash

if [[ $(find . -type f -iname *.exe -exec echo {} ;
) ]]; then
    echo "found $(find . -type f -iname *exe -exec echo {} ; | wc -l
) files "
else
    echo "no files found"
fi
 
PREVIOUS NEXT
Tagged: #command #output #bash
ADD COMMENT
Topic
Name
5+6 =