How can I use –nice=-10 with cp command in linux ?
Following are the example when I tried the option and it gives the error unrecognized option
EX- error:
cp --nice=-20 -r dir1 /d/
cp: unrecognized option `--nice=-20'
Try `cp --help' for more information.
Best Answer
nice
is a command on its own, it isn't an option to thecp
command.From
man nice
:So for your purposes, you would use this: