320 views
0 votes
0 votes
Write a new version of the UNIX ls program. This version takes as an argument one or more directory names and for each directory lists all the files in that directory, one line per file. Each field should be formatted in a reasonable way given its type. List only the first disk address, if any.

Please log in or register to answer this question.

Related questions

335
views
0 answers
0 votes
admin asked Oct 27, 2019
335 views
Implement a program to measure the impact of application-level buffer sizes on read time. This involves writing to and reading from a large file (say, $2$ ... does buffer size make a difference to the overall write time and per-write time?
331
views
0 answers
0 votes
admin asked Oct 27, 2019
331 views
Write a program that scans all directories in a $UNIX$ file system and finds and locates all i-nodes with a hard link count of two or more. For each such file, it lists together all file names that point to the file.
241
views
0 answers
0 votes
admin asked Oct 27, 2019
241 views
It has been suggested that the first part of each UNIX file be kept in the same disk block as its i-node. What good would this do?
237
views
0 answers
0 votes
admin asked Oct 27, 2019
237 views
We discussed making incremental dumps in some detail in the text. In Windows it is easy to tell when to dump a file because every file has an archive bit. This ... missing in $UNIX.$ How do $UNIX$ backup programs know which files to dump?