Quiz 6
[APUE01] This filename is automatically created whenever a new directory is created.
. (called dot)
[APUE01] ___ refers to the current directory.
. (called dot)
[APUE01] There is also a group file that maps group names into numeric group IDs. The group file is usually ____.
/etc/group
[APUE01] The system then looks up our login name in its password file, usually the file ____.
/etc/passwd
[APUE01] Which one of the following statements is NOT correct?
A directory could be any physical device which represents the hierarchical file system.
[APUE01] An executing instance of a program is called _____, a term used on almost every page of this text. Some operating systems use the term task to refer to a program that is being executed.
A process
[APUE01] ___ is an executable file residing on disk in a directory. ____ is read into memory and is executed by the kernel as a result of one of the seven exec functions.
A program
[APUE01] ___ is a command-line interpreter that reads user input and executes commands.
A shell
[APUE01] Which of the following statements is not correct?
Process time is measured in clock ticks, which have historically been 50, 60, or 100 ticks per micro-second.
[APUE01] Which of the following statements is not correct? The UNIX System maintains various time values for a process. One of them is ___.
Signal Interrupt time
[APUE01] In Unix, The interface to the kernel is a layer of software called the ____ calls.
System
[APUE01] _____ developed by Steve ____ at Bell Labs, has been in use since Version 7 and is provided with almost every UNIX system in existence. The control-flow constructs of this shell are reminiscent of Algol 68.
The Bourne shell
[APUE01] _____ is the GNU shell provided with all Linux systems. It was designed to be POSIX conformant, while still remaining compatible with the Bourne shell. It supports features from both the C shell and the Korn shell.
The Bourne-again shell
[APUE01] This shell _____ is considered a successor to the Bourne shell and was first provided with SVR4. This is developed by David ___ at Bell Labs, runs on most UNIX systems, but before SVR4 was usually an extra-cost add-on, so it is not as widespread as the other two shells. It is upward compatible with the Bourne shell and includes those features that made the C shell popular: job control, command-line editing, and so on.
The Korn shell
[APUE01] Which of the following statements is not correct?
The fork call replaces the child process with the new program file.
[APUE01] Which of the following statements is not correct?
With many recent operating systems, the kernel entry points are defined in the Java language.
[APUE01] The UNIX file system is _____ arrangement of directories and files.
a hierarchical
[APUE01] In the root directory, dot-dot is the same as ____.
dot
[APUE01] ____ is normally small non-negative integer that the kernel uses to identify the file accessed by a process. Whenever it opens an existing file or creates a new file, the kernel returns ____ that we use when we want to read or write the file.
file descriptor
[APUE01] When one logs in, the default directory is set to be one's ___ directory which is obtained from our entry in the password file.
home
[APUE01] In Unix file system, everything starts in the directory called ____, whose name is the single character /.
root
[APUE01] The ___ character separates the filenames that form a pathname.
slash
[APUE01] In Unix, it is easy to measure the clock time, user time, and system time of any process: simply execute the ___ command, with the argument for what we want to measure.
time
[APUE01] For portability, POSIX.1 recommends restricting filenames to consist of the following characters: letters (a-z, A-Z), numbers (0-9), period (.), dash (-), and _____ character.
underscore
[APUE01] Every process has a ____ directory. This is the directory from which all relative pathnames are interpreted. A process can change its ___ directory with the chdir function.
working