mountpoint# Test whether a path is a mountpoint. $ mountpoint /mnt/data $ mountpoint -q /mnt/data && echo mounted