On 2013-09-17 20:35, Lev Lafayette wrote:
[...]
> You could always redirect the error message to /dev/null e.g.,
> 
> lev@racoon:~/Desktop$ ls *.mkv *.avi *.mp4 *.xxx 2> /dev/null
> 1.mkv  2.mkv  3.avi  4.avi  5.mp4  6.mp4

Assuming you're happy dealing with a non-zero error code from ls:

  mattcen@adam:tmp$ ls *.c *.x
  ls: cannot access *.x: No such file or directory
  dh.c  x.c
  mattcen@adam:tmp$ echo $?
  2

-- 
Regards,
Matthew Cengia

Attachment: signature.asc
Description: Digital signature

_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to