Skip to content

Instantly share code, notes, and snippets.

@jorge-lavin
Created February 13, 2015 08:12
Show Gist options
  • Save jorge-lavin/b8b6e9ef783c6851c08a to your computer and use it in GitHub Desktop.
Save jorge-lavin/b8b6e9ef783c6851c08a to your computer and use it in GitHub Desktop.
Where is mounted a folder or a file
df -P file/goes/here | tail -1 | cut -d' ' -f 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment