mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-18 23:50:03 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# asciiart
|
||||
|
||||
> Convert images to ASCII.
|
||||
> More information: <https://github.com/nodanaonlyzuul/asciiart>.
|
||||
> More information: <https://github.com/nodanaonlyzuul/asciiart#in-the-command-line>.
|
||||
|
||||
- Read an image from a file and print in ASCII:
|
||||
|
||||
|
||||
@@ -8,34 +8,30 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> The Aura Package Manager: a secure, multilingual package manager for Arch Linux and the AUR.
|
||||
> More information: <https://github.com/fosskers/aura>.
|
||||
|
||||
- Search for packages from the official repositories and AUR:
|
||||
- Search for packages from the AUR:
|
||||
|
||||
`aura --aursync --both --search {{keyword|regex}}`
|
||||
`aura {{[-As|--aursync --search]}} {{keyword|regex}}`
|
||||
|
||||
- Install a package from the AUR:
|
||||
|
||||
`aura --aursync {{package}}`
|
||||
`aura {{[-A|--aursync]}} {{package}}`
|
||||
|
||||
- Update all AUR packages in a verbose mode and remove all make dependencies:
|
||||
|
||||
`aura --aursync --diff --sysupgrade --delmakedeps --unsuppress`
|
||||
`aura {{[-Akua|--aursync --diff --sysupgrade --delmakedeps]}}`
|
||||
|
||||
- Install a package from the official repositories:
|
||||
|
||||
`aura --sync {{package}}`
|
||||
`aura {{[-S|--sync]}} {{package}}`
|
||||
|
||||
- Synchronize and update all packages from the official repositories:
|
||||
|
||||
`aura --sync --refresh --sysupgrade`
|
||||
|
||||
- Downgrade a package using the package cache:
|
||||
|
||||
`aura --downgrade {{package}}`
|
||||
`aura {{[-Syu|--sync --refresh --sysupgrade]}}`
|
||||
|
||||
- Remove a package and its dependencies:
|
||||
|
||||
`aura --remove --recursive --unneeded {{package}}`
|
||||
`aura {{[-Rsu|--remove --recursive --unneeded]}} {{package}}`
|
||||
|
||||
- Remove orphan packages (installed as dependencies but not required by any package):
|
||||
|
||||
`aura --orphans --abandon`
|
||||
`aura {{[-Oj|--orphans --abandon]}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# auracle
|
||||
|
||||
> Interact with Arch Linux's User Repository, commonly referred to as the AUR.
|
||||
> More information: <https://github.com/falconindy/auracle>.
|
||||
> More information: <https://github.com/falconindy/auracle/blob/master/man/auracle.1.pod>.
|
||||
|
||||
- Display AUR packages that match a `regex`:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> An Arch Linux utility to build and install packages from the Arch User Repository.
|
||||
> See also: `pacman`.
|
||||
> More information: <https://github.com/polygamma/aurman>.
|
||||
> More information: <https://github.com/polygamma/aurman#syntax>.
|
||||
|
||||
- Synchronize and update all packages:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Vote for packages in the Arch User Repository.
|
||||
> To be able to vote, the file `~/.config/aurvote` must exist and contain your AUR credentials.
|
||||
> More information: <https://github.com/archlinuxfr/aurvote>.
|
||||
> More information: <https://github.com/archlinuxfr/aurvote#name>.
|
||||
|
||||
- Interactively create the file `~/.config/aurvote` containing your AUR username and password:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# blight
|
||||
|
||||
> Utility for changing the display brightness.
|
||||
> More information: <https://github.com/gutjuri/blight>.
|
||||
> More information: <https://github.com/gutjuri/blight#usage>.
|
||||
|
||||
- Set display brightness to 50%:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Navigate directory trees interactively.
|
||||
> See also: `broot`.
|
||||
> More information: <https://github.com/Canop/broot>.
|
||||
> More information: <https://manned.org/broot>.
|
||||
|
||||
- Start and navigate the current directory tree interactively:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Configure and control `bspwm`, managing nodes, desktops, monitors, and more.
|
||||
> See also: `bspwm`.
|
||||
> More information: <https://github.com/baskerville/bspwm>.
|
||||
> More information: <https://github.com/baskerville/bspwm/blob/master/doc/bspwm.1.asciidoc>.
|
||||
|
||||
- Define two virtual desktops:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> A tiling window manager based on binary space partitioning.
|
||||
> See also: `bspc` for controlling it.
|
||||
> More information: <https://github.com/baskerville/bspwm>.
|
||||
> 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):
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Manage clipboard history for Wayland compositors.
|
||||
> Works with `wl-copy` and `wl-paste`.
|
||||
> More information: <https://github.com/sentriz/cliphist>.
|
||||
> More information: <https://github.com/sentriz/cliphist#usage>.
|
||||
|
||||
- List clipboard history entries:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Convert Debian packages into Arch Linux packages.
|
||||
> See also: `pacman-upgrade`.
|
||||
> More information: <https://github.com/helixarch/debtap>.
|
||||
> More information: <https://github.com/helixarch/debtap#available-options>.
|
||||
|
||||
- Update debtap database (before the first run):
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# dex
|
||||
|
||||
> DesktopEntry Execution is a program to generate and execute DesktopEntry files of the Application type.
|
||||
> More information: <https://github.com/jceb/dex>.
|
||||
> More information: <https://github.com/jceb/dex#dex>.
|
||||
|
||||
- Execute all programs in the autostart folders:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# dnsrecon
|
||||
|
||||
> DNS enumeration tool.
|
||||
> More information: <https://github.com/darkoperator/dnsrecon>.
|
||||
> More information: <https://manned.org/dnsrecon>.
|
||||
|
||||
- Scan a domain and save the results to an SQLite database:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> A data extraction tool for alpm databases, offering printf-like flexibility for pacman-based utilities.
|
||||
> See also: `pacman`.
|
||||
> More information: <https://github.com/falconindy/expac>.
|
||||
> More information: <https://github.com/falconindy/expac#name>.
|
||||
|
||||
- List the dependencies of a package:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# farge
|
||||
|
||||
> Display the color of a specific pixel on the screen in either hexadecimal or RGB formats.
|
||||
> More information: <https://github.com/sdushantha/farge>.
|
||||
> More information: <https://github.com/sdushantha/farge#usage>.
|
||||
|
||||
- Display a small preview window of a pixel's color with it's hexadecimal value, and copy this value to the clipboard:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> A GUI desktop RSS client.
|
||||
> Note: FeedReader is no longer being maintained.
|
||||
> More information: <https://github.com/jangernert/FeedReader>.
|
||||
> More information: <https://manned.org/feedreader>.
|
||||
|
||||
- Print the count of unread articles:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# kjv
|
||||
|
||||
> The word of God available right on your desktop.
|
||||
> More information: <https://github.com/bontibon/kjv>.
|
||||
> More information: <https://github.com/layeh/kjv#kjv>.
|
||||
|
||||
- Display books:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# larasail
|
||||
|
||||
> Manage Laravel on Digital Ocean servers.
|
||||
> More information: <https://github.com/thedevdojo/larasail>.
|
||||
> More information: <https://github.com/thedevdojo/larasail#setup-your-server>.
|
||||
|
||||
- Set up the server with Laravel dependencies using the default PHP version:
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display help:
|
||||
|
||||
`lci -h`
|
||||
`lci {{[-h|--help]}}`
|
||||
|
||||
- Display version:
|
||||
|
||||
`lci -v`
|
||||
`lci {{[-v|--version]}}`
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Make a fast tree from genomes.
|
||||
> Does not make a phylogeny.
|
||||
> More information: <https://github.com/lskatz/mashtree>.
|
||||
> More information: <https://github.com/lskatz/mashtree#usage>.
|
||||
|
||||
- Fastest method in mashtree to create a tree from fastq and/or fasta files using multiple threads, piping into a newick file:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mbw
|
||||
|
||||
> Memory Bandwidth Benchmark.
|
||||
> More information: <https://github.com/raas/mbw>.
|
||||
> More information: <https://manned.org/mbw>.
|
||||
|
||||
- Run 3 memory bandwidth tests with 512MB size:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Configure Secure Boot Machine Owner Keys (MOK).
|
||||
> Some operations, such as enabling and disabling Secure Boot or enrolling keys require a reboot.
|
||||
> More information: <https://github.com/lcp/mokutil>.
|
||||
> More information: <https://manned.org/mokutil>.
|
||||
|
||||
- Show if Secure Boot is enabled:
|
||||
|
||||
@@ -23,15 +23,15 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List enrolled keys:
|
||||
|
||||
`mokutil --list-enrolled`
|
||||
`mokutil {{[-l|--list-enrolled]}}`
|
||||
|
||||
- Enroll a new key:
|
||||
|
||||
`mokutil --import {{path/to/key.der}}`
|
||||
`mokutil {{[-i|--import]}} {{path/to/key.der}}`
|
||||
|
||||
- List the keys to be enrolled:
|
||||
|
||||
`mokutil --list-new`
|
||||
`mokutil {{[-N|--list-new]}}`
|
||||
|
||||
- Set shim verbosity:
|
||||
|
||||
|
||||
@@ -6,20 +6,20 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mons
|
||||
|
||||
> Quickly manage two displays.
|
||||
> More information: <https://github.com/Ventto/mons>.
|
||||
> More information: <https://github.com/Ventto/mons#usage>.
|
||||
|
||||
- Enable only the primary monitor:
|
||||
|
||||
`mons -o`
|
||||
|
||||
- Enable only the secondary monitor:
|
||||
- Enable only the [s]econdary monitor:
|
||||
|
||||
`mons -s`
|
||||
|
||||
- Duplicate the primary monitor onto the secondary monitor, using the resolution of the primary monitor:
|
||||
- [d]uplicate the primary monitor onto the secondary monitor, using the resolution of the primary monitor:
|
||||
|
||||
`mons -d`
|
||||
|
||||
- Mirror the primary monitor onto the secondary monitor, using the resolution of the secondary monitor:
|
||||
- [m]irror the primary monitor onto the secondary monitor, using the resolution of the secondary monitor:
|
||||
|
||||
`mons -m`
|
||||
|
||||
@@ -26,4 +26,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Autoselect and execute the snippet that best matches a query:
|
||||
|
||||
`navi --query '{{query}}' --best-match`
|
||||
`navi {{[-q|--query]}} '{{query}}' --best-match`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# pacaur
|
||||
|
||||
> A utility for Arch Linux to build and install packages from the Arch User Repository.
|
||||
> More information: <https://github.com/rmarquis/pacaur>.
|
||||
> More information: <https://github.com/rmarquis/pacaur#name>.
|
||||
|
||||
- Synchronize and update all packages (includes AUR):
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# pacgraph
|
||||
|
||||
> Draw a graph of installed packages to PNG/SVG/GUI/console.
|
||||
> More information: <https://github.com/keenerd/pacgraph>.
|
||||
> More information: <https://manned.org/pacgraph>.
|
||||
|
||||
- Produce an SVG and PNG graph:
|
||||
|
||||
@@ -14,28 +14,28 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Produce an SVG graph:
|
||||
|
||||
`pacgraph --svg`
|
||||
`pacgraph {{[-s|--svg]}}`
|
||||
|
||||
- Print summary to console:
|
||||
|
||||
`pacgraph --console`
|
||||
`pacgraph {{[-c|--console]}}`
|
||||
|
||||
- Override the default filename/location (Note: Do not specify the file extension):
|
||||
|
||||
`pacgraph --file={{path/to/file}}`
|
||||
`pacgraph {{[-f|--file]}} {{path/to/file}}`
|
||||
|
||||
- Change the color of packages that are not dependencies:
|
||||
|
||||
`pacgraph --top={{color}}`
|
||||
`pacgraph {{[-t|--top]}} {{color}}`
|
||||
|
||||
- Change the color of package dependencies:
|
||||
|
||||
`pacgraph --dep={{color}}`
|
||||
`pacgraph {{[-d|--dep]}} {{color}}`
|
||||
|
||||
- Change the background color of a graph:
|
||||
|
||||
`pacgraph --background={{color}}`
|
||||
`pacgraph {{[-b|--background]}} {{color}}`
|
||||
|
||||
- Change the color of links between packages:
|
||||
|
||||
`pacgraph --link={{color}}`
|
||||
`pacgraph {{[-l|--link]}} {{color}}`
|
||||
|
||||
29
tldr/linux/pacreport
Normal file
29
tldr/linux/pacreport
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pacreport
|
||||
|
||||
> Generate a report of installed packages.
|
||||
> More information: <https://github.com/andrewgregory/pacutils/blob/master/doc/pacreport.pod>.
|
||||
|
||||
- Generate a summary of installed packages:
|
||||
|
||||
`pacreport`
|
||||
|
||||
- List unowned files:
|
||||
|
||||
`pacreport --unowned-files`
|
||||
|
||||
- List missing package files:
|
||||
|
||||
`pacreport --missing-files`
|
||||
|
||||
- Search for unmerged backup files (i.e. `.pacnew`, `.pacsave`) in `/etc`:
|
||||
|
||||
`pacreport --backups`
|
||||
|
||||
- Display packages in a specific group that are not currently installed:
|
||||
|
||||
`pacreport --group {{group_name}}`
|
||||
@@ -10,32 +10,32 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Search the package database for a package name:
|
||||
|
||||
`pacstall --search {{query}}`
|
||||
`pacstall {{[-S|--search]}} {{query}}`
|
||||
|
||||
- Install a package:
|
||||
|
||||
`pacstall --install {{package}}`
|
||||
`pacstall {{[-I|--install]}} {{package}}`
|
||||
|
||||
- Remove a package:
|
||||
|
||||
`pacstall --remove {{package}}`
|
||||
`pacstall {{[-R|--remove]}} {{package}}`
|
||||
|
||||
- Add a repository to the database (only GitHub and GitLab are supported):
|
||||
|
||||
`pacstall --add-repo {{remote_repository_location}}`
|
||||
`pacstall {{[-A|--add-repo]}} {{remote_repository_location}}`
|
||||
|
||||
- Update pacstall's scripts:
|
||||
|
||||
`pacstall --update`
|
||||
`pacstall {{[-U|--update]}}`
|
||||
|
||||
- Update all packages:
|
||||
|
||||
`pacstall --upgrade`
|
||||
`pacstall {{[-Up|--upgrade]}}`
|
||||
|
||||
- Display information about a package:
|
||||
|
||||
`pacstall --cache-info {{package}}`
|
||||
`pacstall {{[-Ci|--cache-info]}} {{package}}`
|
||||
|
||||
- List all installed packages:
|
||||
|
||||
`pacstall --list`
|
||||
`pacstall {{[-L|--list]}}`
|
||||
|
||||
@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Clone a container:
|
||||
|
||||
`pct clone {{template_id}} {{copy_id}}`
|
||||
`pct {{[cl|clone]}} {{template_id}} {{copy_id}}`
|
||||
|
||||
- Clone a container with a custom name:
|
||||
|
||||
|
||||
13
tldr/linux/pct-mount
Normal file
13
tldr/linux/pct-mount
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pct mount
|
||||
|
||||
> Mount a container's filesystem on the host.
|
||||
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html#cli_pct_mount>.
|
||||
|
||||
- Mount the filesystem of a specific container:
|
||||
|
||||
`pct mount {{100}}`
|
||||
13
tldr/linux/pct-unmount
Normal file
13
tldr/linux/pct-unmount
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pct unmount
|
||||
|
||||
> Unmount a container's filesystem from the host.
|
||||
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html#cli_pct_unmount>.
|
||||
|
||||
- Unmount the filesystem of a specific container:
|
||||
|
||||
`pct unmount {{100}}`
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# physlock
|
||||
|
||||
> Lock all consoles and virtual terminals.
|
||||
> More information: <https://github.com/muennich/physlock>.
|
||||
> More information: <https://github.com/xyb3rt/physlock#usage>.
|
||||
|
||||
- Lock every console (require current user or root to unlock):
|
||||
|
||||
|
||||
17
tldr/linux/project-zomboid
Normal file
17
tldr/linux/project-zomboid
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# Project Zomboid
|
||||
|
||||
> Start a headless Project Zomboid server.
|
||||
> More information: <https://pzwiki.net/wiki/Dedicated_server>.
|
||||
|
||||
- Start the server:
|
||||
|
||||
`{{path/to/start-server.sh}}`
|
||||
|
||||
- Start a server with a specific name:
|
||||
|
||||
`{{path/to/start-server.sh}} -servername {{server_name}}`
|
||||
@@ -23,3 +23,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- Display API path usage instructions:
|
||||
|
||||
`pvesh {{[u|usage]}} {{/pools}}`
|
||||
|
||||
- Add a new thinpool to Proxmox:
|
||||
|
||||
`pvesh create /storage --storage {{storage_id}} --vgname {{volume_group}} --type lvmthin --thinpool {{thinpool_name}} --content {{content_type1,content_type2,...}}`
|
||||
|
||||
@@ -16,6 +16,18 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`pveum {{[u|user]}} {{[a|add]}} {{username}}@pve`
|
||||
|
||||
- Add a user with an email, description, and password:
|
||||
|
||||
`pveum {{[u|user]}} {{[a|add]}} {{username}}@pve --email {{email_address}} --comment {{description}} --password {{password}}`
|
||||
|
||||
- Change user password:
|
||||
|
||||
`pveum {{[pa|passwd]}} {{[username}}@pve`
|
||||
|
||||
- Delete a user:
|
||||
|
||||
`pveum {{[u|user]}} {{[d|delete]}} {{username}}@pve`
|
||||
|
||||
- Give a user access to a specific VM with specific permissions:
|
||||
|
||||
`pveum {{[a|acl]}} {{[m|modify]}} /vms/{{1000}} --user {{username}}@pve --role {{PVEVMUser}}`
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Show utilization of AMD GPUs.
|
||||
> May require root privileges depending on your system.
|
||||
> More information: <https://github.com/clbr/radeontop>.
|
||||
> More information: <https://github.com/clbr/radeontop/blob/master/radeontop.asc>.
|
||||
|
||||
- Show the utilization of the default AMD GPU:
|
||||
|
||||
@@ -15,12 +15,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Enable colored output:
|
||||
|
||||
`radeontop --color`
|
||||
`radeontop {{[-c|--color]}}`
|
||||
|
||||
- Select a specific GPU (the bus number is the first number in the output of `lspci`):
|
||||
|
||||
`radeontop --bus {{bus_number}}`
|
||||
`radeontop {{[-b|--bus]}} {{bus_number}}`
|
||||
|
||||
- Specify the display refresh rate (higher means more GPU overhead):
|
||||
|
||||
`radeontop --ticks {{samples_per_second}}`
|
||||
`radeontop {{[-t|--ticks]}} {{samples_per_second}}`
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> A frontend for emulators, game engines and media players.
|
||||
> The reference implementation of the libretro API.
|
||||
> More information: <https://github.com/libretro/RetroArch>.
|
||||
> More information: <https://manned.org/retroarch>.
|
||||
|
||||
- Start in the menu mode:
|
||||
|
||||
@@ -15,7 +15,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Start in full screen mode:
|
||||
|
||||
`retroarch --fullscreen`
|
||||
`retroarch {{[-f|--fullscreen]}}`
|
||||
|
||||
- List all compiled features:
|
||||
|
||||
@@ -23,11 +23,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Set the path of a configuration file:
|
||||
|
||||
`retroarch --config={{path/to/config_file}}`
|
||||
`retroarch {{[-c|--config]}} {{path/to/config_file}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`retroarch --help`
|
||||
`retroarch {{[-h|--help]}}`
|
||||
|
||||
- Display version:
|
||||
|
||||
|
||||
@@ -7,12 +7,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Handle RPMNEW, RPMSAVE and RPMORIG files left over by package upgrades.
|
||||
> See also: `rpm`.
|
||||
> More information: <https://github.com/xsuchy/rpmconf>.
|
||||
> More information: <https://manned.org/man/rpmconf.8>.
|
||||
|
||||
- List leftover files and interactively choose what to do with each of them:
|
||||
|
||||
`sudo rpmconf --all`
|
||||
`sudo rpmconf {{[-a|--all]}}`
|
||||
|
||||
- Delete orphaned RPMNEW and RPMSAVE files:
|
||||
|
||||
`sudo rpmconf --all --clean`
|
||||
`sudo rpmconf {{[-a|--all]}} {{[-c|--clean]}}`
|
||||
|
||||
18
tldr/linux/systemctl-link
Normal file
18
tldr/linux/systemctl-link
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl link
|
||||
|
||||
> Link a unit file located outside the unit file search path into the search path.
|
||||
> See also: `systemctl disable`.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#link%20PATH%E2%80%A6>.
|
||||
|
||||
- Link a unit file to make it available for systemd commands:
|
||||
|
||||
`systemctl link {{path/to/service}}`
|
||||
|
||||
- Link multiple unit files at once:
|
||||
|
||||
`systemctl link {{path/to/service1 path/to/service2 ...}}`
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> A tiny Todoist client in Rust.
|
||||
> It takes simple input and dumps it in your inbox or another project. Taking advantage of natural language processing to assign due dates, tags, etc.
|
||||
> More information: <https://github.com/alanvardy/tod>.
|
||||
> More information: <https://github.com/tod-org/tod/blob/main/docs/usage.md#usage>.
|
||||
|
||||
- Import your projects (this is necessary to enable project prompts):
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# trashy
|
||||
|
||||
> An alternative to `rm` and `trash-cli` written in Rust.
|
||||
> More information: <https://github.com/oberblastmeister/trashy>.
|
||||
> More information: <https://github.com/oberblastmeister/trashy#usage>.
|
||||
|
||||
- Move a specific file to the trash:
|
||||
|
||||
|
||||
@@ -6,12 +6,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# woeusb
|
||||
|
||||
> Windows media creation tool.
|
||||
> More information: <https://github.com/WoeUSB/WoeUSB>.
|
||||
> More information: <https://manned.org/woeusb>.
|
||||
|
||||
- Format a USB then create a bootable Windows installation drive:
|
||||
|
||||
`woeusb --device {{path/to/windows.iso}} {{/dev/sdX}}`
|
||||
`woeusb {{[-d|--device]}} {{path/to/windows.iso}} {{/dev/sdX}}`
|
||||
|
||||
- Copy Windows files to an existing partition of a USB storage device and make it bootable, without erasing the current data:
|
||||
|
||||
`woeusb --partition {{path/to/windows.iso}} {{/dev/sdXN}}`
|
||||
`woeusb {{[-p|--partition]}} {{path/to/windows.iso}} {{/dev/sdXN}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# xed
|
||||
|
||||
> Edit files in Cinnamon desktop environment.
|
||||
> More information: <https://github.com/linuxmint/xed>.
|
||||
> More information: <https://manned.org/xed>.
|
||||
|
||||
- Start the editor:
|
||||
|
||||
|
||||
@@ -7,23 +7,23 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Find and download videos and music. Written in POSIX shell.
|
||||
> See also: `youtube-dl`, `yt-dlp`, `instaloader`.
|
||||
> More information: <https://github.com/pystardust/ytfzf>.
|
||||
> More information: <https://manned.org/ytfzf>.
|
||||
|
||||
- Search for videos on YouTube with thumbnail previews:
|
||||
|
||||
`ytfzf --show-thumbnails {{search_pattern}}`
|
||||
`ytfzf {{[-t|--show-thumbnails]}} {{search_pattern}}`
|
||||
|
||||
- Play only the audio of the first item in a loop:
|
||||
|
||||
`ytfzf --audio-only --auto-select --loop {{search_pattern}}`
|
||||
`ytfzf {{[-m|--audio-only]}} {{[-a|--auto-select]}} {{[-l|--loop]}} {{search_pattern}}`
|
||||
|
||||
- Download a video from the history:
|
||||
|
||||
`ytfzf --download --choose-from-history`
|
||||
`ytfzf {{[-d|--download]}} --choose-from-history`
|
||||
|
||||
- Play all the music found in a search:
|
||||
|
||||
`ytfzf --audio-only --select-all {{search_pattern}}`
|
||||
`ytfzf {{[-m|--audio-only]}} {{[-A|--select-all]}} {{search_pattern}}`
|
||||
|
||||
- See the trending videos in an external menu:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user