sudo mount -t nfs -o vers=4.2 server:/export /mnt/nfs
Mount NFS with a pinned protocol version
The vers option selects the NFS dialect, and 4.2 is the current mainstream version with server-side copy and better locking than v3. Pinning the version avoids negotiation failures against picky servers. NFSv4 also collapses the firewall port sprawl that v3 required.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.