Basically, once you're at the directory you wish to remove, you can type rmdir Sample, where Sample is replaced by the actual name of your directory. Please note that this will only work if it's empty. If it isn't and you try this, you'll get an error message as show in the screen shot below. I attempted to use this Linux remove directory function to delete Test Dir which was not empty to show you what will happen. If the directory contains sub-directories or files, you'll need to use the rm command with at least the -r parameter which stands for recursive. If you don't want to be asked to confirm the deletion of each sub-directory and file, you might want to also pass the -f argument. Argument is another term for parameter. This last argument will force deletion without question. Be very careful with this powerful command, if you're not accurate in your typing, you could end up removing data you meant to keep. The command I entered to delete a practice directory called Test Dir containing a sub-directory and files was rm -rf Test\ Dir. The \ is an escape character needed because of the space in the name Test Dir. This wouldn't be needed if the name was TestDir. This directory was on my desktop so I had to be in my desktop directory before issuing the command to make it work. Always pay attention to where you are in the file system.