Construct pipes to execute the following jobs?

Submitted by: Administrator
Who | echo "total users `who|wc -l`"ls | grep -c "poem" | tee filename.txtcat file1 file2 >> filetoappendto.txt??rm -rf dir1 | tee errorlog
Submitted by: Administrator

Read Online Unix/Linux programming Job Interview Questions And Answers