用法:module [options] [command] [args ...]
加載/卸載命令:
add/load modulefile [...]? ? ? #加載modulefile
rm/unload modulefile [...]? ? #移除modulefile
purge? ? 移除所用加載modulefile
switch [mod1] mod2 卸載mod1并加載mod2
列出/搜索命令:
list? ?[-t|-l]? ? ? ?#列出已加載模塊
avail [-d|-L] [mod]? ?#列出可用模塊,當一個庫有多個版本是,先列出所有可加載選項再進行加載。
模塊處理命令集合:
save [file] #保存當前模塊列表
restore [file]? #從file中儲存模塊列表
saveshow [file] #展示收集的模塊信息
savelist [-t|-l]? ?#列出所有收集的file