linux best command to remove directory code example Example: remove directory and contents rm -R directory