lundi 23 mars 2015

How do I suppress error messages from cp?


I am currently looking ways to suppress error command in Linux, in particular, the command cp.


I do:



root@ubuntu:~$ cp /srv/ftp/201*/wha*/*.jj ~/.
cp: cannot stat `/srv/ftp/201*/wha*/*.jj': No such file or directory


How do I suppress the error message that gets printed on the screen? I.e., I don't want to see this error message in my monitor.



Aucun commentaire:

Enregistrer un commentaire