You can remove files using the rm
command:
[name@server ~]$ rm my_file
You can also recursively remove a directory:
[name@server ~]$ rm -r my_directory
The (potentially dangerous!) -f
option can be useful to bypass confirmation prompts and to continue the operation after an error.