(LINUX) use echo and grep to delete multiple files
I have 4 files in my current directory: ‘#cos#’, ab.txt, cos~, file.txt. I want to delete all files with the word “cos” in them, which just also happen to be the only words with the letters ‘c’, ‘o’, and ‘s’ in them. I’ve set up the following: