To remove a file use the command:
rm [option] filename
To remove a directory use the command:
rmdir directory_name
rm -r directory_name
You cannot retrieve a file or directory that has been removed: it has been removed permanently