#!/bin/bash if [ -z "$(/sbin/ldconfig -p | grep libtirpc)" ]; then echo "no files found" exit 1 else echo "There are files" exit 0 fi