mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 14:22:07 +02:00

* 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>
32 lines
528 B
Markdown
32 lines
528 B
Markdown
# 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}}`
|