how to remove entire directory in linux recursively code example Example: remove full dir rm -r mydir