mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-30 00:41:26 +00:00
38 lines
646 B
Plaintext
38 lines
646 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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/module_file1 path/to/module_file2 ...}}`
|