New answers tagged ionice
If I understand you correctly, you are trying to change the ionice level for all subsequent calls to cp. If so, you are misunderstanding the way ionice works (and nice, for that matter). The ionice command refers to a process, not to a binary. You can use it either to change the ionice level of a currently running process, by giving it the PID as an ...
If you use the cp command, you have to specify the file(s) you wish to copy. You didn't do that here, so the cp command is giving you an error.
Top 50 recent answers are included