Update cheatsheets

This commit is contained in:
ivuorinen
2025-01-20 00:17:31 +00:00
parent 49f405dce8
commit 1f72b34083
8 changed files with 40 additions and 5 deletions

View File

@@ -8,15 +8,23 @@ source: https://github.com/tldr-pages/tldr.git
> Cross-platform, GPU-accelerated terminal emulator.
> More information: <https://github.com/alacritty/alacritty>.
- Open a new Alacritty window:
- Start a new Alacritty process and create a window:
`alacritty`
- Run in a specific directory:
- Start the Alacritty daemon (without creating a window):
`alacritty --daemon`
- Create a new window using the already running Alacritty process:
`alacritty msg create-window`
- Start the shell in a specific directory (also works with `alacritty msg create-window`):
`alacritty --working-directory {{path/to/directory}}`
- [e]xecute a command in a new Alacritty window:
- [e]xecute a command in a new Alacritty window (also works with `alacritty msg create-window`):
`alacritty -e {{command}}`

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# insmod
> Dynamically load modules into the Linux Kernel.
> See also: `kmod`, for other module management commands.
> More information: <https://manned.org/insmod>.
- Insert a kernel module into the Linux kernel:

19
tldr/linux/kmod Normal file
View File

@@ -0,0 +1,19 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# kmod
> Manage Linux kernel modules.
> This program is usually called via its symlinks: `lsmod`, `rmmod`, `insmod`, `modinfo`, `modprobe`, and `depmod`.
> See their respective pages for more information.
> More information: <https://manned.org/kmod>.
- List currently loaded kernel modules:
`kmod list`
- Display the static device nodes information provided by the modules of the currently running kernel:
`kmod static-nodes`

View File

@@ -5,8 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
---
# lsmod
> Shows the status of Linux kernel modules.
> See also `modprobe`, which loads kernel modules.
> Show the status of Linux kernel modules.
> See also: `kmod`, for other module management commands.
> More information: <https://manned.org/lsmod>.
- List all currently loaded kernel modules:

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# modinfo
> Extract information about a Linux kernel module.
> See also: `kmod`, for other module management commands.
> More information: <https://manned.org/modinfo>.
- List all attributes of a kernel module:

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# modprobe
> Add or remove modules from the Linux kernel.
> See also: `kmod`, for other module management commands.
> More information: <https://manned.org/modprobe>.
- Pretend to load a module into the kernel, but don't actually do it:

View File

@@ -13,6 +13,10 @@ source: https://github.com/tldr-pages/tldr.git
`pw-dump`
- Print a JSON representation of an object:
`pw-dump {{object_id}}`
- Dump the current state [m]onitoring changes, printing it again:
`pw-dump --monitor`

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# rmmod
> Remove modules from the Linux kernel.
> See also: `kmod`, for other module management commands.
> More information: <https://manned.org/rmmod>.
- Remove a module from the kernel: