Difficulty: Medium
Correct Answer: rpcinfo
Explanation:
Introduction / Context:
NFS (Network File System) is widely used to share files across Unix/Linux systems. To troubleshoot or verify NFS service availability, administrators must know the command that lists running services.
Given Data / Assumptions:
Concept / Approach:
The rpcinfo command queries the RPC bind (portmapper) service, which manages NFS services. By running rpcinfo -p servername, administrators can see ports and versions of NFS-related daemons.
Step-by-Step Solution:
Verification / Alternative check:
Cross-check with systemctl status nfs-server or showmount -e servername for exports.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
rpcinfo.
Discussion & Comments