The scripts in this repo try to solve few of the following requirements: ==== * Write a file f0 containing UNIX commands, in the directory A3-Name-id-stdid, such that : * Finds a file in /users/groups/cs282 which is member of the group 282 and its length is greater than 0 * If you find more than one file, select the shortest one. * Your sequence of UNIX commands should identify that file and copy it in your home directory. and expand the content of the archive. * Create a file f1 containing a list of UNIX commands, in the directory A3-Name-id-stdid, such that: * copy the entire content of the subdirectory sampleA3 in A3-Name-id-stdid * create the directory CS282Out in A3-Name-id-stdid. * change the group of all the files in CS282Data to the group cs282. The group is changed just for the files, not to the parent directory CS282Data. * give permission to read and execute for others to the whole directory CS282in * restrict writing permissions for everybody for all the files in CS282in * print each step that is executed. * Create a file f2 containing a list of UNIX commands, in the directory A3-Name-id-stdid, such that: * files with names starting with letter a, containing letter b on the fourth position in the directory CS282in are selected and concatenated together in the file name-id.txt in CS282Out, where name is your name and id is the gid of the person executing the file f2. * give write access to others, but disable execute for group and others. * list the number of files concatenated together and the statistic for the results in the following format: name-id.txt contains w words, c characters, and l lines, where w, c, l are replaced with the real values. * print a meaningful message for each processing step. * Create a file f3 containing a list of UNIX commands, in the directory A3-Name-id-stdid, such that: * takes the first three files from CS282in starting with letter b in alphabetical order to CS282out * delete all the others starting with letter b and list the names of the deleted files * execute f1 and f2 * disable execution for f1 and f2 * create a directory temp in A3-Name-id-stdid with all permissions for everybody, that cannot be deleted * copy f1 in this directory giving execution rights for everybody, but f1 will be executed as the owner.