mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-05 19:44:33 +00:00
Update cheatsheets
This commit is contained in:
@@ -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}}`
|
||||
|
||||
|
||||
@@ -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
19
tldr/linux/kmod
Normal 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`
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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`
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user