how to delete a directory from cli code example Example: how to remove folder and its contents in linux rm -rf dirname