I want to increase the hard limit of maxfiles using
ulimit -Hn for the current bash shell. The problem is I can not do it without using
sudo. But, when I do
sudo ulimit -Hn unlimited, it does not effect the current shell's limits, instead it changes the limit for a child shell which is invoked for
Is there a way to achieve it for the current shell from with we are issuing the
ulimit command? I am using Mac OS x 10.6.x.
Thanks in advance.