I have a problem when trying removing a file with name something like -h_some_file_name, this is because of generated script that I made and forget to check the prefix.
If I run the command rm '-h_some_file_name' it return an error rm: invalid option -- 'h'.
If I try to change the name and then remove it using mv '-h_some_file_name' new_filename it return mv: invalid option -- 'h'
Question:
How to remove a file with name like -h_some_file_name in shell? if using gui I can right click and move to trash, but in shell only returns an error