NFS-LS(1)

πŸ“¦
version 6.0.2 Β· 2 versions
  • 6.0.2 Β· alpine 3.24, debian bookworm, debian trixie, epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 7.0.2 Β· arch rolling
, in alpine 3.24, debian bookworm, debian trixie, epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’… NFS-LS(1) β€” the nfs-ls manual, but make it cute

okay so bestie, welcome to nfs-ls, a lil utility from the nfs-ls: list servers, exports manual page. she's giving ✨inventory of your NFS situation✨ and honestly? obsessed.


🌸 NAME 🌸

nfs-ls β€” the utility that lists NFS servers, exports and directories. that's the whole job. she lists things. she's an icon, she's a legend, and she is the moment. πŸ‘‘


✨ SYNOPSIS ✨

nfs-ls [ OPTIONS ] <NFS-URL>

nfs-ls [-R --recursive] [-s --summary] [-D --discovery] [-? --help]
       [--usage]

πŸ¦‹ DESCRIPTION πŸ¦‹

nfs-ls is a utility to list NFS servers, exports or directories. that's it, that's the vibe check. three levels of listing, zero drama.

Example: List the content of a directory on the NFS server

$ nfs-ls nfs://127.0.0.1/data/tmp
-rwxrwxr-x  1  1000  1000      1190802 a.out
-rwxr-xr-x  1  1000  1000           13 foo123.copy
-rwxrwxrwx  1  1000  1000            8 foo123.writtenx

look at those permissions go 😭 she ate and left absolutely no crumbs.


πŸ’– OPTIONS πŸ’–

  • -s, --summary β€” drops a little summary line at the very end of the output. a goodbye note. a mic drop. 🎀
  • -R, --recursive β€” recursive listing of the URL you specified. she goes deep. she goes all the way down the directory tree. no folder left un-listed, periodt. 🌈
  • -D, --discovery; β€” okay so yes, the semicolon is literally in the original manpage and i am NOT touching it, that's her little quirk, we stan πŸ™ˆ. this option is the one you use to discover local NFS servers and to list the exports for specific servers.
    • when you use it with the nfs:// URL, the command will try to detect all local NFS servers and will list their IPs. it's giving detective energy πŸ”
    • when you use it with a nfs://server, the command will list all the exports on the specified server.

Example: Discover and list all local NFS servers

$ nfs-ls -D nfs://
nfs://10.10.10.10
nfs://10.0.0.10

Example: List the exports for a server

$ nfs-ls -D nfs://10.10.10.10
nfs://10.10.10.10/foo
nfs://10.10.10.10/bar

see how the IPs just show up? main character behavior fr fr πŸ’…

  • -?, --help β€” displays the basic help text. when you're lost in the sauce, she's your map. 🫢
  • --usage β€” displays the basic usage text. the short version. the tl;dr. the "just tell me how to type it" version. ⭐

πŸ”₯ SEE ALSO πŸ”₯

http://github.com/sahlberg/libnfs

go forth, bestie, the source is right there and it's lowkey iconic. πŸ’œ


and that's a wrap on the <b>nfs-ls</b> manual page, dated <b>05/24/2015</b>, from the fine folks who brought you the <b>nfs-ls</b> source. ty for coming to my ted talk, ily, drink water, and remember: no cap, the facts above are all exactly as written. πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from