nerdexam
Linux_Foundation

LFCS · Question #507

Which of the following commands is used to set restrictions on the size of a core file that is created for a user when a program crashes?

The correct answer is C. ulimit. The ulimit command is used to manage user resource limits, including the maximum size of core dump files.

Submitted by parkjh· Apr 18, 2026Essential Commands

Question

Which of the following commands is used to set restrictions on the size of a core file that is created for a user when a program crashes?

Options

  • Acore
  • Bedquota
  • Culimit
  • Dquota

How the community answered

(16 responses)
  • C
    94% (15)
  • D
    6% (1)

Why each option

The `ulimit` command is used to manage user resource limits, including the maximum size of core dump files.

Acore

`core` is not a standard command for managing core file size limits; it refers to the core dump file itself.

Bedquota

`edquota` is used to edit user disk quotas, not general resource limits like core file size.

CulimitCorrect

The `ulimit` command allows an administrator or user to view or set shell resource limits. Specifically, `ulimit -c` is used to control the maximum size of a core file that can be created upon a program crash.

Dquota

`quota` is used to display disk quota information, not to set resource limits for core files.

Concept tested: User resource limits (ulimit)

Source: https://man7.org/linux/man-pages/man1/ulimit.1.html

Topics

#ulimit#core files#resource limits

Community Discussion

No community discussion yet for this question.

Full LFCS Practice