I want to trace system calls with strace. There are too many read and write, so I want to exclude them.
Here is my test:
strace -e trace=!read ls
My PC (Ubuntu 14) failed to run this command. The error message is !open: event not found
. I have read the man carefully and I can't understand why it failed.