The command df -k directory displays the used and available disk space for each of the mounted file systems. The example indicates that 101061 kilobytes are available in /opt
For example: df -k /opt could display something like the following:
Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t0d0s5 123455 10049 101061 10% /opt |