mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-10 22:47:03 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/linux/fbi
Normal file
29
tldr/linux/fbi
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# fbi
|
||||
|
||||
> Display images in a terminal framebuffer.
|
||||
> More information: <https://manned.org/fbi>.
|
||||
|
||||
- Display an image:
|
||||
|
||||
`sudo fbi {{path/to/file}}`
|
||||
|
||||
- Display multiple images:
|
||||
|
||||
`sudo fbi {{path/to/file1 path/to/file2 ...}}`
|
||||
|
||||
- Start a slideshow with a custom delay (in seconds):
|
||||
|
||||
`sudo fbi {{[-t|--timeout]}} {{delay}} {{path/to/files/*}}`
|
||||
|
||||
- Scale the image to fit the screen:
|
||||
|
||||
`sudo fbi {{[-a|--autozoom]}} {{path/to/file}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`fbi {{[-h|--help]}}`
|
||||
13
tldr/linux/systemctl-start
Normal file
13
tldr/linux/systemctl-start
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl start
|
||||
|
||||
> Start systemd units.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#start%20PATTERN%E2%80%A6>.
|
||||
|
||||
- Start a unit:
|
||||
|
||||
`systemctl start {{unit}}`
|
||||
17
tldr/linux/systemctl-stop
Normal file
17
tldr/linux/systemctl-stop
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl stop
|
||||
|
||||
> Stop systemd units.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#stop%20PATTERN%E2%80%A6>.
|
||||
|
||||
- Stop a unit:
|
||||
|
||||
`systemctl stop {{unit}}`
|
||||
|
||||
- Stop a service and suppress warnings:
|
||||
|
||||
`systemctl stop --no-warn {{unit}}`
|
||||
14
tldr/plink
Normal file
14
tldr/plink
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# plink
|
||||
|
||||
> PuTTy's command line utility.
|
||||
> See also: `ssh`.
|
||||
> More information: <https://manned.org/plink>.
|
||||
|
||||
- Connect to an address:
|
||||
|
||||
`plink {{IP_address}}`
|
||||
@@ -24,15 +24,15 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Transfer remote file to the local system:
|
||||
|
||||
`get {{path/remote_file}}`
|
||||
`get {{path/to/remote_file}}`
|
||||
|
||||
- Transfer local file to the remote system:
|
||||
|
||||
`put /{{path/local_file}}`
|
||||
`put {{path/to/local_file}}`
|
||||
|
||||
- Transfer remote directory to the local system recursively (works with `put` too):
|
||||
|
||||
`get -R {{path/remote_directory}}`
|
||||
`get -R {{path/to/remote_directory}}`
|
||||
|
||||
- Get list of files on local machine:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user