1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 00:42:08 +02:00
tldr/pages/linux/module.md
Jakub Wlodek 0b6ec15a60
module: Adding additional 'use' subcommand to tldr page for module (#9867)
* Adding additional 'use' subcommand to tldr page for module

* Update pages/linux/module.md

Update command example and description to better reflect official docs.

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

---------

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
2023-02-21 11:46:23 +08:00

528 B

module

Modify a users' environment using the module command. More information: https://lmod.readthedocs.io/en/latest/010_user.html.

  • Display available modules:

module avail

  • Search for a module by name:

module avail {{module_name}}

  • Load a module:

module load {{module_name}}

  • Display loaded modules:

module list

  • Unload a specific loaded module:

module unload {{module_name}}

  • Unload all loaded modules:

module purge

  • Specify user-created modules:

module use {{path/to/modulefiles}}