Find1 xv6 Lab: Utilities (4) find 이 문제는 MIT의 xv6 수업에 출처가 있습니다. 출처 : Lab: Xv6 and Unix utilities (mit.edu) Write a simple version of the UNIX find program: find all the files in a directory tree with a specific name. Your solution should be in the file user/find.c find 명령어를 구현하는 문제이다. find 명령어를 실행하면 path의 디렉토리에 들어있는 모든 파일(디렉토리 포함)을 검사하여 target과 동일한 이름을 가진 파일의 경로를 모두 출력한다. 사전 지식) 구조체 dirent struct dirent{ long d_ino; //inode 번호 of.. 2022. 9. 2. 이전 1 다음