conversations
listlengths
2
2
[ { "from": "human", "value": "Enter a Distrobox container and run a command at login" }, { "from": "gpt", "value": "distrobox-enter container_name -- sh -l" } ]
[ { "from": "human", "value": "Enter a Distrobox container without instantiating a tty" }, { "from": "gpt", "value": "distrobox-enter --name container_name -- uptime -p" } ]
[ { "from": "human", "value": "View documentation for creating containers" }, { "from": "gpt", "value": "tldr distrobox-create" } ]
[ { "from": "human", "value": "View documentation for listing container's information" }, { "from": "gpt", "value": "tldr distrobox-list" } ]
[ { "from": "human", "value": "View documentation for entering the container" }, { "from": "gpt", "value": "tldr distrobox-enter" } ]
[ { "from": "human", "value": "View documentation for executing a command on the host from inside a container" }, { "from": "gpt", "value": "tldr distrobox-host-exec" } ]
[ { "from": "human", "value": "View documentation for exporting app/service/binary from the container to the host" }, { "from": "gpt", "value": "tldr distrobox-export" } ]
[ { "from": "human", "value": "View documentation for upgrading containers" }, { "from": "gpt", "value": "tldr distrobox-upgrade" } ]
[ { "from": "human", "value": "View documentation for stopping the containers" }, { "from": "gpt", "value": "tldr distrobox-stop" } ]
[ { "from": "human", "value": "View documentation for removing the containers" }, { "from": "gpt", "value": "tldr distrobox-rm" } ]
[ { "from": "human", "value": "List all currently pending system password requests" }, { "from": "gpt", "value": "systemd-tty-ask-password-agent --list" } ]
[ { "from": "human", "value": "Continuously process password requests" }, { "from": "gpt", "value": "systemd-tty-ask-password-agent --watch" } ]
[ { "from": "human", "value": "Process all currently pending system password requests by querying the user on the calling TTY" }, { "from": "gpt", "value": "systemd-tty-ask-password-agent --query" } ]
[ { "from": "human", "value": "Forward password requests to wall instead of querying the user on the calling TTY" }, { "from": "gpt", "value": "systemd-tty-ask-password-agent --wall" } ]
[ { "from": "human", "value": "Display MATE version" }, { "from": "gpt", "value": "mate-about --version" } ]
[ { "from": "human", "value": "Check that Lynis is up-to-date" }, { "from": "gpt", "value": "sudo lynis update info" } ]
[ { "from": "human", "value": "Run a security audit of the system" }, { "from": "gpt", "value": "sudo lynis audit system" } ]
[ { "from": "human", "value": "Run a security audit of a Dockerfile" }, { "from": "gpt", "value": "sudo lynis audit dockerfile path/to/dockerfile" } ]
[ { "from": "human", "value": "Display the contents of one or more files from a squashfs filesystem" }, { "from": "gpt", "value": "sqfscat filesystem.squashfs file1 file2 ..." } ]
[ { "from": "human", "value": "Test the default speakers with pink noise" }, { "from": "gpt", "value": "speaker-test" } ]
[ { "from": "human", "value": "Test the default speakers with a sine wave" }, { "from": "gpt", "value": "speaker-test [-t|--test] sine [-f|--frequency] frequency" } ]
[ { "from": "human", "value": "Test the default speakers with a predefined WAV file" }, { "from": "gpt", "value": "speaker-test [-t|--test] wav" } ]
[ { "from": "human", "value": "Test the default speakers with a WAV file" }, { "from": "gpt", "value": "speaker-test [-t|--test] wav [-w|--wavfile] path/to/file" } ]
[ { "from": "human", "value": "List devices" }, { "from": "gpt", "value": "rfkill" } ]
[ { "from": "human", "value": "Filter by columns" }, { "from": "gpt", "value": "rfkill [-o|--output] ID,TYPE,DEVICE" } ]
[ { "from": "human", "value": "Block devices by type (e.g. bluetooth, wlan)" }, { "from": "gpt", "value": "rfkill block bluetooth" } ]
[ { "from": "human", "value": "Unblock devices by type (e.g. bluetooth, wlan)" }, { "from": "gpt", "value": "rfkill unblock wlan" } ]
[ { "from": "human", "value": "Output in JSON format" }, { "from": "gpt", "value": "rfkill [-J|--json]" } ]
[ { "from": "human", "value": "Get max, min, mean and median of a single column of numbers" }, { "from": "gpt", "value": "seq 3 | datamash max 1 min 1 mean 1 median 1" } ]
[ { "from": "human", "value": "Get the mean of a single column of float numbers (floats must use \",\" and not \".\")" }, { "from": "gpt", "value": "echo -e '1.0\\n2.5\\n3.1\\n4.3\\n5.6\\n5.7' | tr '.' ',' | datamash mean 1" } ]
[ { "from": "human", "value": "Get the mean of a single column of numbers with a given decimal precision" }, { "from": "gpt", "value": "echo -e '1\\n2\\n3\\n4\\n5\\n5' | datamash [-R|--round] number_of_decimals_wanted mean 1" } ]
[ { "from": "human", "value": "Get the mean of a single column of numbers ignoring \"Na\" and \"NaN\" (literal) strings" }, { "from": "gpt", "value": "echo -e '1\\n2\\nNa\\n3\\nNaN' | datamash --narm mean 1" } ]
[ { "from": "human", "value": "Show the current setting of [a]ll booleans" }, { "from": "gpt", "value": "getsebool -a" } ]
[ { "from": "human", "value": "Set or unset a boolean temporarily (non-persistent across reboot)" }, { "from": "gpt", "value": "sudo setsebool httpd_can_network_connect 1|true|on|0|false|off" } ]
[ { "from": "human", "value": "Set or unset a boolean [P]ersistently" }, { "from": "gpt", "value": "sudo setsebool -P container_use_devices 1|true|on|0|false|off" } ]
[ { "from": "human", "value": "Set or unset multiple booleans [P]ersistently at once" }, { "from": "gpt", "value": "sudo setsebool -P ftpd_use_fusefs=1 mount_anyfile=0 ..." } ]
[ { "from": "human", "value": "Set or unset a boolean persistently (alternative method using `semanage-boolean`)" }, { "from": "gpt", "value": "sudo semanage boolean [-m|--modify] -1|--on|-0|--off haproxy_connect_any" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr gcc" } ]
[ { "from": "human", "value": "Create a new volume group called vg1 using the `/dev/sda1` device" }, { "from": "gpt", "value": "vgcreate vg1 /dev/sda1" } ]
[ { "from": "human", "value": "Create a new volume group called vg1 using multiple devices" }, { "from": "gpt", "value": "vgcreate vg1 /dev/sda1 /dev/sdb1 /dev/sdc1" } ]
[ { "from": "human", "value": "Send a file or directories" }, { "from": "gpt", "value": "qrcp send path/to/file_or_directory path/to/file_directory ..." } ]
[ { "from": "human", "value": "Receive files" }, { "from": "gpt", "value": "qrcp receive" } ]
[ { "from": "human", "value": "Compress content before transferring" }, { "from": "gpt", "value": "qrcp send --zip path/to/file_or_directory" } ]
[ { "from": "human", "value": "Use a specific port" }, { "from": "gpt", "value": "qrcp send|receive [-p|--port] port_number" } ]
[ { "from": "human", "value": "Use a specific network interface" }, { "from": "gpt", "value": "qrcp send|receive [-i|--interface] interface" } ]
[ { "from": "human", "value": "Keep the server alive" }, { "from": "gpt", "value": "qrcp send|receive --keep-alive" } ]
[ { "from": "human", "value": "Calculate the current compression ratio for a file or directory" }, { "from": "gpt", "value": "sudo compsize path/to/file_or_directory" } ]
[ { "from": "human", "value": "Don't traverse filesystem boundaries" }, { "from": "gpt", "value": "sudo compsize --one-file-system path/to/file_or_directory" } ]
[ { "from": "human", "value": "Show raw byte counts instead of human-readable sizes" }, { "from": "gpt", "value": "sudo compsize --bytes path/to/file_or_directory" } ]
[ { "from": "human", "value": "List available modems" }, { "from": "gpt", "value": "mmcli --list-modems" } ]
[ { "from": "human", "value": "Print information about a modem" }, { "from": "gpt", "value": "mmcli --modem=modem" } ]
[ { "from": "human", "value": "Enable a modem" }, { "from": "gpt", "value": "mmcli --modem=modem --enable" } ]
[ { "from": "human", "value": "List SMS messages available on the modem" }, { "from": "gpt", "value": "sudo mmcli --modem=modem --messaging-list-sms" } ]
[ { "from": "human", "value": "Delete a message from the modem, specifying its path" }, { "from": "gpt", "value": "sudo mmcli --modem=modem --messaging-delete-sms=path/to/message_file" } ]
[ { "from": "human", "value": "List all process IDs with given name" }, { "from": "gpt", "value": "pidof bash" } ]
[ { "from": "human", "value": "List a single process ID with given name" }, { "from": "gpt", "value": "pidof -s bash" } ]
[ { "from": "human", "value": "List process IDs including scripts with given name" }, { "from": "gpt", "value": "pidof -x script.py" } ]
[ { "from": "human", "value": "Kill all processes with given name" }, { "from": "gpt", "value": "kill $(pidof name)" } ]
[ { "from": "human", "value": "List all process types (a.k.a domains) that are in permissive mode" }, { "from": "gpt", "value": "sudo semanage permissive [-l|--list]" } ]
[ { "from": "human", "value": "Set permissive mode for a domain" }, { "from": "gpt", "value": "sudo semanage permissive [-a|--add] httpd_t" } ]
[ { "from": "human", "value": "Unset permissive mode for a domain" }, { "from": "gpt", "value": "sudo semanage permissive [-d|--delete] httpd_t" } ]
[ { "from": "human", "value": "View SteamOS system information" }, { "from": "gpt", "value": "sudo steamos-dump-info" } ]
[ { "from": "human", "value": "Display the list of all supported guest operating systems, versions and variants" }, { "from": "gpt", "value": "quickget list" } ]
[ { "from": "human", "value": "Download and create the virtual machine configuration for building a Quickemu virtual machine for an OS" }, { "from": "gpt", "value": "quickget os release edition" } ]
[ { "from": "human", "value": "Download configuration for a Windows 11 VM with VirtIO drivers for Windows" }, { "from": "gpt", "value": "quickget windows 11" } ]
[ { "from": "human", "value": "Download a macOS recovery image and creates a virtual machine configuration" }, { "from": "gpt", "value": "quickget macos mojave|catalina|big-sur|monterey|ventura|sonoma" } ]
[ { "from": "human", "value": "Show an ISO URL for an operating system" }, { "from": "gpt", "value": "quickget --url fedora release edition" } ]
[ { "from": "human", "value": "Test if an ISO file is available for an operating system" }, { "from": "gpt", "value": "quickget --check nixos release edition" } ]
[ { "from": "human", "value": "Download an image without building any VM configuration" }, { "from": "gpt", "value": "quickget --download os release edition" } ]
[ { "from": "human", "value": "Create a VM configuration for an OS image" }, { "from": "gpt", "value": "quickget --create-config os path/to/iso" } ]
[ { "from": "human", "value": "Run a command using Tor" }, { "from": "gpt", "value": "torsocks command" } ]
[ { "from": "human", "value": "Enable or disable Tor in this shell" }, { "from": "gpt", "value": ". torsocks on|off" } ]
[ { "from": "human", "value": "Spawn a new Tor enabled shell" }, { "from": "gpt", "value": "torsocks --shell" } ]
[ { "from": "human", "value": "Check if current shell is Tor enabled (`LD_PRELOAD` value will be empty if disabled)" }, { "from": "gpt", "value": "torsocks show" } ]
[ { "from": "human", "value": "Isolate traffic through a different Tor circuit, improving anonymity" }, { "from": "gpt", "value": "torsocks [-i|--isolate] curl https://check.torproject.org/api/ip" } ]
[ { "from": "human", "value": "Connect to a Tor proxy running on a specific address and port" }, { "from": "gpt", "value": "torsocks [-a|--address] ip [-P|--port] port command" } ]
[ { "from": "human", "value": "Run a video using mpv" }, { "from": "gpt", "value": "xwinwrap -b -nf -ov -- mpv -wid wid --loop --no-audio --no-resume-playback --panscan=1.0 path/to/video.mp4" } ]
[ { "from": "human", "value": "Run a video in fullscreen using mpv" }, { "from": "gpt", "value": "xwinwrap -b -nf -fs -ov -- mpv -wid wid --loop --no-audio --no-resume-playback --panscan=1.0 path/to/video.mp4" } ]
[ { "from": "human", "value": "Run a video using mpv with 80% opacity" }, { "from": "gpt", "value": "xwinwrap -b -nf -ov -o 0.8 --- mpv -wid wid --loop --no-audio --no-resume-playback --panscan=1.0 path/to/video.mp4" } ]
[ { "from": "human", "value": "Run a video using mpv in a second monitor 1600x900 with 1920 offset on X-axis" }, { "from": "gpt", "value": "xwinwrap -g 1600x900+1920 -b -nf -ov -- mpv -wid wid --loop --no-audio --no-resume-playback --panscan=1.0 path/to/video.mkv" } ]
[ { "from": "human", "value": "Read a man page for a command that is provided by a specified package" }, { "from": "gpt", "value": "debman -p package command" } ]
[ { "from": "human", "value": "Specify a package version to download" }, { "from": "gpt", "value": "debman -p package=version command" } ]
[ { "from": "human", "value": "Read a man page in a `.deb` file" }, { "from": "gpt", "value": "debman -f path/to/filename.deb command" } ]
[ { "from": "human", "value": "Export an app from the container to the host (the desktop entry/icon will show up in your host system's application list)" }, { "from": "gpt", "value": "distrobox-export --app package --extra-flags \"--foreground\"" } ]
[ { "from": "human", "value": "Export a binary from the container to the host" }, { "from": "gpt", "value": "distrobox-export --bin path/to/binary --export-path path/to/binary_on_host" } ]
[ { "from": "human", "value": "Export a binary from the container to the host (i.e.`$HOME/.local/bin`) " }, { "from": "gpt", "value": "distrobox-export --bin path/to/binary --export-path path/to/export" } ]
[ { "from": "human", "value": "Export a service from the container to the host (`--sudo` will run the service as root inside the container)" }, { "from": "gpt", "value": "distrobox-export --service package --extra-flags \"--allow-newer-config\" --sudo" } ]
[ { "from": "human", "value": "Unexport/delete an exported application" }, { "from": "gpt", "value": "distrobox-export --app package --delete" } ]
[ { "from": "human", "value": "Look for pattern in the database. Note: the database is recomputed periodically (usually weekly or daily)" }, { "from": "gpt", "value": "locate pattern" } ]
[ { "from": "human", "value": "Look for a file by its exact filename (a pattern containing no globbing characters is interpreted as `*pattern*`)" }, { "from": "gpt", "value": "locate '*/filename'" } ]
[ { "from": "human", "value": "Recompute the database. You need to do it if you want to find recently added files" }, { "from": "gpt", "value": "sudo updatedb" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr megatools-dl" } ]
[ { "from": "human", "value": "Create array" }, { "from": "gpt", "value": "sudo mdadm --create /dev/md/MyRAID --level raid_level --raid-devices number_of_disks /dev/sdXN" } ]
[ { "from": "human", "value": "Stop array" }, { "from": "gpt", "value": "sudo mdadm --stop /dev/md0" } ]
[ { "from": "human", "value": "Mark disk as failed" }, { "from": "gpt", "value": "sudo mdadm --fail /dev/md0 /dev/sdXN" } ]
[ { "from": "human", "value": "Remove disk" }, { "from": "gpt", "value": "sudo mdadm --remove /dev/md0 /dev/sdXN" } ]
[ { "from": "human", "value": "Add disk to array" }, { "from": "gpt", "value": "sudo mdadm --assemble /dev/md0 /dev/sdXN" } ]
[ { "from": "human", "value": "Show RAID info" }, { "from": "gpt", "value": "sudo mdadm --detail /dev/md0" } ]
[ { "from": "human", "value": "Reset disk by deleting RAID metadata" }, { "from": "gpt", "value": "sudo mdadm --zero-superblock /dev/sdXN" } ]
[ { "from": "human", "value": "Set the CPU frequency policy of CPU 1 to \"userspace\"" }, { "from": "gpt", "value": "sudo cpufreq-set -c 1 -g userspace" } ]