diff --git a/tldr/asnmap b/tldr/asnmap index bfaff098..69e00492 100644 --- a/tldr/asnmap +++ b/tldr/asnmap @@ -27,7 +27,7 @@ source: https://github.com/tldr-pages/tldr.git - Lookup CIDR ranges from a file of targets: -`asnmap {{[-f|-file]}} {{targets.txt}} -silent` +`asnmap {{[-f|-file]}} {{path/to/targets.txt}} -silent` - Output results in JSON format: diff --git a/tldr/cmus b/tldr/cmus new file mode 100644 index 00000000..5ad5685f --- /dev/null +++ b/tldr/cmus @@ -0,0 +1,39 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# cmus + +> Command-line music player. +> Use `` to navigate, `` to select, and numbers `<1>`-`<8>` switch between different views. +> See also: `ncmpcpp`, `clementine`, `qmmp`. +> More information: . + +- Open `cmus` into the specified directory (this will become your new working directory): + +`cmus {{path/to/directory}}` + +- Add file/directory to library: + +`<:>add {{path/to/file_or_directory}}` + +- Refresh the metadata of songs in the library: + +`<:>update-cache` + +- Search for songs, albums, or artists: + +`{{something}}` + +- Pause/unpause current song: + +`` + +- Toggle shuffle mode on/off: + +`` + +- Quit `cmus`: + +`` diff --git a/tldr/cmus-remote b/tldr/cmus-remote new file mode 100644 index 00000000..fdf0a5a3 --- /dev/null +++ b/tldr/cmus-remote @@ -0,0 +1,30 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# cmus-remote + +> Control `cmus`. +> See also: `playerctl`. +> More information: . + +- [Q]uery player status information: + +`cmus-remote -Q` + +- Toggle playback: + +`cmus-remote {{[-u|--pause]}}` + +- Skip to the next song: + +`cmus-remote {{[-n|--next]}}` + +- Skip back to the previous song: + +`cmus-remote {{[-r|--prev]}}` + +- Execute a `cmus` command: + +`cmus-remote {{[-C|--raw]}} "{{set repeat?}}"` diff --git a/tldr/cmusfm b/tldr/cmusfm new file mode 100644 index 00000000..104f1fc5 --- /dev/null +++ b/tldr/cmusfm @@ -0,0 +1,17 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# cmusfm + +> Scrobble tracks from the `cmus` music player to Last.fm. +> More information: . + +- Initialize `cmusfm` and authorize access to your account: + +`cmusfm init` + +- Display help: + +`cmusfm` diff --git a/tldr/linux/loadkeys b/tldr/linux/loadkeys index 9ee5eaad..87b64c52 100644 --- a/tldr/linux/loadkeys +++ b/tldr/linux/loadkeys @@ -17,21 +17,21 @@ source: https://github.com/tldr-pages/tldr.git `sudo loadkeys {{[-d|--default]}}` -- Create a kernel source table: +- Print the kernel source table of a keymap to `stdout`: -`loadkeys {{[-m|--mktable]}}` +`loadkeys {{[-m|--mktable]}} {{en|de|fi|...}}` -- Create a binary keymap: +- Print the binary format of a keymap to `stdout`: -`loadkeys {{[-b|--bkeymap]}}` +`loadkeys {{[-b|--bkeymap]}} {{en|de|fi|...}}` - Search and parse keymap without action: -`loadkeys {{[-p|--parse]}}` +`loadkeys {{[-p|--parse]}} {{en|de|fi|...}}` -- Load the keymap suppressing all output: +- Load a keymap from `stdin`, suppressing all output: -`loadkeys {{[-q|--quiet]}}` +`{{command}} | sudo loadkeys {{[-q|--quiet]}}` - Set a keymap for a specific console: @@ -39,4 +39,4 @@ source: https://github.com/tldr-pages/tldr.git - Load a keymap from the specified file for the console: -`loadkeys {{[-C|--console]}} {{/dev/ttyN}} /{{path/to/file}}` +`sudo loadkeys {{[-C|--console]}} {{/dev/ttyN}} /{{path/to/file}}` diff --git a/tldr/linux/lure b/tldr/linux/lure new file mode 100644 index 00000000..67906dfd --- /dev/null +++ b/tldr/linux/lure @@ -0,0 +1,41 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# lure + +> A distro-agnostic build system and user repository for Linux. +> More information: . + +- Install a package: + +`lure {{[in|install]}} {{package}}` + +- Remove a package: + +`lure {{[rm|remove]}} {{package}}` + +- Update packages: + +`lure {{[up|upgrade]}}` + +- List all available packages: + +`lure {{[ls|list]}}` + +- Pull all repositories that have changed: + +`lure {{[ref|refresh]}}` + +- Add a new repository: + +`lure {{[ar|addrepo]}} {{[-n|--name]}} {{repository_name}} --url {{repository_url}}` + +- Remove an existing repository: + +`lure {{[rr|removerepo]}} {{[-n|--name]}} {{repository_name}}` + +- Build a package: + +`lure build -s {{path/to/script}}` diff --git a/tldr/linux/mount b/tldr/linux/mount index e14665e6..bcf47666 100644 --- a/tldr/linux/mount +++ b/tldr/linux/mount @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # mount > Get access to an entire filesystem in one directory. +> See also: `udisksctl`. > More information: . - Show all mounted filesystems: diff --git a/tldr/linux/udisksctl b/tldr/linux/udisksctl index 753824dc..1f47d5af 100644 --- a/tldr/linux/udisksctl +++ b/tldr/linux/udisksctl @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # udisksctl > Interact with `udisksd` to query and manipulate storage devices. +> See also: `mount`. > More information: . - Show high-level information about disk drives and block devices: diff --git a/tldr/osx/tccutil b/tldr/osx/tccutil new file mode 100644 index 00000000..9868317c --- /dev/null +++ b/tldr/osx/tccutil @@ -0,0 +1,18 @@ +--- +syntax: markdown +tags: [tldr, osx] +source: https://github.com/tldr-pages/tldr.git +--- +# tccutil + +> Reset decisions stored in the privacy database. +> Forces apps to prompt again the next time they access the service. +> More information: . + +- Reset a specific service: + +`sudo tccutil reset {{service}}` + +- Reset all services: + +`sudo tccutil reset All`