ls ; echo ; pwd | cat > file2 ls | cat pwd ; echo hello