Problem
Removing a file or folder in linux.
tl;dr
rm filename rm foldername -r
Solution
This will work with almost any linux flavour.
rm filename
This will remove a file.
rm foldername r
This will remove an entire folder. r is to tell it to remove files recursively.