remove directory with all subdirectories and files in linux code example Example: remove full dir rm -r mydir