If we want to delete all files and directories we use, rm -rf *.
rm -rf *
But what if i want all files and directories be deleted at a shot, except one particular fi
cd .. ln trash/useful.file ./ rm -rf trash/* mv useful.file trash/