Skip to content

Instantly share code, notes, and snippets.

@dominiksalvet
Last active April 4, 2020 21:06
Show Gist options
  • Select an option

  • Save dominiksalvet/9b70f31dae182f3706bde7dd84386076 to your computer and use it in GitHub Desktop.

Select an option

Save dominiksalvet/9b70f31dae182f3706bde7dd84386076 to your computer and use it in GitHub Desktop.
Mount NFS on Linux
#!/bin/sh
# $1 - url address of the NFS, $2 - directory to mount
sudo mount -t nfs "$1":/"$2" /mnt/"$2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment