diff --git a/tldr/fc-cache b/tldr/fc-cache index 1bd1fc90..c8ecc611 100644 --- a/tldr/fc-cache +++ b/tldr/fc-cache @@ -12,6 +12,10 @@ source: https://github.com/tldr-pages/tldr.git `fc-cache` +- Generate font cache files verbosely: + +`fc-cache {{[-v|--verbose]}}` + - Force a rebuild of all font cache files, without checking if cache is up-to-date: `fc-cache {{[-f|--force]}}` @@ -19,3 +23,15 @@ source: https://github.com/tldr-pages/tldr.git - Erase font cache files, then generate new font cache files: `fc-cache {{[-r|--really-force]}}` + +- Scan a specific directory: + +`fc-cache {{path/to/directory}}` + +- Scan system-wide directories, skipping the user's home directory: + +`fc-cache {{[-s|--system-only]}}` + +- Display version: + +`fc-cache {{[-V|--version]}}` diff --git a/tldr/figlist b/tldr/figlist index 8358db4f..725559ff 100644 --- a/tldr/figlist +++ b/tldr/figlist @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # figlist -> Lists the figlet fonts and control files. +> List the figlet fonts and control files. > See also: `figlet`, `showfigfonts`, `chkfont`. > More information: . diff --git a/tldr/git-status b/tldr/git-status index 4565327b..1983f119 100644 --- a/tldr/git-status +++ b/tldr/git-status @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # git status > Show the changes to files in a Git repository. -> Lists changed, added and deleted files compared to the currently checked-out commit. +> List changed, added and deleted files compared to the currently checked-out commit. > More information: . - Show changed files which are not yet added for commit: diff --git a/tldr/gnmic-subscribe b/tldr/gnmic-subscribe index 86544ea0..cc9db8e8 100644 --- a/tldr/gnmic-subscribe +++ b/tldr/gnmic-subscribe @@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git - Subscribe to a target with sample interval and updates only on change: -`gnmic {{[-a|--address]}} {{ip:port}} subscribe --path {{path}} --stream-mode on-change --heartbeat-interval 1m` +`gnmic {{[-a|--address]}} {{ip:port}} subscribe --path {{path}} --stream-mode on-change --heartbeat-interval {{1m}}` - Subscribe to a target for only one update: diff --git a/tldr/inkscape b/tldr/inkscape index 72c55c44..b5c9f96f 100644 --- a/tldr/inkscape +++ b/tldr/inkscape @@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git - Export an SVG file into a bitmap of 600x400 pixels (aspect ratio distortion may occur): -`inkscape {{path/to/file.svg}} {{[-o|--export-filename]}} {{path/to/filename.png}} {{[-w|--export-width]}} {{600}} {{[-h|--export-height]}} {{400}}` +`inkscape {{path/to/file.svg}} {{[-o|--export-filename]}} {{path/to/filename.png}} {{[-w|--export-width]}} 600 {{[-h|--export-height]}} 400` - Export the drawing (bounding box of all objects) of an SVG file into a bitmap: diff --git a/tldr/linux/blkid b/tldr/linux/blkid index c5fe1dbb..dda8ca9d 100644 --- a/tldr/linux/blkid +++ b/tldr/linux/blkid @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # blkid -> Lists all recognized partitions and their Universally Unique Identifier (UUID). +> List all recognized partitions and their Universally Unique Identifier (UUID). > More information: . - List all partitions: diff --git a/tldr/linux/eu-readelf b/tldr/linux/eu-readelf index fe5e620d..c2c4ab8f 100644 --- a/tldr/linux/eu-readelf +++ b/tldr/linux/eu-readelf @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # eu-readelf -> Displays information about ELF files. +> Display information about ELF files. > More information: . - Display all extractable information contained in the ELF file: diff --git a/tldr/linux/getcap b/tldr/linux/getcap index f4b97e66..5829ee15 100644 --- a/tldr/linux/getcap +++ b/tldr/linux/getcap @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # getcap -> Command to display the name and capabilities of each specified file. +> Display the name and capabilities of each specified file. > More information: . - Get capabilities for the given files: @@ -16,6 +16,6 @@ source: https://github.com/tldr-pages/tldr.git `getcap -r {{path/to/directory1 path/to/directory2 ...}}` -- Displays all searched entries even if no capabilities are set: +- Display all searched entries even if no capabilities are set: `getcap -v {{path/to/file1 path/to/file2 ...}}` diff --git a/tldr/linux/importctl b/tldr/linux/importctl new file mode 100644 index 00000000..7d46fdbe --- /dev/null +++ b/tldr/linux/importctl @@ -0,0 +1,25 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# importctl + +> Download, Import, or Export disk images. +> More information: . + +- Download image in tarball format from a url via pull: + +`sudo importctl pull-tar {{URL}} {{path/to/directory}}` + +- Pull or download from a remote source that is either raw or qcow2 file, and stores it as a raw file: + +`sudo importctl pull-raw {{https://example.com/source.ext}} {{name}} --class={{machine|portable|sysext|confext}}` + +- Import a raw disk image into the image directory that is possibly compressed with xz, gzip, or bzip2: + +`importctl import-raw {{path/to/file.ext}} {{name}} --class={{machine|portable|sysext|confext}}` + +- Export a container image as tarball into current working directory: + +`importctl export-tar --class={{machine|portable|sysext|confext}} {{name}} {{path/to/file.ext}}` diff --git a/tldr/linux/kde-builder b/tldr/linux/kde-builder index 3e3e4925..b30b7034 100644 --- a/tldr/linux/kde-builder +++ b/tldr/linux/kde-builder @@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git - Initialize `kde-builder`: -`kde-builder --generate-config && kde-builder --install-distro-packages` +`kde-builder --initial-setup` - Compile a KDE component and its dependencies from the source: diff --git a/tldr/linux/lsblk b/tldr/linux/lsblk index a2523be0..5e8c9547 100644 --- a/tldr/linux/lsblk +++ b/tldr/linux/lsblk @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # lsblk -> Lists information about devices. +> List information about devices. > More information: . - List all storage devices in a tree-like format: diff --git a/tldr/linux/mkinitcpio b/tldr/linux/mkinitcpio index 74ef46c3..f7ffb48a 100644 --- a/tldr/linux/mkinitcpio +++ b/tldr/linux/mkinitcpio @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # mkinitcpio -> Generates initial ramdisk environments for booting the Linux kernel based on the specified preset(s). +> Generate initial ramdisk environments for booting the Linux kernel based on the specified preset(s). > More information: . - Perform a dry run (print what would be done without actually doing it): diff --git a/tldr/lsof b/tldr/lsof index 190949c6..90adc9e7 100644 --- a/tldr/lsof +++ b/tldr/lsof @@ -5,8 +5,8 @@ source: https://github.com/tldr-pages/tldr.git --- # lsof -> Lists open files and the corresponding processes. -> Note: Root privileges (or sudo) is required to list files opened by others. +> List open files and the corresponding processes. +> Note: Root privileges are required to list files opened by others. > More information: . - Find the processes that have a given file open: diff --git a/tldr/windows/get-dedupproperties b/tldr/windows/get-dedupproperties index 188d899e..cd8fee97 100644 --- a/tldr/windows/get-dedupproperties +++ b/tldr/windows/get-dedupproperties @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # Get-DedupProperties -> Gets Data Deduplication information. +> Get Data Deduplication information. > Note: This command can only be used through PowerShell. > More information: .