What is the difference between:
a) using the ulimit
command to set a limit on a resource?
b) editing the /etc/security/limits.conf
file for the same purpose?
e.g. what is the entry that should be placed in /etc/security/limits.conf
to account for ulimit -n 8192
?
Is the limit set by ulimit -n 8192
soft or hard?
For whom is it being set?
For the user running the command?
Or it becomes the default entry as if we were using domain=*
in /etc/security/limits.conf