Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?
Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?
The command used to set restrictions on the size of a core file that is created for a user when a program crashes is 'ulimit'. The 'ulimit' command controls the resources available to the shell and to processes started by it, including the size of core files.
D is correct
could somebody tell us what's the option for the ulimit command?
-c the maximum size of core files created
"-c maximum core file size (in 512-byte blocks)" https://docs.oracle.com/cd/E19683-01/816-0210/6m6nb7mo3/index.html#:~:text=%2Dc,512%2Dbyte%20blocks)