Share the filesystem
# share -F [File system type] -o [options] hostname -d [Description]
options
-F - Specifies the filesystem which is being used for exports. In the exports the filesystem type is nfs.
-o - Indicates the access rights to the directories. rw - Read and write access to the directories.
ro - Read only access to the directories.
hostname - Indicates the nfs client.
-d - Indicates the description for the directories which are exported to the nfs clients.
Consider the following example
# share -F nfs -o rw:radiant1:radiant2 /home/kishoe -d "only for Admin.pupils"
In the above example share is the command which is used to export the /home/Krishen directory to the nfs clients called radiant1 & radiant2.