how to delete a directory containing files in linux code example Example: how to remove file from directory in linux rm /home/harry/ascii.txt