Print
In UNIX system, to delete all files and sub-directories reside in the directory “mydir”, execute the following command:

% rm -rf mydir

Please be reminded that the deleted files will not store in the trash but delete permanently.