Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to export for a specific network only?

Status
Not open for further replies.

ogniemi

Technical User
Nov 7, 2003
1,041
PL
mknfsexp -d /backup -c 10.1.1.2

how to export for whole 10.1.1.0/24 ???

i would like to avoid coma separating all addresses from the network in mknfsexp command line...
 
Make a text file list of all addresses and use this to pass to the command?
 
Something like:

while read line
do mknfsexp -d /backup -c $line
done < list.txt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top