Code:
[engbatch@engapp bin]$ strace cat /etc/fstab | sendmail -t elirazas
-bash: sendmail: command not found
execve("/bin/cat", ["cat", "/etc/fstab"], [/* 29 vars */]) = 0
uname({sys="Linux", node="engapp", ...}) = 0
brk(0) = 0x505000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9566c000
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/OracleTools/10.2.0.1/lib/tls/x86_64/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/OracleTools/10.2.0.1/lib/tls/x86_64", 0x7fbfffa880) = -1 ENOENT (No such file or directory)
open("/OracleTools/10.2.0.1/lib/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/OracleTools/10.2.0.1/lib/tls", 0x7fbfffa880) = -1 ENOENT (No such file or directory)
open("/OracleTools/10.2.0.1/lib/x86_64/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/OracleTools/10.2.0.1/lib/x86_64", 0x7fbfffa880) = -1 ENOENT (No such file or directory)
open("/OracleTools/10.2.0.1/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/OracleTools/10.2.0.1/lib", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0
open("/usr/lib/tls/x86_64/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls/x86_64", 0x7fbfffa880) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls", 0x7fbfffa880) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64", 0x7fbfffa880) = -1 ENOENT (No such file or directory)
open("/usr/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib", {st_mode=S_IFDIR|0755, st_size=32768, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=105214, ...}) = 0
mmap(NULL, 105214, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a9566d000
close(3) = 0
open("/lib64/tls/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\322\1\0"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0755, st_size=1669064, ...}) = 0
mmap(NULL, 2375528, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a95687000
mprotect(0x2a957c2000, 1085288, PROT_NONE) = 0
mmap(0x2a958c2000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x13b000) = 0x2a958c2000
mmap(0x2a958c7000, 16232, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a958c7000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a958cb000
arch_prctl(ARCH_SET_FS, 0x2a958cb4c0) = 0
munmap(0x2a9566d000, 105214) = 0
brk(0) = 0x505000
brk(0x526000) = 0x526000
brk(0) = 0x526000
open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=32148976, ...}) = 0
mmap(NULL, 32148976, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a958cc000
close(3) = 0
fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
open("/etc/fstab", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=10125, ...}) = 0
read(3, "/dev/sda1 / "..., 4096) = 4096
write(1, "/dev/sda1 / "..., 4096) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
+++ killed by SIGPIPE +++