ulimit -n displays the maximum number of open file descriptors.

I don't think this is the command you're looking for.

Here's an article about it: http://www.itworld.com/operating-sys...-limits-ulimit