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.
Question
Options
- Auname
- Blimit -a
- Cusrlmt
- Dulimit
How the community answered
(22 responses)- A5% (1)
- C9% (2)
- D86% (19)
Why each option
The `ulimit` command is used to display or modify resource limits for the current user and their processes.
`uname` is used to display system information like the kernel name, version, and architecture, not user resource limits.
`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).
`usrlmt` is not a standard Unix/Linux command for managing or displaying user resource limits.
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
Community Discussion
No community discussion yet for this question.