Network
The exportfs command
Shows or reloads the directories NFS shares (defined in /etc/exports).
Most useful options
-aRe-export everything-vShow the exportsCopy-ready examples
$ exportfs -vShow the exportsYou can try them in the browser terminal: it does not touch your computer.
Typical mistakes
- Exports are edited in /etc/exports: directory + clients(rw,sync...).
FAQ
What does exportfs do?
It manages the NFS shares defined in /etc/exports.
How do I apply them?
With exportfs -ra after editing /etc/exports.
More Network commands
Learn to actually use it
The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.
Start the free course