diff --git a/tldr/git-verify-pack b/tldr/git-verify-pack new file mode 100644 index 00000000..c7bfbc84 --- /dev/null +++ b/tldr/git-verify-pack @@ -0,0 +1,21 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# git verify-pack + +> Verify packed Git archive files. +> More information: . + +- Verify a packed Git archive file: + +`git verify-pack {{path/to/pack-file}}` + +- Verify a packed Git archive file and show verbose details: + +`git verify-pack --verbose {{path/to/pack-file}}` + +- Verify a packed Git archive file and only display the statistics: + +`git verify-pack --stat-only {{path/to/pack-file}}` diff --git a/tldr/huggingface-cli b/tldr/huggingface-cli new file mode 100644 index 00000000..54f87744 --- /dev/null +++ b/tldr/huggingface-cli @@ -0,0 +1,42 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# huggingface-cli + +> Interact with Hugging Face Hub. +> Login, manage local cache, download or upload files. +> More information: . + +- Login to Hugging Face Hub: + +`huggingface-cli login` + +- Display the name of the logged in user: + +`huggingface-cli whoami` + +- Log out: + +`huggingface-cli logout` + +- Print information about the environment: + +`huggingface-cli env` + +- Download files from an repository and print out the path (omit filenames to download entire repository): + +`huggingface-cli download --repo-type {{repo_type}} {{repo_id}} {{filename1 filename2 ...}}` + +- Upload an entire folder or a file to Hugging Face: + +`huggingface-cli upload --repo-type {{repo_type}} {{repo_id}} {{path/to/local_file_or_directory}} {{path/to/repo_file_or_directory}}` + +- Scan cache to see downloaded repositories and their disk usage: + +`huggingface-cli scan-cache` + +- Delete the cache interactively: + +`huggingface-cli delete-cache` diff --git a/tldr/id b/tldr/id index 29278891..9fb8b686 100644 --- a/tldr/id +++ b/tldr/id @@ -12,11 +12,19 @@ source: https://github.com/tldr-pages/tldr.git `id` +- Display the current user identity: + +`id -un` + - Display the current user identity as a number: `id -u` -- Display the current group identity as a number: +- Display the current primary group identity: + +`id -gn` + +- Display the current primary group identity as a number: `id -g` diff --git a/tldr/linux/eselect b/tldr/linux/eselect new file mode 100644 index 00000000..64eba6a3 --- /dev/null +++ b/tldr/linux/eselect @@ -0,0 +1,22 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# eselect + +> Gentoo's multi-purpose configuration and management tool. +> It consists of various modules that take care of individual administrative tasks. +> More information: . + +- Display a list of installed modules: + +`eselect` + +- View documentation for a specific module: + +`tldr eselect {{module}}` + +- Display a help message for a specific module: + +`eselect {{module}} help` diff --git a/tldr/linux/eselect-locale b/tldr/linux/eselect-locale new file mode 100644 index 00000000..284a7c1a --- /dev/null +++ b/tldr/linux/eselect-locale @@ -0,0 +1,21 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# eselect locale + +> An `eselect` module for managing the `LANG` environment variable, which sets the system language. +> More information: . + +- List available locales: + +`eselect locale list` + +- Set the `LANG` environment variable in `/etc/profile.env` by name or index from the `list` command: + +`eselect locale set {{name|index}}` + +- Display the value of `LANG` in `/etc/profile.env`: + +`eselect locale show` diff --git a/tldr/linux/eselect-repository b/tldr/linux/eselect-repository new file mode 100644 index 00000000..11e233fd --- /dev/null +++ b/tldr/linux/eselect-repository @@ -0,0 +1,38 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# eselect repository + +> An `eselect` module for configuring ebuild repositories for Portage. +> After enabling a repository, you have to run `emerge --sync repo_name` to download ebuilds. +> More information: . + +- List all ebuild repositories registered on : + +`eselect repository list` + +- List enabled repositories: + +`eselect repository list -i` + +- Enable a repository from the list by its name or index from the `list` command: + +`eselect repository enable {{name|index}}` + +- Enable an unregistered repository: + +`eselect repository add {{name}} {{rsync|git|mercurial|svn|...}} {{sync_uri}}` + +- Disable repositories without removing their contents: + +`eselect repository disable {{repo1 repo2 ...}}` + +- Disable repositories and remove their contents: + +`eselect repository remove {{repo1 repo2 ...}}` + +- Create a local repository and enable it: + +`eselect repository create {{name}} {{path/to/repo}}` diff --git a/tldr/linux/systemctl-reboot b/tldr/linux/systemctl-reboot new file mode 100644 index 00000000..33233bf5 --- /dev/null +++ b/tldr/linux/systemctl-reboot @@ -0,0 +1,17 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# systemctl reboot + +> Reboot the system. +> More information: . + +- Reboot the system: + +`systemctl reboot` + +- Reboot into the BIOS/UEFI menu: + +`systemctl reboot --firmware-setup` diff --git a/tldr/vulkaninfo b/tldr/vulkaninfo new file mode 100644 index 00000000..10f23745 --- /dev/null +++ b/tldr/vulkaninfo @@ -0,0 +1,21 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# vulkaninfo + +> Print system Vulkan information. +> More information: . + +- Print full Vulkan information: + +`vulkaninfo` + +- Print a summary: + +`vulkaninfo --summary` + +- Make a HTML document of the full Vulkan information: + +`vulkaninfo --html`