mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 17:49:37 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# bspwm
|
||||
|
||||
> A tiling window manager based on binary space partitioning.
|
||||
> See also: `bspc` for controlling it.
|
||||
> See also: `bspc`.
|
||||
> More information: <https://github.com/baskerville/bspwm/blob/master/doc/bspwm.1.asciidoc>.
|
||||
|
||||
- Start `bspwm` (note that a pre-existing window manager must not be open when this command is run):
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# compsize
|
||||
|
||||
> Calculate the compression ratio of a set of files on a btrfs filesystem.
|
||||
> See also: `btrfs filesystem` for recompressing a file by defragmenting it.
|
||||
> See also: `btrfs filesystem`.
|
||||
> More information: <https://manned.org/compsize>.
|
||||
|
||||
- Calculate the current compression ratio for a file or directory:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# extundelete
|
||||
|
||||
> Recover deleted files from ext3 or ext4 partitions by parsing the journal.
|
||||
> See also: `date` for Unix time information and `umount` for unmounting partitions.
|
||||
> See also: `date`, `umount`.
|
||||
> More information: <https://extundelete.sourceforge.net/options.html>.
|
||||
|
||||
- Restore all deleted files inside partition `N` on device `X`:
|
||||
|
||||
@@ -6,7 +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.
|
||||
> See also: `kmod`.
|
||||
> More information: <https://manned.org/insmod>.
|
||||
|
||||
- Insert a kernel module into the Linux kernel:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# ipcs
|
||||
|
||||
> Show information about the usage of System V IPC facilities: shared memory segments, message queues, and semaphore arrays.
|
||||
> See also: `lsipc` for a more flexible tool, `ipcmk` for creating IPC facilities, and `ipcrm` for deleting them.
|
||||
> See also: `lsipc`, `ipcmk`, `ipcrm`.
|
||||
> More information: <https://manned.org/ipcs>.
|
||||
|
||||
- Show information about all active IPC facilities:
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Query an ID database for tokens matching a pattern.
|
||||
> Note: An ID database must first be built using `mkid`.
|
||||
> More information: <https://www.gnu.org/software/idutils/manual/html_node/lid-invocation.html>.
|
||||
> More information: <https://www.gnu.org/software/idutils/manual/idutils.html#lid-invocation>.
|
||||
|
||||
- List all tokens and their file locations in the ID database:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# lsipc
|
||||
|
||||
> Show information on System V IPC facilities currently employed in the system.
|
||||
> See also: `ipcs` for the older tool.
|
||||
> See also: `ipcs`.
|
||||
> More information: <https://manned.org/lsipc>.
|
||||
|
||||
- Show information about all active IPC facilities:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# lsmod
|
||||
|
||||
> Show the status of Linux kernel modules.
|
||||
> See also: `kmod` for other module management commands.
|
||||
> See also: `kmod`.
|
||||
> More information: <https://manned.org/lsmod>.
|
||||
|
||||
- List all currently loaded kernel modules:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mkid
|
||||
|
||||
> Build an ID database for use with `lid` and other idutils tools.
|
||||
> More information: <https://www.gnu.org/software/idutils/manual/html_node/mkid-invocation.html>.
|
||||
> More information: <https://www.gnu.org/software/idutils/manual/idutils.html#mkid-invocation>.
|
||||
|
||||
- Build an ID database for the current directory:
|
||||
|
||||
|
||||
@@ -6,7 +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.
|
||||
> See also: `kmod`.
|
||||
> More information: <https://manned.org/modinfo>.
|
||||
|
||||
- List all attributes of a kernel module:
|
||||
|
||||
@@ -6,7 +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.
|
||||
> See also: `kmod`.
|
||||
> More information: <https://manned.org/modprobe>.
|
||||
|
||||
- Pretend to load a module into the kernel, but don't actually do it:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mount.ddi
|
||||
|
||||
> Mount Discoverable Disk Images.
|
||||
> See also: `systemd-dissect` for other commands relevant to DDIs.
|
||||
> See also: `systemd-dissect`.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemd-dissect.html>.
|
||||
|
||||
- Mount an OS image:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# pw-dot
|
||||
|
||||
> Create `.dot` files of the PipeWire graph.
|
||||
> See also: `dot` for rendering graph.
|
||||
> See also: `dot`.
|
||||
> More information: <https://docs.pipewire.org/page_man_pw-dot_1.html>.
|
||||
|
||||
- Generate a graph to `pw.dot` file:
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Build and manage highly optimised desktop virtual machines quickly.
|
||||
> Note: Virtual machine must be in stopped state when working with snapshots.
|
||||
> See also: `quickget` for preparing VM configurations.
|
||||
> See also: `quickget`.
|
||||
> More information: <https://github.com/quickemu-project/quickemu>.
|
||||
|
||||
- Create and run a virtual machine from a configuration file:
|
||||
|
||||
@@ -6,7 +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.
|
||||
> See also: `kmod`.
|
||||
> More information: <https://manned.org/rmmod>.
|
||||
|
||||
- Remove a module from the kernel:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# semanage boolean
|
||||
|
||||
> Manage persistent SELinux boolean settings.
|
||||
> See also: `semanage` for managing SELinux policies, `getsebool` for checking boolean values, and `setsebool` for applying non-persistent boolean settings.
|
||||
> See also: `semanage`, `getsebool`, `setsebool`.
|
||||
> More information: <https://manned.org/semanage-boolean>.
|
||||
|
||||
- List all booleans settings:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# sinfo
|
||||
|
||||
> View information about Slurm nodes and partitions.
|
||||
> See also: `squeue`, `sbatch`, which are also part of the Slurm workload manager.
|
||||
> See also: `squeue`, `sbatch`.
|
||||
> More information: <https://slurm.schedmd.com/sinfo.html>.
|
||||
|
||||
- Show a quick summary overview of the cluster:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# systemctl daemon-reexec
|
||||
|
||||
> Reexecute systemd while preserving current unit states.
|
||||
> See also: `systemctl daemon-reload` for applying changes in unit files.
|
||||
> See also: `systemctl daemon-reload`.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#daemon-reexec>.
|
||||
|
||||
- Reexecute systemd:
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Reload systemd manager configuration.
|
||||
> Use this after creating, modifying, or deleting unit files.
|
||||
> See also: `systemctl reload` for reloading service configuration.
|
||||
> See also: `systemctl reload`.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#daemon-reload>.
|
||||
|
||||
- Reload systemd to apply changes in unit files:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# systemctl list-dependencies
|
||||
|
||||
> Show a unit's dependency tree in systemd.
|
||||
> See also: `systemctl list-units` to list loaded units.
|
||||
> See also: `systemctl list-units`.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#list-dependencies%20UNIT%E2%80%A6>.
|
||||
|
||||
- Show the dependency tree of `default.target`:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# systemctl list-unit-files
|
||||
|
||||
> List installed unit files and their enablement states.
|
||||
> See also: `systemctl list-units` for listing units currently loaded in memory.
|
||||
> See also: `systemctl list-units`.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#list-unit-files%20PATTERN%E2%80%A6>.
|
||||
|
||||
- List installed unit files and their states:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# systemctl list-units
|
||||
|
||||
> List units that systemd currently has in memory.
|
||||
> See also: `systemctl list-unit-files` for listing installed unit files.
|
||||
> See also: `systemctl list-unit-files`.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#list-units%20PATTERN%E2%80%A6>.
|
||||
|
||||
- List units which are active, have pending jobs, or have failed:
|
||||
|
||||
@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Install a new Android app from a file:
|
||||
|
||||
`waydroid app install {{path/to/file.apk}}`
|
||||
`waydroid app install {{path/to/file}}.apk`
|
||||
|
||||
- Launch an Android app by its package name:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user