Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In this programming project, you are asked to implement a simplified version of the 'find' utility on Linux system. This assignment assists you for better
In this programming project, you are asked to implement a simplified version of the 'find' utility on Linux system. This assignment assists you for better understanding of file systems design, how to use the Linux's system calls, and enhancing programming skills and experience with programming on a Unix-like environment. Description The find utility is used to locate files on a Unix or Linux system. find will search any set of directories you specify for files that match the supplied search criteria. You can search for files by name, owner, group, type, permissions, date, and other criteria. The search is recursive in that it will search all subdirectories too. The syntax looks like this: Sfind where-to-look criteria what-to-do Requirements You need to implement the following functionalities. You can compare the output of your program with the output of the standard find utility provided on Linux. 1. 2. find where-to-look find where-to-look criteria a. b. c. find where-to-look -name find where-to-look -mmin find where-to-look-inum 3. find where-to-look criteria -delete Extra credit: 4. find where-to-look criteria -exec command Details of Each Functionality 1. find where-to-look This will display the pathnames of all files in the specified directory and all subdirectories. e.g. (if no directory specified, the default is the current working directory) In this programming project, you are asked to implement a simplified version of the 'find' utility on Linux system. This assignment assists you for better understanding of file systems design, how to use the Linux's system calls, and enhancing programming skills and experience with programming on a Unix-like environment. Description The find utility is used to locate files on a Unix or Linux system. find will search any set of directories you specify for files that match the supplied search criteria. You can search for files by name, owner, group, type, permissions, date, and other criteria. The search is recursive in that it will search all subdirectories too. The syntax looks like this: Sfind where-to-look criteria what-to-do Requirements You need to implement the following functionalities. You can compare the output of your program with the output of the standard find utility provided on Linux. 1. 2. find where-to-look find where-to-look criteria a. b. c. find where-to-look -name find where-to-look -mmin find where-to-look-inum 3. find where-to-look criteria -delete Extra credit: 4. find where-to-look criteria -exec command Details of Each Functionality 1. find where-to-look This will display the pathnames of all files in the specified directory and all subdirectories. e.g. (if no directory specified, the default is the current working directory)
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