remove direcotry bash code example Example 1: bash remove directory rm -rf directory-name Example 2: remove full dir rm -r mydir