Suppose do you want test if /mnt/disk is a mount point in a shell script. How do you do this?
mount | awk '$3 == "/pa/th" {print $1}'
Empty if is not a mountpoint ^^