When I use strace with ls and save it using `-o' option, it's going to show output like the below:
➜ test strace -o st.out ls
st.out test
➜ test
But my question is, how did this happen?
Because when you run strace, it's going to show system calls, but how will it be saved before the end of exited with 0?