diff --git a/tldr/fast b/tldr/fast index 128aba3c..6880b1b4 100644 --- a/tldr/fast +++ b/tldr/fast @@ -19,3 +19,7 @@ source: https://github.com/tldr-pages/tldr.git - Display results on a single line to reduce spacing: `fast --single-line` + +- Display complete results - download/upload speeds, latency, and ISP info: + +`fast --verbose` diff --git a/tldr/gh-agent b/tldr/gh-agent new file mode 100644 index 00000000..3b4a5cc5 --- /dev/null +++ b/tldr/gh-agent @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# gh agent + +> This command is an alias of `gh agent-task`. + +- View documentation for the original command: + +`tldr gh agent-task` diff --git a/tldr/gh-agent-task b/tldr/gh-agent-task new file mode 100644 index 00000000..7c4ec298 --- /dev/null +++ b/tldr/gh-agent-task @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# gh agent-task + +> Manage GitHub agent tasks. +> More information: . + +- List the most recent agent tasks: + +`gh {{[agent|agent-task]}} list` + +- Create a new agent task for the current repository: + +`gh {{[agent|agent-task]}} create "{{Improve the performance of the data processing pipeline}}"` + +- Create a new agent task from a file: + +`gh {{[agent|agent-task]}} create {{[-F|--from-file]}} {{path/to/file}}` + +- View details about a specific agent task: + +`gh {{[agent|agent-task]}} view {{session_id|pr_number|url|branch}}` + +- Show the log of a specific agent task: + +`gh {{[agent|agent-task]}} view --log {{session_id|pr_number|url|branch}}` diff --git a/tldr/linux/systemctl-add-requires b/tldr/linux/systemctl-add-requires new file mode 100644 index 00000000..91bd4e58 --- /dev/null +++ b/tldr/linux/systemctl-add-requires @@ -0,0 +1,21 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# systemctl add-requires + +> Add `Requires` dependencies to a target for one or more units. +> More information: . + +- Add a `Requires` dependency from a target to a unit: + +`systemctl add-requires {{target}} {{unit}}` + +- Add multiple `Requires` dependencies at once: + +`systemctl add-requires {{target}} {{unit1 unit2 ...}}` + +- Add a user-level `Requires` dependency: + +`systemctl --user add-requires {{target}} {{unit}}` diff --git a/tldr/linux/systemctl-add-wants b/tldr/linux/systemctl-add-wants new file mode 100644 index 00000000..d32d42d5 --- /dev/null +++ b/tldr/linux/systemctl-add-wants @@ -0,0 +1,21 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# systemctl add-wants + +> Add `Wants` dependencies to a target for one or more units. +> More information: . + +- Add a `Wants` dependency from a target to a unit: + +`systemctl add-wants {{target}} {{unit}}` + +- Add multiple `Wants` dependencies at once: + +`systemctl add-wants {{target}} {{unit1 unit2 ...}}` + +- Add a user-level `Wants` dependency: + +`systemctl --user add-wants {{target}} {{unit}}` diff --git a/tldr/linux/systemctl-bind b/tldr/linux/systemctl-bind new file mode 100644 index 00000000..96b80cd4 --- /dev/null +++ b/tldr/linux/systemctl-bind @@ -0,0 +1,25 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# systemctl bind + +> Ephemerally bind-mount a file or directory from the host into a unit's mount namespace. +> More information: . + +- Bind-mount a host path into the same location inside the unit: + +`systemctl bind {{unit}} /{{path/to/host_directory}}` + +- Bind-mount a host path into a different location inside the unit: + +`systemctl bind {{unit}} /{{path/to/host_directory}} /{{path/to/unit_directory}}` + +- Bind-mount a path as read-only inside the unit: + +`systemctl bind --read-only {{unit}} /{{path/to/host_directory}}` + +- Create the destination path inside the unit before binding: + +`systemctl bind --mkdir {{unit}} /{{path/to/host_directory}} /{{path/to/unit_directory}}` diff --git a/tldr/pueue b/tldr/pueue index 20b5cf7e..03719a08 100644 --- a/tldr/pueue +++ b/tldr/pueue @@ -7,16 +7,36 @@ source: https://github.com/tldr-pages/tldr.git > A task management tool for sequential and parallel execution of long-running tasks. > Some subcommands such as `add` have their own usage documentation. -> More information: . +> More information: . -- Show general help and available subcommands: +- Add a command to the task list: -`pueue {{[-h|--help]}}` +`pueue add -- "{{command}}"` -- Execute a pueue subcommand: +- List tasks in the task list: -`pueue {{subcommand}}` +`pueue status` -- Check the version of pueue: +- Send data to a task's `stdin`: -`pueue {{[-V|--version]}}` +`pueue send {{task_id}} {{"hello"}}` + +- View a task's `stdout` and `stderr`, as well as basic information about that task: + +`pueue log {{task_id}}` + +- Create a task group: + +`pueue group --add {{group_name}}` + +- Kill a task: + +`pueue kill {{task_id}}` + +- Set maximum amount of parallel tasks (queued tasks are started as needed to meet this limit): + +`pueue parallel {{number_of_parallel_tasks}}` + +- Edit the command line of a stopped task in the default editor (as specified by `$EDITOR`): + +`pueue edit {{task_id}}` diff --git a/tldr/tail b/tldr/tail index c1cdd50d..fbbe3e8b 100644 --- a/tldr/tail +++ b/tldr/tail @@ -29,6 +29,6 @@ source: https://github.com/tldr-pages/tldr.git `tail {{[-F|--retry --follow]}} {{path/to/file}}` -- Show last 'num' lines in 'file' and refresh every 'n' seconds: +- Show last 'count' lines in 'file' and refresh every 'seconds' seconds: `tail {{[-n|--lines]}} {{count}} {{[-s|--sleep-interval]}} {{seconds}} {{[-f|--follow]}} {{path/to/file}}`