#85101
urky
Participant

“cd <foldername>” puts you into a folder
like this your example : cd /home/pi/RetroPie/roms/mame/
then when in the desired folder :
rm <filename> means remove that file, as floob says

(“cd ..” brings you one step out of folder “cd /” brings you to root)