In this article, we explained how to Change ulimit values permanently for a user or all user in Linux.
The ulimit is a mechanism to restrict the number of various resources a process can consume. There’s a shell command to set the ulimit for processes which are started in that shell.
It will provide control over the resources a user or a process in a shell can use.  You can list the current setting of ulimit values by login as your user and type the following commands

Default values should be 4096 and 1024 respectively.

So it will also determine the number of open files a user can open or edit. For increasing the ulimit, you need to change those parameters in a configuration file called


This how you can change ulimit values permanently for a user or all user in Linux