nerdexam
Linux_Foundation

LFCS · Question #13

Which of the following commands can be used to limit the amount of memory a user may use?

The correct answer is C. ulimit. The ulimit command is used to set or report resource limits for the current shell and its child processes, including the amount of memory a user or process may use.

Submitted by andreas_gr· Apr 18, 2026User and Group Management

Question

Which of the following commands can be used to limit the amount of memory a user may use?

Options

  • Aumask
  • Busermod
  • Culimit
  • Dpasswd
  • Echage

How the community answered

(31 responses)
  • A
    6% (2)
  • C
    90% (28)
  • E
    3% (1)

Why each option

The ulimit command is used to set or report resource limits for the current shell and its child processes, including the amount of memory a user or process may use.

Aumask

umask sets the default file permissions for newly created files and directories, not memory limits.

Busermod

usermod is used to modify user account properties, such as username, home directory, or shell, but not runtime resource limits like memory.

CulimitCorrect

The ulimit command allows users and system administrators to control resource limits, such as memory usage (e.g., using -m for virtual memory or -v for data segment size) and CPU time, for processes started from the current shell session. These limits prevent processes from consuming excessive system resources and affecting overall system stability.

Dpasswd

passwd is used to change a user's password.

Echage

chage is used to change user password expiry information.

Concept tested: Process resource limits ulimit

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

Topics

#ulimit#resource limits#memory limits#user resource management

Community Discussion

No community discussion yet for this question.

Full LFCS Practice