You can display the current soft and hard limits for C and Bourne shells.
To display the current soft or hard limits:- For soft C shells, enter:
limit descriptors
- For soft Bourne shells, enter:
ulimit -n
- For hard C shells,
enter:
limit -h descriptors
- For hard Bourne shells, enter:
ulimit -Hn