- List all files in the
/usr/bindirectory with a file size greater than 50 KB. - Store the search result of all files in the
/usr/sharedirectory that are greater than 50 MB and less than 100 MB in the/mnt/freespace/search2.txtfile.
- Complete these exercises on controller.
- Work as root unless the exercise explicitly tests access as another user.
- Search only the path named in the exercise and redirect large result sets to the requested output file.
- Do not follow or cross into other filesystems unless the exercise explicitly requires it.
- Do not modify, move, or delete files returned by a search-only exercise.
- Search results and created links must remain available at the requested paths until graded.
- Search
/usr/binfor regular files larger than 50 KiB, sort the absolute paths by name, and store the results in/root/usr-bin-over-50k.txt. - Meet every name, path, size, address, time, port, permission, or other value exactly as written. Do not substitute different values unless the instructor approves them.
- Limit changes to resources used by this exercise and leave unrelated system configuration unchanged.
- Verify the result with
find,stat,file,ls -li,df -hT,findmnt, and line or file counts for saved results. - Demonstrate both the configured state and its practical effect; a configuration file alone is not sufficient evidence.
- Record the commands used and the relevant verification output for instructor review.
- Find regular files in
/usr/sharelarger than 50 MiB but smaller than 100 MiB and write absolute paths to/mnt/freespace/search2.txt. - Meet every name, path, size, address, time, port, permission, or other value exactly as written. Do not substitute different values unless the instructor approves them.
- Limit changes to resources used by this exercise and leave unrelated system configuration unchanged.
- Verify the result with
find,stat,file,ls -li,df -hT,findmnt, and line or file counts for saved results. - Demonstrate both the configured state and its practical effect; a configuration file alone is not sufficient evidence.
- Record the commands used and the relevant verification output for instructor review.
- Find files owned by
studentbelow/homewithout reporting permission errors; save absolute paths and a total count in/root/student-files.txt. - Meet every name, path, size, address, time, port, permission, or other value exactly as written. Do not substitute different values unless the instructor approves them.
- Limit changes to resources used by this exercise and leave unrelated system configuration unchanged.
- Verify the result with
find,stat,file,ls -li,df -hT,findmnt, and line or file counts for saved results. - Demonstrate both the configured state and its practical effect; a configuration file alone is not sufficient evidence.
- Record the commands used and the relevant verification output for instructor review.
- Search the root filesystem for regular files whose mode is exactly
0777, do not cross filesystem boundaries, and save errors separately from results. - Meet every name, path, size, address, time, port, permission, or other value exactly as written. Do not substitute different values unless the instructor approves them.
- Limit changes to resources used by this exercise and leave unrelated system configuration unchanged.
- Verify the result with
find,stat,file,ls -li,df -hT,findmnt, and line or file counts for saved results. - Demonstrate both the configured state and its practical effect; a configuration file alone is not sufficient evidence.
- Record the commands used and the relevant verification output for instructor review.
- Find regular files below
/var/logmodified within the previous 24 hours and produce a long listing sorted by modification time. - Meet every name, path, size, address, time, port, permission, or other value exactly as written. Do not substitute different values unless the instructor approves them.
- Limit changes to resources used by this exercise and leave unrelated system configuration unchanged.
- Verify the result with
find,stat,file,ls -li,df -hT,findmnt, and line or file counts for saved results. - Demonstrate both the configured state and its practical effect; a configuration file alone is not sufficient evidence.
- Record the commands used and the relevant verification output for instructor review.
- List empty regular files and empty directories below
/tmpin separate output files without deleting either type. - Meet every name, path, size, address, time, port, permission, or other value exactly as written. Do not substitute different values unless the instructor approves them.
- Limit changes to resources used by this exercise and leave unrelated system configuration unchanged.
- Verify the result with
find,stat,file,ls -li,df -hT,findmnt, and line or file counts for saved results. - Demonstrate both the configured state and its practical effect; a configuration file alone is not sufficient evidence.
- Record the commands used and the relevant verification output for instructor review.
- Create
/tmp/link-lab/source.txt, one hard link, and one symbolic link; record inode, link count, size, and behavior after renaming the source. - Meet every name, path, size, address, time, port, permission, or other value exactly as written. Do not substitute different values unless the instructor approves them.
- Limit changes to resources used by this exercise and leave unrelated system configuration unchanged.
- Verify the result with
find,stat,file,ls -li,df -hT,findmnt, and line or file counts for saved results. - Demonstrate both the configured state and its practical effect; a configuration file alone is not sufficient evidence.
- Record the commands used and the relevant verification output for instructor review.
- Create
/root/filesystem-report.txtshowing source device, filesystem type, total size, available space, and mount options for/,/boot, and/homewhen separate. - Meet every name, path, size, address, time, port, permission, or other value exactly as written. Do not substitute different values unless the instructor approves them.
- Limit changes to resources used by this exercise and leave unrelated system configuration unchanged.
- Verify the result with
find,stat,file,ls -li,df -hT,findmnt, and line or file counts for saved results. - Demonstrate both the configured state and its practical effect; a configuration file alone is not sufficient evidence.
- Record the commands used and the relevant verification output for instructor review.
- Investigate
lswithwhich,whereis, and shelltype; save the output and explain aliases, shell built-ins, and executable paths in two or three sentences. - Meet every name, path, size, address, time, port, permission, or other value exactly as written. Do not substitute different values unless the instructor approves them.
- Limit changes to resources used by this exercise and leave unrelated system configuration unchanged.
- Verify the result with
find,stat,file,ls -li,df -hT,findmnt, and line or file counts for saved results. - Demonstrate both the configured state and its practical effect; a configuration file alone is not sufficient evidence.
- Record the commands used and the relevant verification output for instructor review.
- Copy every
.confregular file below/etcinto/root/conf-backupwhile preserving paths relative to/etc; do not flatten duplicate filenames. - Meet every name, path, size, address, time, port, permission, or other value exactly as written. Do not substitute different values unless the instructor approves them.
- Limit changes to resources used by this exercise and leave unrelated system configuration unchanged.
- Verify the result with
find,stat,file,ls -li,df -hT,findmnt, and line or file counts for saved results. - Demonstrate both the configured state and its practical effect; a configuration file alone is not sufficient evidence.
- Record the commands used and the relevant verification output for instructor review.