CSIS 82 ASSIGNMENT 3 DUE: Next Thursday Chapter 5 Power Commands Name: Enter the command to solve the problem in column on the right. Refer to Tutorial Sheet on Powerful Unix Commands 1 Log into terra 2 find out who is logged into the system 3 get more information about one of the users 4 add to your answer for (2) to show users alphabetically (use pipe) 5 Use a ls option to determine what is the last modified file in the ../cs82 dir what is filename? 6 list all filenames in cs82 dir and redirect output (>) into a file cs82list in your home dir 7 repeat (6) with a recursive –R option and lists subdirectories as well and put in cs82rec_list in your home dir 8 repeat (7) with a wild card to only show .txt files, put in file cs82rec_txt_list 9 copy the whole cs82 dir to your home dir 10 rm –R this directory, abort, then repeat using force option to override –i alias 11 make alias for pico so you just have to type p file to edit 12 sort the contents of your cs82rec_list file 13 repeat (12) and pipe into wc –w to determine how many files 14 repeat (12) and pipe into uniq, then wc to determine how many unique filenames 15 make a new file prob15 using touch 15 change permission of prob15 so only group can read and write, everyone else (user and other) nothing 16 change permission of prob15 to -r-x--x-w- using numbers 17 change permission of prob15 to -rwx-wx-w- using symbol method (example: ugo+rwx) etc 18 change owner of prob15 to tom can you change back? 19 Repeat step 9…who is owner of all the files in your cs82 copy? 20 Recursively make all files and subdirs in cs82 rwx for user only 21 Use find to find all files called ncurses.h on whole system…is it there? What dir is it in? 22 Use grep to find all files containing the word "ncurses.h" in whole system