mothur

Issues with system function

Hello everyone, I’m new to mothur. I’m running it on Linux Mint and have run into a big problem that I don’t know how to fix on my own. The system function wont let me use grep, cut or anything else. When I try to use it is says:
“system(cut -f 2 *error.summary | sort | uniq > mock.accnos)
[WARNING]: cut is not a valid parameter, ignoring.
The valid parameters are: and command.”
What do I do?

Welcome to the mothur community! Can you try this instead?

mothur > system(command=“cut -f 2 *error.summary | sort | uniq > mock.accnos”)