Linux - Removing Files & Directories
To remove files from Linux, just like in Windows, we can use the rm or remove command. Let’s remove this text1 file.

Remember, when using rm command, take extra precaution that you aren’t removing something important by accident.