mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-08 09:46:00 +00:00
Update cheatsheets
This commit is contained in:
37
linux/module
Normal file
37
linux/module
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
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 ...}}`
|
||||
Reference in New Issue
Block a user