View the output below. As a root user, you run the two ulimit commands as shown in the
output below. Why does the second ulimit command fail as shown in the output?
A.
The soft limit of file descriptions’ value should always be less than 1024.
B.
The ulimit command cannot be run from the bash shell.
C.
The ulimit command syntax is not correct.
D.
The soft limit value of file description cannot be set greater than the hard limit value.
Explanation:
Any user can set a soft limit to any value less than or equal to the hard limit. Any
user can lower a hard limit. Only a user with appropriate privileges can raise or remove a hard
limit.
Note:
*limit, ulimit, unlimit– set or get limitations on the system resources available to the current shell
and its descendents
* Syntax:
ulimit [- [HS] [c | d | f | n | s | t | v]] limit
-H
Displays or sets a hard limit.
-S
Displays or sets a soft limit.
Reference: man ulimit