Update cheatsheets

This commit is contained in:
ivuorinen
2026-03-16 00:31:59 +00:00
parent bac2b335ce
commit 6ccb3a7063
25 changed files with 52 additions and 39 deletions

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# duc
> A collection of tools for indexing, inspecting, and visualizing disk usage.
> Duc maintains a database of accumulated sizes of directories of the file system, allowing queries in this database, or creating fancy graphs to show where data is.
> Duc maintains a database of accumulated sizes of directories of the filesystem, allowing queries in this database, or creating fancy graphs to show where data is.
> More information: <https://htmlpreview.github.io/?https://github.com/zevv/duc/blob/master/doc/duc.1.html>.
- Index the `/usr` directory, writing to the default database location `~/.duc.db`:
@@ -21,11 +21,11 @@ source: https://github.com/tldr-pages/tldr.git
`duc ls {{[-Fg|--classify --graph]}} {{[-R|--recursive]}} {{/usr/local}}`
- Start the graphical interface to explore the file system using sunburst graphs:
- Start the graphical interface to explore the filesystem using sunburst graphs:
`duc gui {{/usr}}`
- Run the ncurses console interface to explore the file system:
- Run the ncurses console interface to explore the filesystem:
`duc ui {{/usr}}`

View File

@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
`duf`
- List everything (such as pseudo, duplicate, or inaccessible file systems):
- List everything (such as pseudo, duplicate, or inaccessible filesystems):
`duf --all`

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Search multiple directories:
`fdupes {{directory1}} {{directory2}}`
`fdupes {{path/to/directory1 path/to/directory2 ...}}`
- Search a directory recursively:
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
- Search multiple directories, one recursively:
`fdupes {{path/to/irectory1}} {{[-R|--recurse:]}} {{path/to/directory2}}`
`fdupes {{path/to/directory1}} {{[-R|--recurse:]}} {{path/to/directory2}}`
- Search recursively, considering hardlinks as duplicates:

View File

@@ -25,7 +25,7 @@ source: https://github.com/tldr-pages/tldr.git
`gitui {{[-f|--file]}} {{path/to/file}}`
- Use notify-based file system watcher instead of tick-based update:
- Use notify-based filesystem watcher instead of tick-based update:
`gitui --watcher`

13
tldr/gst-play-1.0 Normal file
View File

