mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-04 02:43:45 +00:00
Update cheatsheets
This commit is contained in:
@@ -30,7 +30,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Delete untracked files except those matching the given patterns:
|
||||
|
||||
`git clean {{[-f|--force]}} {{[-e|--exclude]}} {{'*.ext'}} {{[-e|--exclude]}} {{path/to/directory}}/`
|
||||
`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`):
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# csplit
|
||||
|
||||
> Split a file into pieces.
|
||||
> This generates files named "xx00", "xx01", and so on.
|
||||
> This generates files named `xx00`, `xx01`, and so on.
|
||||
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/csplit-invocation.html>.
|
||||
|
||||
- Split a file in two parts, starting the second one at line 10:
|
||||
|
||||
12
tldr/linux/systemctl-condreload
Normal file
12
tldr/linux/systemctl-condreload
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl condreload
|
||||
|
||||
> This command is an alias of `systemctl try-reload-or-restart`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr systemctl try-reload-or-restart`
|
||||
12
tldr/linux/systemctl-condrestart
Normal file
12
tldr/linux/systemctl-condrestart
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl condrestart
|
||||
|
||||
> This command is an alias of `systemctl try-restart`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr systemctl try-restart`
|
||||
12
tldr/linux/systemctl-condstop
Normal file
12
tldr/linux/systemctl-condstop
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl condstop
|
||||
|
||||
> This command is an alias of `systemctl stop`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr systemctl stop`
|
||||
12
tldr/linux/systemctl-force-reload
Normal file
12
tldr/linux/systemctl-force-reload
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl force-reload
|
||||
|
||||
> This command is an alias of `systemctl try-reload-or-restart`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr systemctl try-reload-or-restart`
|
||||
12
tldr/linux/systemctl-reload-or-try-restart
Normal file
12
tldr/linux/systemctl-reload-or-try-restart
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl reload-or-try-restart
|
||||
|
||||
> This command is an alias of `systemctl try-reload-or-restart`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr systemctl try-reload-or-restart`
|
||||
23
tldr/unsetopt
Normal file
23
tldr/unsetopt
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# unsetopt
|
||||
|
||||
> Unset options for the Z shell (`zsh`).
|
||||
> Note: Zsh options are case-insensitive and underscores are ignored.
|
||||
> See also: `setopt` to set options.
|
||||
> More information: <https://zsh.sourceforge.io/Doc/Release/Options.html>.
|
||||
|
||||
- List all currently unset options (use `setopt` to list set options):
|
||||
|
||||
`unsetopt`
|
||||
|
||||
- Unset a specific option:
|
||||
|
||||
`unsetopt {{option_name}}`
|
||||
|
||||
- Unset multiple options at once:
|
||||
|
||||
`unsetopt {{option_name1 option_name2 ...}}`
|
||||
Reference in New Issue
Block a user