For an executable file or command exec, running this will list all system calls:
$ ptrace exec
To display specific system calls use -e option:
$ strace -e open exec
To save the output to a file use the -o option:
$ strace -o output exec
To find the system calls an active program uses, us...