nfs-ls -D nfs://$IP

Read a file off an NFS export with libnfs, including spoofing uid and gid 0 to bypass root squash

Command: Linux

References:

https://github.com/sahlberg/libnfs