#!/bin/bash case "$1" in "") echo "clean " exit 1 ;; *) cd / find -name $1 -exec rm {} ";" echo "$1 has been cleaned" ;; esac exit 0