@@ -0,0 +1,13 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# gst-play-1.0
> Play media files using the playbin Gstreamer element.
> More information: <https://manned.org/gst-play-1.0>.
- Play a media file:
`gst-play-1.0 {{file1|directory1|uri1 file2|directory2|uri2 ...}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# dutree
> Analyze file system usage with colorful text-based trees.
> Analyze filesystem usage with colorful text-based trees.
> More information: <https://github.com/nachoparker/dutree#usage>.
- Show a graphical tree of the current directory:

View File

@@ -25,6 +25,6 @@ source: https://github.com/tldr-pages/tldr.git
`e2undo -v {{path/to/undo_file}} {{/dev/sdXN}}`
- Write the old contents of the block to an undo file before overwriting a file system block:
- Write the old contents of the block to an undo file before overwriting a filesystem block:
`e2undo -z {{path/to/file.e2undo}} {{path/to/undo_file}} {{/dev/sdXN}}`

View File

@@ -5,10 +5,10 @@ source: https://github.com/tldr-pages/tldr.git
---
# grub-mount
> Mount a file system or file system image read-only using GRUB's file system drivers.
> Mount a filesystem or filesystem image read-only using GRUB's filesystem drivers.
> More information: <https://www.gnu.org/software/grub/manual/grub/grub.html#Invoking-grub_002dmount>.
- Mount a block device or file system image to a mount point:
- Mount a block device or filesystem image to a mount point:
`grub-mount {{/dev/sdXY}} {{/mnt}}`

View File

@@ -5,14 +5,14 @@ source: https://github.com/tldr-pages/tldr.git
---
# pacfile
> Display information about package files, including repository data, file system checks, and database comparisons.
> Display information about package files, including repository data, filesystem checks, and database comparisons.
> More information: <https://github.com/andrewgregory/pacutils/blob/master/doc/pacfile.pod>.
- List all available packages:
`pacfile {{path/to/file_or_directory}}`
- Compare database values to the file system:
- Compare database values to the filesystem:
`pacfile {{path/to/file_or_directory}} --check`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# runlim
> Sample and limit time and memory usage of a program and its child processes using the proc file system on Linux.
> Sample and limit time and memory usage of a program and its child processes using the proc filesystem on Linux.
> More information: <https://fmv.jku.at/runlim/>.
- Print the time and memory usage of a command:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# systemd-dissect
> Introspect and interact with file system OS disk images, specifically Discoverable Disk Images (DDIs).
> Introspect and interact with filesystem OS disk images, specifically Discoverable Disk Images (DDIs).
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemd-dissect.html>.
- Show general image information about the OS image:

View File

@@ -8,19 +8,19 @@ source: https://github.com/tldr-pages/tldr.git
> Establish and destroy transient mount or auto-mount points.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemd-mount.html>.
- Mount a file system (image or block device) at `/run/media/system/LABEL` where LABEL is the filesystem label or the device name if there is no label:
- Mount a filesystem (image or block device) at `/run/media/system/LABEL` where LABEL is the filesystem label or the device name if there is no label:
`systemd-mount {{path/to/file_or_device}}`
- Mount a file system (image or block device) at a specific location:
- Mount a filesystem (image or block device) at a specific location:
`systemd-mount {{path/to/file_or_device}} {{path/to/mount_point}}`
- List all local, known block devices with file systems that may be mounted:
- List all local, known block devices with filesystems that may be mounted:
`systemd-mount --list`
- Create an automount point that mounts the actual file system at the time of first access:
- Create an automount point that mounts the actual filesystem at the time of first access:
`systemd-mount --automount yes {{path/to/file_or_device}}`
@@ -28,10 +28,10 @@ source: https://github.com/tldr-pages/tldr.git
`systemd-mount {{[-u|--umount]}} {{path/to/mount_point_or_device1 path/to/mount_point_or_device2 ...}}`
- Mount a file system (image or block device) with a specific file system type:
- Mount a filesystem (image or block device) with a specific filesystem type:
`systemd-mount {{[-t|--type]}} {{file_system_type}} {{path/to/file_or_device}} {{path/to/mount_point}}`
- Mount a file system (image or block device) with additional mount options:
- Mount a filesystem (image or block device) with additional mount options:
`systemd-mount {{[-o|--options]}} {{mount_options}} {{path/to/file_or_device}} {{path/to/mount_point}}`

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Automatically grow and add partitions.
> Grows and adds partitions based on the configuration files described in repart.d.
> Does not automatically resize file system on partition. See systemd-growfs to extend file system.
> Does not automatically resize filesystem on partition. See systemd-growfs to extend filesystem.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemd-repart.html>.
- Grow the root partition (/) to all available disk space:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# xmount
> Convert on-the-fly between multiple input and output hard disk image types with optional write cache support.
> Create a virtual file system using FUSE (Filesystem in Userspace) that contains a virtual representation of the input image.
> Create a virtual filesystem using FUSE (Filesystem in Userspace) that contains a virtual representation of the input image.
> More information: <https://manned.org/xmount>.
- Mount a `.raw` image file into a DMG container file:

View File

@@ -5,8 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
---
# cvfsck
> Check and repair an Xsan file system volume.
> Part of the Xsan file system utilities on macOS.
> Check and repair an Xsan filesystem volume.
> Part of the Xsan filesystem utilities on macOS.
> More information: <https://www.manpagez.com/man/1/cvfsck/>.
- Check an Xsan volume for metadata corruption (read-only mode):

View File

@@ -26,6 +26,6 @@ source: https://github.com/tldr-pages/tldr.git
`diskutil partitionDisk {{/dev/disk_device}} {{number_of_partitions}} {{APM|MBR|GPT}} {{partition_filesystem1}} {{partition_name1}} {{partition_size1}} {{partition_filesystem2}} {{partition_name2}} {{partition_size2}} ...`
- List all supported file systems for partitioning:
- List all supported filesystems for partitioning:
`diskutil listFilesystems`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# xsand
> Xsan file system management daemon. Provides services for the Xsan file system.
> Xsan filesystem management daemon. Provides services for the Xsan filesystem.
> It should not be invoked manually.
> More information: <https://developer.apple.com/support/downloads/Xsan-Management-Guide.pdf>.

View File

@@ -16,6 +16,6 @@ source: https://github.com/tldr-pages/tldr.git
`pg_test_fsync {{[-s|--secs-per-test]}} {{seconds}}`
- Use a specific filename (it must be in same file system that the pg_wal directory is or will be placed in):
- Use a specific filename (it must be in same filesystem that the pg_wal directory is or will be placed in):
`pg_test_fsync {{[-f|--filename]}} {{path/to/file}}`

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Make local resource/filesystem available for mounting by remote systems.
> More information: <https://docs.oracle.com/cd/E36784_01/html/E36825/gntjt.html>.
- List all currently shared file systems:
- List all currently shared filesystems:
`share`

View File

@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
`sync {{path/to/file}}`
- Flush writes and drop file system caches (Linux only):
- Flush writes and drop filesystem caches (Linux only):
`sync; echo 3 | sudo tee /proc/sys/vm/drop_caches`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# trivy
> Scanner for vulnerabilities in container images, file systems, and Git repositories, as well as for configuration issues.
> Scanner for vulnerabilities in container images, filesystems, and Git repositories, as well as for configuration issues.
> More information: <https://trivy.dev/docs/latest/guide/references/configuration/cli/trivy/>.
- Scan a Docker image for vulnerabilities and exposed secrets:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# chkdsk
> Check file system and volume metadata for errors.
> Check filesystem and volume metadata for errors.
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/chkdsk>.
- Specify the drive letter (followed by a colon), mount point, or volume name to check:

View File

@@ -5,18 +5,18 @@ source: https://github.com/tldr-pages/tldr.git
---
# fsutil
> Display information about file system volumes.
> Display information about filesystem volumes.
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/fsutil>.
- Display a list of volumes:
`fsutil volume list`
- Display information about a volume's file system:
- Display information about a volume's filesystem:
`fsutil fsInfo volumeInfo {{drive_letter|volume_path}}`
- Display the current state of the file system auto-repair for all volumes:
- Display the current state of the filesystem auto-repair for all volumes:
`fsutil repair state`

View File

@@ -5,15 +5,15 @@ source: https://github.com/tldr-pages/tldr.git
---
# Set-Volume
> Set or change the file system label of an existing volume.
> Set or change the filesystem label of an existing volume.
> Note: This command can only be used through PowerShell.
> More information: <https://learn.microsoft.com/powershell/module/storage/set-volume>.
- Change the file system label of a volume identified by drive letter:
- Change the filesystem label of a volume identified by drive letter:
`Set-Volume -DriveLetter "D" -NewFileSystemLabel "DataVolume"`
- Change the file system label of a volume identified by the system label:
- Change the filesystem label of a volume identified by the system label:
`Set-Volume -FileSystemLabel "OldLabel" -NewFileSystemLabel "NewLabel"`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# xplr
> Terminal-based file system explorer.
> Terminal-based filesystem explorer.
> More information: <https://xplr.dev/>.
- Open a directory: