Created
September 24, 2012 23:00
-
-
Save ncimino/3778977 to your computer and use it in GitHub Desktop.
Check which machine a directory is mounted to
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Expects /path/to/dir_name | |
df ${1} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment