How to Increase Number of Open Files Limit in Linux

1

I'm trying to increase the number of files that can be opened by a user, but I keep getting the error:

bash: ulimit: open files: cannot modify limit: Operation not permitted

Currently it's at:

rev@kali:~$ ulimit -n
1024

How can I increase the size, say to 999999?

Thank you all in advance.

Program-Me-Rev

Posted 2017-05-24T18:45:40.190

Reputation: 345

No answers