Time left:

[All Quizzes] → [Linux System Programming] → [Files and Directories]


1. ► ANSI C IO libraries are unbuffered.

A.
B.

2. ► fcntl is used to get as well as set file attributes.

A.
B.

3. ► sync does not need any arguments.

A.
B.

4. ► ANSI C IO routines automatically deal with concurrency.

A.
B.

5. ► Poll is much more efficient than select and should be the default choice.

A.
B.

6. ► lseek cannot absolutely position a file pointer.

A.
B.

7. ► A file cannot be deleted unless all its hard links have been deleted.

A.
B.

8. ► It is possible to control the number of system calls in ANSI C IO libraries.

A.
B.

9. ► fdatasync and fsync do exactly the same thing.

A.
B.

10. ► access call returns a -1 if the permission check succeeds.

A.
B.

11. ► stat command reports total number of hard links to a file.

A.
B.

12. ► Directory routines in the file dirent.h have routines for recursively accessing directories.

A.
B.

13. ► open call returns -1 on error.

A.
B.

14. ► stat is a system call which is used to retrieve information about a file.

A.
B.

15. ► Soft links reference the name of the file or directory.

A.
B.

16. ► Only the superuser can view /var/log/messages.

A.
B.

17. ► Inode stands for: Interface Nodes.

A.
B.

18. ► File locks are mandatory on a GNU/Linux system.

A.
B.

19. ► A file system only has a fixed number of inodes which are configured at each reboot.

A.
B.

20. ► Only a process started by the superuser can write to the logging daemon.

A.
B.


© 2016 VirtuQ™ Education All right reserved. | Terms of Use | Privacy Policy