linux delete folder for command line code example Example: remove directory and contents rm -R directory