369 views
0 votes
0 votes
In early UNIX systems, executable files (a.out files) began with a very specific magic number, not one chosen at random. These files began with a header, followed by the text and data segments. Why do you think a very specific number was chosen for executable files, whereas other file types had a more-or-less random magic number as the first word?

Please log in or register to answer this question.

Related questions

700
views
1 answers
0 votes
admin asked Oct 26, 2019
700 views
Is the open system call in $UNIX$ absolutely essential? What would the consequences be of not having it?
334
views
0 answers
0 votes
admin asked Oct 27, 2019
334 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?
319
views
0 answers
0 votes
admin asked Oct 27, 2019
319 views
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 ... a reasonable way given its type. List only the first disk address, if any.
330
views
0 answers
0 votes
admin asked Oct 27, 2019
330 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.