diff --git a/tldr/claude b/tldr/claude index d8cb069d..8c9dacaf 100644 --- a/tldr/claude +++ b/tldr/claude @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # claude > An agent-based coding tool that understands your code base and helps you code faster through natural language commands. -> More information: . +> More information: . - Execute with prompt: @@ -27,3 +27,11 @@ source: https://github.com/tldr-pages/tldr.git - Get the list of configurations: `claude config list` + +- Continue the most recent session: + +`claude {{[-c|--continue]}}` + +- Interactively select a session to continue: + +`claude {{[-r|--resume]}}` diff --git a/tldr/clementine b/tldr/clementine index 25ded012..24eb39d1 100644 --- a/tldr/clementine +++ b/tldr/clementine @@ -15,7 +15,7 @@ source: https://github.com/tldr-pages/tldr.git - Start playing music: -`clementine {{url|path/to/music.ext}}` +`clementine {{URL|path/to/music.ext}}` - Toggle between pausing and playing: @@ -31,7 +31,7 @@ source: https://github.com/tldr-pages/tldr.git - Create a new playlist with one or more music files or URLs: -`clementine {{[-c|--create]}} {{url1 url2 ...|path/to/music1.ext path/to/music2.ext ...}}` +`clementine {{[-c|--create]}} {{URL1|path/to/music1.ext URL2|path/to/music2.ext ...}}` - Load a playlist file: diff --git a/tldr/cradle b/tldr/cradle index db238c7e..e4bb3642 100644 --- a/tldr/cradle +++ b/tldr/cradle @@ -6,21 +6,37 @@ source: https://github.com/tldr-pages/tldr.git # cradle > The Cradle PHP framework. -> Some subcommands such as `install` have their own usage documentation. -> More information: . +> Some subcommands such as `install` and `package` have their own usage documentation. +> More information: . -- Connect to a server: +- Install Cradle components (prompts for additional info): + +`cradle install` + +- Force install and overwrite files: + +`cradle install {{[-f|--force]}}` + +- Connect to a remote server (see `config/deploy.php`): `cradle connect {{server_name}}` -- Execute a Cradle command: +- Display the current Cradle configuration: -`cradle {{command}}` +`cradle config show` + +- Install a package into the current Cradle instance: + +`cradle package install {{package_name}}` + +- List installed packages: + +`cradle package list` - Display help: `cradle help` -- Display help for a specific command: +- Display version: -`cradle {{command}} help` +`cradle --version` diff --git a/tldr/csc b/tldr/csc index 82609094..ca74b771 100644 --- a/tldr/csc +++ b/tldr/csc @@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git - Compile one or more C# files to a CIL executable: -`csc {{path/to/input_file_a.cs}} {{path/to/input_file_b.cs}}` +`csc {{path/to/input_file1.cs path/to/input_file2.cs ...}}` - Specify the output filename: diff --git a/tldr/fastmod b/tldr/fastmod index 099c69ef..1c2149ef 100644 --- a/tldr/fastmod +++ b/tldr/fastmod @@ -15,7 +15,7 @@ source: https://github.com/tldr-pages/tldr.git - Replace a `regex` in case-insensitive mode in specific files or directories: -`fastmod --ignore-case {{regex}} {{replacement}} -- {{path/to/file path/to/directory ...}}` +`fastmod --ignore-case {{regex}} {{replacement}} -- {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` - Replace a `regex` in a specific directory in files filtered with a case-insensitive glob pattern: diff --git a/tldr/jj-next b/tldr/jj-next new file mode 100644 index 00000000..66aadae1 --- /dev/null +++ b/tldr/jj-next @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# jj next + +> Move the working-copy commit to a child revision. +> More information: . + +- Move the working-copy commit to the next child revision: + +`jj next` + +- Move the working-copy commit a number of revisions forward: + +`jj next {{offset}}` + +- Edit the child revision directly, instead of creating a new working-copy commit: + +`jj next {{[-e|--edit]}}` + +- Create a new working-copy commit instead of editing the child revision directly: + +`jj next {{[-n|--no-edit]}}` + +- Jump to the next conflicted child: + +`jj next --conflict` diff --git a/tldr/jj-prev b/tldr/jj-prev new file mode 100644 index 00000000..cf1a3d3d --- /dev/null +++ b/tldr/jj-prev @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# jj prev + +> Move the working-copy commit to a parent revision. +> More information: . + +- Move the working-copy commit to the previous parent revision: + +`jj prev` + +- Move the working-copy commit a number of revisions backward: + +`jj prev {{offset}}` + +- Edit the parent revision directly, instead of creating a new working-copy commit: + +`jj prev {{[-e|--edit]}}` + +- Create a new working-copy commit instead of editing the parent revision directly: + +`jj prev {{[-n|--no-edit]}}` + +- Jump to the previous conflicted parent: + +`jj prev --conflict` diff --git a/tldr/linux/autoexpect b/tldr/linux/autoexpect new file mode 100644 index 00000000..14aeecbd --- /dev/null +++ b/tldr/linux/autoexpect @@ -0,0 +1,21 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# autoexpect + +> Generate a script from watching a session. +> More information: . + +- Spawn a shell and generate a script from it: + +`autoexpect` + +- Run a command and generate a script from it: + +`autoexpect {{command}}` + +- Run a command, generate a script, and save the script to a specified file: + +`autoexpect -f {{path/to/file}} {{command}}` diff --git a/tldr/linux/koji-cancel b/tldr/linux/koji-cancel new file mode 100644 index 00000000..4fbc3406 --- /dev/null +++ b/tldr/linux/koji-cancel @@ -0,0 +1,25 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# koji cancel + +> Cancel active tasks running on the Koji build system. +> More information: . + +- Cancel a task by its ID: + +`koji cancel {{task_id}}` + +- Cancel multiple tasks: + +`koji cancel {{task_id1 task_id2 ...}}` + +- Cancel a task with verbose output: + +`koji cancel --verbose {{task_id}}` + +- Display help: + +`koji cancel {{[-h|--help]}}` diff --git a/tldr/linux/koji-taginfo b/tldr/linux/koji-taginfo new file mode 100644 index 00000000..42434399 --- /dev/null +++ b/tldr/linux/koji-taginfo @@ -0,0 +1,17 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# koji taginfo + +> Print basic information about a tag. +> More information: . + +- Print basic information: + +`koji taginfo {{tag1 tag2 ...}}` + +- Display help: + +`koji taginfo --help` diff --git a/tldr/linux/koji-untag-build b/tldr/linux/koji-untag-build new file mode 100644 index 00000000..a48d5ef8 --- /dev/null +++ b/tldr/linux/koji-untag-build @@ -0,0 +1,33 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# koji untag-build + +> Remove a tag from one or more builds. +> More information: . + +- Remove a tag from one or more builds: + +`koji untag-build {{tag}} {{NVR1 NVR2 ...}}` + +- Untag all versions of the package in this tag: + +`koji untag-build {{tag}} {{pkg1 pkg2 ...}} --all` + +- Untag all versions of the package in this tag except the latest: + +`koji untag-build {{tag}} {{pkg1 pkg2 ...}} --non-latest` + +- Test mode: + +`koji untag-build {{tag}} {{NVR1 NVR2 ...}} {{[-n|--test]}}` + +- Print details: + +`koji untag-build {{tag}} {{NVR1 NVR2 ...}} {{[-v|--verbose]}}` + +- Display help: + +`koji untag-build --help` diff --git a/tldr/linux/setsebool b/tldr/linux/setsebool index 01db1b9b..fc3124cb 100644 --- a/tldr/linux/setsebool +++ b/tldr/linux/setsebool @@ -21,9 +21,9 @@ source: https://github.com/tldr-pages/tldr.git `sudo setsebool -P {{container_use_devices}} {{1|true|on|0|false|off}}` -- Set or unset multiple booleans [P]ersistently at once: +- Set or unset multiple booleans at once [P]ersistently: -`sudo setsebool -P {{ftpd_use_fusefs=1 mount_anyfile=0 ...}}` +`sudo setsebool -P {{key1 1 key2 0 ...}}` - Set or unset a boolean persistently (alternative method using `semanage-boolean`): diff --git a/tldr/linux/su b/tldr/linux/su index bf7d6b4a..b9f07ee3 100644 --- a/tldr/linux/su +++ b/tldr/linux/su @@ -23,3 +23,15 @@ source: https://github.com/tldr-pages/tldr.git - Execute a command as another user: `su - {{username}} {{[-c|--command]}} "{{command}}"` + +- Switch to a given user and use a specific shell (e.g., zsh, fish, bash): + +`su {{[-s|--shell]}} /{{path/to/shell}} {{username}}` + +- Display help: + +`su {{[-h|--help]}}` + +- Display version: + +`su {{[-V|--version]}}` diff --git a/tldr/linux/systemctl-reload b/tldr/linux/systemctl-reload index e125882e..adfa3971 100644 --- a/tldr/linux/systemctl-reload +++ b/tldr/linux/systemctl-reload @@ -15,7 +15,7 @@ source: https://github.com/tldr-pages/tldr.git - Reload multiple services: -`systemctl reload {{networking apache2 ...}}` +`systemctl reload {{unit1 unit2 ...}}` - Reload a service for the current user: diff --git a/tldr/linux/togglesebool b/tldr/linux/togglesebool index ec737d27..be398059 100644 --- a/tldr/linux/togglesebool +++ b/tldr/linux/togglesebool @@ -11,4 +11,8 @@ source: https://github.com/tldr-pages/tldr.git - Flip the current (non-persistent) values of the specified booleans: -`sudo togglesebool {{virt_use_samba virt_use_usb ...}}` +`sudo togglesebool {{virt_use_samba|virt_use_usb|...}}` + +- Flip multiple booleans: + +`sudo togglesebool {{key1 key2 ...}}` diff --git a/tldr/linux/xfs_admin b/tldr/linux/xfs_admin new file mode 100644 index 00000000..cf058ae3 --- /dev/null +++ b/tldr/linux/xfs_admin @@ -0,0 +1,33 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# xfs_admin + +> Tune an XFS filesystem. +> More information: . + +- Display the filesystem label: + +`sudo xfs_admin {{[-l|--list]}} {{/dev/sdX}}` + +- Set the filesystem label: + +`sudo xfs_admin {{[-L|--Label]}} "{{label}}" {{/dev/sdX}}` + +- Display the filesystem UUID: + +`sudo xfs_admin {{[-u|--uuid]}} {{/dev/sdX}}` + +- Set the filesystem UUID (use with caution): + +`sudo xfs_admin {{[-U|--UUID]}} {{uuid}} {{/dev/sdX}}` + +- Generate a new UUID for the filesystem: + +`sudo xfs_admin {{[-U|--UUID]}} generate {{/dev/sdX}}` + +- Display help: + +`xfs_admin` diff --git a/tldr/mpg321 b/tldr/mpg321 index 64cc1268..fd5086af 100644 --- a/tldr/mpg321 +++ b/tldr/mpg321 @@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git - Play an audio source exactly `n` times (0 means forever): -`mpg321 {{[-l|--loop]}} {{n}} {{path/to/file_a|URL path/to/file_b|URL ...}}` +`mpg321 {{[-l|--loop]}} {{n}} {{path/to/file1|URL1 path/to/file2|URL2 ...}}` - Play a directory recursively: @@ -19,15 +19,15 @@ source: https://github.com/tldr-pages/tldr.git - Enable Basic Keys ( `*` or `/` - Increase or decrease volume, `n` - Skip song, `m` - Mute/unmute.) while playing: -`mpg321 -K {{path/to/file_a|URL path/to/file_b|URL ...}}` +`mpg321 -K {{path/to/file1|URL1 path/to/file2|URL2 ...}}` - Play files randomly until interrupted: -`mpg321 {{[-Z|--random]}} {{path/to/file_a|URL path/to/file_b|URL ...}}` +`mpg321 {{[-Z|--random]}} {{path/to/file1|URL1 path/to/file2|URL2 ...}}` - Shuffle the files before playing them once: -`mpg321 {{[-z|--shuffle]}} {{path/to/file_a|URL path/to/file_b|URL ...}}` +`mpg321 {{[-z|--shuffle]}} {{path/to/file1|URL1 path/to/file2|URL2 ...}}` - Play all files in the current directory and subdirectories, randomly (until interrupted), with Basic Keys enabled: diff --git a/tldr/newsboat b/tldr/newsboat index 669fa63d..f40ecd38 100644 --- a/tldr/newsboat +++ b/tldr/newsboat @@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git - Execute one or more commands in non-interactive mode: -`newsboat {{[-x|--execute]}} {{reload print-unread ...}}` +`newsboat {{[-x|--execute]}} {{reload|print-unread|...}}` - See keyboard shortcuts (the most relevant are visible in the status line): diff --git a/tldr/npm-pkg b/tldr/npm-pkg index 20b50f3f..906ba253 100644 --- a/tldr/npm-pkg +++ b/tldr/npm-pkg @@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git - Get multiple properties at once: -`npm pkg get {{name version ...}}` +`npm pkg get {{name|version|...}}` - Get multiple values across all workspaces: diff --git a/tldr/onionsearch b/tldr/onionsearch index 8e093e47..3fcaf360 100644 --- a/tldr/onionsearch +++ b/tldr/onionsearch @@ -15,15 +15,15 @@ source: https://github.com/tldr-pages/tldr.git - Request search results from specific search engines: -`onionsearch "{{string}}" --engines {{tor66 deeplink phobos ...}}` +`onionsearch "{{string}}" --engines {{tor66|deeplink|phobos|...}}` - Exclude certain search engines when searching: -`onionsearch "{{string}}" --exclude {{candle ahmia ...}}` +`onionsearch "{{string}}" --exclude {{candle|ahmia|...}}` - Limit the number of pages to load per engine: -`onionsearch "{{stuxnet}}" --engines {{tor66 deeplink phobos ...}} --limit {{3}}` +`onionsearch "{{stuxnet}}" --engines {{tor66|deeplink|phobos|...}} --limit {{3}}` - List all supported search engines: diff --git a/tldr/prowler-aws b/tldr/prowler-aws index 60bc72ce..97b17fed 100644 --- a/tldr/prowler-aws +++ b/tldr/prowler-aws @@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git - Run checks for selected AWS services: -`prowler aws {{[-s|--services]}} {{s3 ec2 ...}}` +`prowler aws {{[-s|--services]}} {{s3|ec2|...}}` - Run a specific AWS check: @@ -27,4 +27,4 @@ source: https://github.com/tldr-pages/tldr.git - Exclude specific checks or services: -`prowler aws {{[-e|--excluded-checks]}} {{s3_bucket_public_access}} --exclude-services {{s3 ec2 ...}}` +`prowler aws {{[-e|--excluded-checks]}} {{s3_bucket_public_access}} --exclude-services {{s3|ec2|...}}` diff --git a/tldr/prowler-azure b/tldr/prowler-azure index d95dc761..9611a9e4 100644 --- a/tldr/prowler-azure +++ b/tldr/prowler-azure @@ -31,7 +31,7 @@ source: https://github.com/tldr-pages/tldr.git - Run checks for selected Azure services: -`prowler azure {{[-s|--services]}} {{defender iam ...}}` +`prowler azure {{[-s|--services]}} {{defender|iam|...}}` - Run a specific Azure check: @@ -39,4 +39,4 @@ source: https://github.com/tldr-pages/tldr.git - Exclude specific checks or services: -`prowler azure {{[-e|--excluded-checks]}} {{storage_blob_public_access_level_is_disabled}} --exclude-services {{defender iam ...}}` +`prowler azure {{[-e|--excluded-checks]}} {{storage_blob_public_access_level_is_disabled}} --exclude-services {{defender|iam|...}}` diff --git a/tldr/prowler-gcp b/tldr/prowler-gcp index cf21a142..68f18805 100644 --- a/tldr/prowler-gcp +++ b/tldr/prowler-gcp @@ -23,7 +23,7 @@ source: https://github.com/tldr-pages/tldr.git - Run checks for selected GCP services: -`prowler gcp {{[-s|--services]}} {{iam compute ...}}` +`prowler gcp {{[-s|--services]}} {{iam|compute|...}}` - Run a specific GCP check: @@ -31,4 +31,4 @@ source: https://github.com/tldr-pages/tldr.git - Exclude specific checks or services: -`prowler gcp {{[-e|--excluded-checks]}} {{gcp_storage_bucket_logging_enabled}} --exclude-services {{iam compute ...}}` +`prowler gcp {{[-e|--excluded-checks]}} {{gcp_storage_bucket_logging_enabled}} --exclude-services {{iam|compute|...}}` diff --git a/tldr/prowler-kubernetes b/tldr/prowler-kubernetes index f4f9fa30..f04d907c 100644 --- a/tldr/prowler-kubernetes +++ b/tldr/prowler-kubernetes @@ -27,7 +27,7 @@ source: https://github.com/tldr-pages/tldr.git - Run checks for selected Kubernetes services: -`prowler kubernetes {{[-s|--services]}} {{ietcd apiserver ...}}` +`prowler kubernetes {{[-s|--services]}} {{ietcd|apiserver|...}}` - Run a specific Kubernetes check: @@ -35,4 +35,4 @@ source: https://github.com/tldr-pages/tldr.git - Exclude specific checks or services: -`prowler kubernetes {{[-e|--excluded-checks]}} {{etcd_encryption}} --exclude-services {{ietcd apiserver ...}}` +`prowler kubernetes {{[-e|--excluded-checks]}} {{etcd_encryption}} --exclude-services {{ietcd|apiserver|...}}`