Skip to content

Instantly share code, notes, and snippets.

@ncimino
Created September 24, 2012 23:00
Show Gist options
  • Save ncimino/3778977 to your computer and use it in GitHub Desktop.
Save ncimino/3778977 to your computer and use it in GitHub Desktop.
Check which machine a directory is mounted to
#!/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