Question: 3. Before writing this program note the group id # of your alternate group (sharks, minnows, dolphins) using the id command. Implement the following: cmd

 3. Before writing this program note the group id # of

3. Before writing this program note the group id # of your alternate group (sharks, minnows, dolphins) using the id command. Implement the following: cmd file1 file2 file3 file4 ..... a. Attempt to create each of the files listed, report on your success using perror. At least one of these files should previously exist. b. Use truncate to alter the size of each file to a random size between 20 and 100 bytes. then change the group ownership of these files to your alternate group. c. End your program by using the system along with the Is command to show that this worked. 3. Before writing this program note the group id # of your alternate group (sharks, minnows, dolphins) using the id command. Implement the following: cmd file1 file2 file3 file4 ..... a. Attempt to create each of the files listed, report on your success using perror. At least one of these files should previously exist. b. Use truncate to alter the size of each file to a random size between 20 and 100 bytes. then change the group ownership of these files to your alternate group. c. End your program by using the system along with the Is command to show that this worked

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!