I want to remove multiple (all) files with different suffixes (
.bin) in a particular directory (
/home/username) in a one-line command. How could I do that?
If you want to delete all files of format '.log' and '.bin' in one command you can use:
rm *.bin *.log
and if you want a particular folder that different from your current path you can use:
rm /home/username/*.bin /home/username/*.log
/home/username is the particular folder.
This is what I understood from your question, if you meant something else please clarify.