diff --git a/tldr/git-clean b/tldr/git-clean index 651653e7..e757b044 100644 --- a/tldr/git-clean +++ b/tldr/git-clean @@ -8,10 +8,6 @@ source: https://github.com/tldr-pages/tldr.git > Remove files not tracked by Git from the working tree. > More information: . -- Delete untracked files: - -`git clean` - - Interactively delete untracked files: `git clean {{[-i|--interactive]}}` @@ -20,14 +16,22 @@ source: https://github.com/tldr-pages/tldr.git `git clean {{[-n|--dry-run]}}` -- Forcefully delete untracked files: +- Immediately force deletion of all untracked files: `git clean {{[-f|--force]}}` -- Forcefully delete untracked [d]irectories: +- Delete untracked [d]irectories: `git clean {{[-f|--force]}} -d` -- Delete untracked files, including e[x]cluded files (files ignored in `.gitignore` and `.git/info/exclude`): +- Delete only untracked files matching specific paths or glob patterns: -`git clean -x` +`git clean {{[-f|--force]}} -- {{path/to/directory}} '{{*.ext}}'` + +- Delete untracked files except those matching the given patterns: + +`git clean {{[-f|--force]}} {{[-e|--exclude]}} {{'*.ext'}} {{[-e|--exclude]}} {{path/to/directory/}}` + +- Delete untracked files and e[x]cluded files (those listed in `.gitignore` and `.git/info/exclude`): + +`git clean {{[-f|--force]}} -x` diff --git a/tldr/linux/foot b/tldr/linux/foot new file mode 100644 index 00000000..25a503c8 --- /dev/null +++ b/tldr/linux/foot @@ -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: . + +- 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]}}` diff --git a/tldr/linux/mke2fs b/tldr/linux/mke2fs index 4d1c8e30..e4a5eca4 100644 --- a/tldr/linux/mke2fs +++ b/tldr/linux/mke2fs @@ -8,14 +8,14 @@ source: https://github.com/tldr-pages/tldr.git > Create a Linux filesystem inside a partition. > More information: . -- 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}}` diff --git a/tldr/linux/pacinstall b/tldr/linux/pacinstall new file mode 100644 index 00000000..37a859a2 --- /dev/null +++ b/tldr/linux/pacinstall @@ -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` diff --git a/tldr/linux/pacremove b/tldr/linux/pacremove new file mode 100644 index 00000000..996038a1 --- /dev/null +++ b/tldr/linux/pacremove @@ -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` diff --git a/tldr/linux/vgcreate b/tldr/linux/vgcreate index 3e0a1fd4..31dfa449 100644 --- a/tldr/linux/vgcreate +++ b/tldr/linux/vgcreate @@ -9,10 +9,10 @@ source: https://github.com/tldr-pages/tldr.git > See also: `lvm`. > More information: . -- 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}}`