Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started