mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-21 07:50:56 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/linux/foot
Normal file
29
tldr/linux/foot
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# foot
|
||||
|
||||
> A fast, lightweight, and minimalistic Wayland terminal emulator.
|
||||
> More information: <https://manned.org/foot>.
|
||||
|
||||
- Spawn a terminal:
|
||||
|
||||
`foot`
|
||||
|
||||
- Verify your config:
|
||||
|
||||
`foot {{[-C|--check-config]}}`
|
||||
|
||||
- Start the server (use `footclient` to start terminal windows that connect to the server):
|
||||
|
||||
`foot {{[-s|--server]}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`foot {{[-h|--help]}}`
|
||||
|
||||
- Display version:
|
||||
|
||||
`foot {{[-v|--version]}}`
|
||||
@@ -8,14 +8,14 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Create a Linux filesystem inside a partition.
|
||||
> More information: <https://manned.org/mke2fs>.
|
||||
|
||||
- Create an ext2 filesystem in partition 1 of device b (`sdb1`):
|
||||
- Create an ext2 filesystem on a partition:
|
||||
|
||||
`mke2fs -t ext2 {{/dev/sdb1}}`
|
||||
`sudo mke2fs -t ext2 {{/dev/sdXY}}`
|
||||
|
||||
- Create an ext3 filesystem in partition 1 of device b (`sdb1`):
|
||||
- Create an ext3 filesystem on a partition:
|
||||
|
||||
`mke2fs -t ext3 {{/dev/sdb1}}`
|
||||
`sudo mke2fs -t ext3 {{/dev/sdXY}}`
|
||||
|
||||
- Create an ext4 filesystem in partition 1 of device b (`sdb1`):
|
||||
- Create an ext4 filesystem on a partition:
|
||||
|
||||
`mke2fs -t ext4 {{/dev/sdb1}}`
|
||||
`sudo mke2fs -t ext4 {{/dev/sdXY}}`
|
||||
|
||||
12
tldr/linux/pacinstall
Normal file
12
tldr/linux/pacinstall
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pacinstall
|
||||
|
||||
> This command is an alias of `pactrans --install`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr pactrans`
|
||||
12
tldr/linux/pacremove
Normal file
12
tldr/linux/pacremove
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pacremove
|
||||
|
||||
> This command is an alias of `pactrans --remove`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr pactrans`
|
||||
@@ -9,10 +9,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> See also: `lvm`.
|
||||
> More information: <https://manned.org/vgcreate>.
|
||||
|
||||
- Create a new volume group called vg1 using the `/dev/sda1` device:
|
||||
- Create a new volume group using the specified device:
|
||||
|
||||
`vgcreate {{vg1}} {{/dev/sda1}}`
|
||||
`sudo vgcreate {{volume_group}} {{/dev/sdXY}}`
|
||||
|
||||
- Create a new volume group called vg1 using multiple devices:
|
||||
- Create a new volume group using multiple devices:
|
||||
|
||||
`vgcreate {{vg1}} {{/dev/sda1}} {{/dev/sdb1}} {{/dev/sdc1}}`
|
||||
`sudo vgcreate {{volume_group}} {{/dev/sdXY}} {{/dev/sdXZ}}`
|
||||
|
||||
Reference in New Issue
Block a user