adplus-dvertising

Welcome to the Basic System Administration MCQs Page

Dive deep into the fascinating world of Basic System Administration with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of Basic System Administration, a crucial aspect of UNIX. In this section, you will encounter a diverse range of MCQs that cover various aspects of Basic System Administration, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within UNIX.

frame-decoration

Check out the MCQs below to embark on an enriching journey through Basic System Administration. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of UNIX.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of Basic System Administration. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

Basic System Administration MCQs | Page 9 of 10

Explore more Topics under UNIX

Q81.
Which of the following system call is used for closing a file?
Discuss
Answer: (c).close
Q82.
close system call returns ____
Discuss
Answer: (d).0 and -1
Q83.
____ system call is used for writing to a file.
Discuss
Answer: (b).write
Discuss
Answer: (d).if disk fills up while write is in progress and if the file size exceeds
Q85.
____ system call is used for positioning the offset pointer.
Discuss
Answer: (d).lseek
Q86.
Which of the following offset is used with lseek system call to set the offset pointer to the end of the file?
Discuss
Answer: (b).SEEK_END
Q87.
Which of the following system call is used for truncating a file?
Discuss
Answer: (d).truncate and ftruncate
Q88.
truncate needs the ___ of the file as an argument but ftruncate works with _______
Discuss
Answer: (a).pathname, file descriptor
Discuss
Answer: (c).The function fstat refers a file by its file descriptor
Q90.
Which of the following fields in the structure stat, has information about the permission setting of a file?
Discuss
Answer: (b).st mode
Page 9 of 10

Suggested Topics

Are you eager to expand your knowledge beyond UNIX? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!