Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / Question:1

Question:1

Computer Science

Question:1. user name of the owner (hints: Stevens & Rago, 6.2.); Unix system C program, that is similar to the standard Unix utility ls -l (but with much less functionality). Speci?cally, it takes a list of command line arguments, treating each command line argument as a ?le name. It then reports the following information for each ?le: 2. group name of the group owner; (hints: Stevens & Rago, 6.4.); 3. the type of ?le; 4. full access permissions, reported in the format used by the ls program;

5. the size of the ?le;

6. i-node number;

7. the device number of the device in which the ?le is stored, including both major number and minor number (hints: Stevens & Rago, 4.23.);

8. the number of links;

9. last access me, converted to the format used by the ls program (hint: Stevens & Rago, 6.10.);

10. last modi?cation me, converted to the format used by the ls program;

11. last me ?le status changed, converted to the format used by the ls program;

 

Like ls -l command, if no command line argument is provided, the program simply reports the information about the ?les in the current directory.

Of course, your program cannot use ls program in any way.

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE

Related Questions