Remove File
rm (remove)
To remove a file type rm followed by the filename. The filename along with its extension must be typed. Follow the below steps to find out for yourself how the command works.
% cp hello.txt copy_of_hello.txt
% ls
% rm copy_of_hello.txt
% ls
The copy_of_hello.txt is deleted.