nerdexam
CompTIA

LX0-104 · Question #274

Which of the following commands is used to display user resource limits?

The correct answer is D. ulimit. The ulimit command is used to display or modify resource limits for the current user and their processes.

Administrative Tasks

Question

Which of the following commands is used to display user resource limits?

Options

  • Auname
  • Blimit -a
  • Cusrlmt
  • Dulimit

How the community answered

(22 responses)
  • A
    5% (1)
  • C
    9% (2)
  • D
    86% (19)

Why each option

The `ulimit` command is used to display or modify resource limits for the current user and their processes.

Auname

`uname` is used to display system information like the kernel name, version, and architecture, not user resource limits.

Blimit -a

`limit -a` is a command used in C shell (csh/tcsh) to display limits, but `ulimit` is the more widely adopted and standard command across Bourne-like shells (sh, bash, ksh).

Cusrlmt

`usrlmt` is not a standard Unix/Linux command for managing or displaying user resource limits.

DulimitCorrect

The `ulimit` command is the standard Unix/Linux utility used to display and set various resource limits, such as maximum open files, process count, or memory, for the current shell and any processes initiated from it.

Concept tested: User resource limits management

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

Topics

#resource limits#ulimit command#user management

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice