Lab covering Ch5 Redirection. 10 points Critical Skills: Using Redirection in a realistic manner redirecting stdin on at least one utility copying a file and using chmod a file so that I can read it using vi to edit a file getting the file name correct and in the right place. Log into shaula and practice redirection using your utilities that you already know. Here are some examples: ls -l >file (sends a long listing of a directories contents to "file") ls -l |grep lab >file (long listing is piped to grep and any file that is found with "lab" in the title is redirected to "file") mail -s "test redirstdin" your_netid@shaula.csit.parkland.edu finger_thurs_2_7_08 cat poem >redirected_poem mail -s passwd smauney@csit.parkland.edu howmany_files ls -l file |wc -l >howmany_files ls -l |grep file ls -l |grep file |wc ls -l |grep file |wc -l >>howmany_files llllls 2>errors ls -l |grep poem ls -l |grep poem ls -li |grep poem ls |grep poem ls |grep lab ls |grep lab |less ./first.sh 1>first_output ./first.sh >first_output 2>&1 (see p. 309 on stdout and stderr basically you stick stdout and stderr together using 2>&1 and then you redirect both to a file at the same time.) Once you have tested at LEAST 25 different redirections you will then logout, log back in and copy your .bash_history to a file in your home directory called "redirection_lab.txt" (no quotes please) Then chmod that file 644 so that I can get into it, and edit the file so that all that it contains is the commands that you ran that use redirection just like I did above. I'll grep around in that file to see if you have practiced redirection etc. CSC128: Redirection Lab