Removing File or Directory



$ rm a.txt           remove file

$ rmdir d/           remove empty(!) directory
$ rm -rf d/          force remove directory tree recursively