To display the current soft limit, for C shells, enter:
limit descriptors
For Bourne shells, enter:
ulimit -n
To display the current hard limit for C shells, enter:
limit -h descriptors
ulimit -Hn