conversations
listlengths
2
2
[ { "from": "human", "value": "Show logical volumes that use a specific physical volume" }, { "from": "gpt", "value": "pvscan --cache --listlvs /dev/sdX" } ]
[ { "from": "human", "value": "Display detailed information in JSON format" }, { "from": "gpt", "value": "pvscan --reportformat json" } ]
[ { "from": "human", "value": "Display a cursor to send a window to the system tray when pressing the left mouse button (press any other mouse button to cancel)" }, { "from": "gpt", "value": "kdocker" } ]
[ { "from": "human", "value": "Open an application and send it to the system tray" }, { "from": "gpt", "value": "kdocker application" } ]
[ { "from": "human", "value": "Send focused window to the system tray" }, { "from": "gpt", "value": "kdocker -f" } ]
[ { "from": "human", "value": "Display a cursor to send a window to the system tray with a custom icon when pressing the left mouse button" }, { "from": "gpt", "value": "kdocker -i /path/to/icon" } ]
[ { "from": "human", "value": "Open an application, send it to the system tray and if focus is lost, minimize it" }, { "from": "gpt", "value": "kdocker -l application" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "kdocker --version" } ]
[ { "from": "human", "value": "Destroy a specific virtual machine" }, { "from": "gpt", "value": "qm destroy vm_id" } ]
[ { "from": "human", "value": "Destroy all disks that are not explicitly referenced in a specific virtual machine's configuration" }, { "from": "gpt", "value": "qm destroy vm_id --destroy-unreferenced-disks" } ]
[ { "from": "human", "value": "Destroy a virtual machine and remove from all locations (inventory, backup jobs, high availability managers, etc.)" }, { "from": "gpt", "value": "qm destroy vm_id --purge" } ]
[ { "from": "human", "value": "Destroy a specific virtual machine ignoring locks and forcing destroy" }, { "from": "gpt", "value": "sudo qm destroy vm_id --skiplock" } ]
[ { "from": "human", "value": "Run a .NET assembly in debug mode" }, { "from": "gpt", "value": "mono --debug path/to/program.exe" } ]
[ { "from": "human", "value": "Run a .NET assembly" }, { "from": "gpt", "value": "mono path/to/program.exe" } ]
[ { "from": "human", "value": "Display users in the system" }, { "from": "gpt", "value": "lslogins" } ]
[ { "from": "human", "value": "Display users belonging to a specific group" }, { "from": "gpt", "value": "lslogins [-g|--groups] groups" } ]
[ { "from": "human", "value": "Display user accounts" }, { "from": "gpt", "value": "lslogins [-u|--user-accs]" } ]
[ { "from": "human", "value": "Display last logins" }, { "from": "gpt", "value": "lslogins [-L|--last]" } ]
[ { "from": "human", "value": "Display system accounts" }, { "from": "gpt", "value": "lslogins [-s|--system-accs]" } ]
[ { "from": "human", "value": "Display supplementary groups" }, { "from": "gpt", "value": "lslogins [-G|--supp-groups]" } ]
[ { "from": "human", "value": "View chains, rules, packet/byte counters and line numbers for the filter table" }, { "from": "gpt", "value": "sudo iptables [-vnL --line-numbers|--verbose --numeric --list --line-numbers]" } ]
[ { "from": "human", "value": "Set chain policy rule" }, { "from": "gpt", "value": "sudo iptables [-P|--policy] chain rule" } ]
[ { "from": "human", "value": "Append rule to chain policy for IP" }, { "from": "gpt", "value": "sudo iptables [-A|--append] chain [-s|--source] ip [-j|--jump] rule" } ]
[ { "from": "human", "value": "Append rule to chain policy for IP considering protocol and port" }, { "from": "gpt", "value": "sudo iptables [-A|--append] chain [-s|--source] ip [-p|--protocol] tcp|udp|icmp|... --dport port [-j|--jump] rule" } ]
[ { "from": "human", "value": "Add a NAT rule to translate all traffic from the `192.168.0.0/24` subnet to the host's public IP" }, { "from": "gpt", "value": "sudo iptables [-t|--table] nat [-A|--append] POSTROUTING [-s|--source] 192.168.0.0/24 [-j|--jump] MASQUERADE" } ]
[ { "from": "human", "value": "Delete chain rule" }, { "from": "gpt", "value": "sudo iptables [-D|--delete] chain rule_line_number" } ]
[ { "from": "human", "value": "Scan directories to find and list packages with broken library links that need to be rebuilt" }, { "from": "gpt", "value": "lddd" } ]
[ { "from": "human", "value": "Create a ROM filesystem inside partition 1 on device b (`sdb1`)" }, { "from": "gpt", "value": "mkfs.cramfs /dev/sdb1" } ]
[ { "from": "human", "value": "Create a ROM filesystem with a volume-name" }, { "from": "gpt", "value": "mkfs.cramfs -n volume_name /dev/sdb1" } ]
[ { "from": "human", "value": "Display all updates" }, { "from": "gpt", "value": "snap --nosplash --nogui --modules --list --refresh" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "snap --help" } ]
[ { "from": "human", "value": "Print the current time in a timezone" }, { "from": "gpt", "value": "zdump timezone" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "zdump --help" } ]
[ { "from": "human", "value": "List installed extension images" }, { "from": "gpt", "value": "systemd-sysext list" } ]
[ { "from": "human", "value": "Merge system extension images into `/usr/` and `/opt/`" }, { "from": "gpt", "value": "systemd-sysext merge" } ]
[ { "from": "human", "value": "Check the current merge status" }, { "from": "gpt", "value": "systemd-sysext status" } ]
[ { "from": "human", "value": "Unmerge all currently installed system extension images from `/usr/` and `/opt/`" }, { "from": "gpt", "value": "systemd-sysext unmerge" } ]
[ { "from": "human", "value": "Refresh system extension images (a combination of `unmerge` and `merge`)" }, { "from": "gpt", "value": "systemd-sysext refresh" } ]
[ { "from": "human", "value": "View documentation for `trash-restore`" }, { "from": "gpt", "value": "tldr trash" } ]
[ { "from": "human", "value": "List keys in a specific keyring" }, { "from": "gpt", "value": "keyctl list target_keyring" } ]
[ { "from": "human", "value": "List current keys in the user default session" }, { "from": "gpt", "value": "keyctl list @us" } ]
[ { "from": "human", "value": "Store a key in a specific keyring" }, { "from": "gpt", "value": "keyctl add type_keyring key_name key_value target_keyring" } ]
[ { "from": "human", "value": "Store a key with its value from `stdin`" }, { "from": "gpt", "value": "echo -n key_value | keyctl padd type_keyring key_name target_keyring" } ]
[ { "from": "human", "value": "Put a timeout on a key" }, { "from": "gpt", "value": "keyctl timeout key_name timeout_in_seconds" } ]
[ { "from": "human", "value": "Read a key and format it as a hex-dump if not printable" }, { "from": "gpt", "value": "keyctl read key_name" } ]
[ { "from": "human", "value": "Read a key and format as-is" }, { "from": "gpt", "value": "keyctl pipe key_name" } ]
[ { "from": "human", "value": "Revoke a key and prevent any further action on it" }, { "from": "gpt", "value": "keyctl revoke key_name" } ]
[ { "from": "human", "value": "List all the files included in an ISO image" }, { "from": "gpt", "value": "isoinfo -f -i path/to/image.iso" } ]
[ { "from": "human", "value": "E[x]tract a specific file from an ISO image and send it out `stdout`" }, { "from": "gpt", "value": "isoinfo -i path/to/image.iso -x /PATH/TO/FILE/INSIDE/ISO.EXT" } ]
[ { "from": "human", "value": "Show header information for an ISO disk image" }, { "from": "gpt", "value": "isoinfo -d -i path/to/image.iso" } ]
[ { "from": "human", "value": "Remove a LVM label from a physical volume" }, { "from": "gpt", "value": "sudo pvremove /dev/sdXY" } ]
[ { "from": "human", "value": "Display detailed output during the operation" }, { "from": "gpt", "value": "sudo pvremove --verbose /dev/sdXY" } ]
[ { "from": "human", "value": "Remove a LVM label without asking for confirmation" }, { "from": "gpt", "value": "sudo pvremove --yes /dev/sdXY" } ]
[ { "from": "human", "value": "Forcefully remove a LVM label" }, { "from": "gpt", "value": "sudo pvremove --force /dev/sdXY" } ]
[ { "from": "human", "value": "Display output in JSON format" }, { "from": "gpt", "value": "sudo pvremove --reportformat json /dev/sdXY" } ]
[ { "from": "human", "value": "Power off ([h]alt) immediately" }, { "from": "gpt", "value": "shutdown -h now" } ]
[ { "from": "human", "value": "Reboot immediately" }, { "from": "gpt", "value": "shutdown [-r|--reboot] now" } ]
[ { "from": "human", "value": "Reboot in 5 minutes" }, { "from": "gpt", "value": "shutdown [-r|--reboot] +5 &" } ]
[ { "from": "human", "value": "Shutdown at 1:00 pm (Uses 24h clock)" }, { "from": "gpt", "value": "shutdown -h 13:00" } ]
[ { "from": "human", "value": "Cancel a pending shutdown/reboot operation" }, { "from": "gpt", "value": "shutdown -c" } ]
[ { "from": "human", "value": "Add partition mappings" }, { "from": "gpt", "value": "kpartx -a whole_disk.img" } ]
[ { "from": "human", "value": "Delete partition mappings" }, { "from": "gpt", "value": "kpartx -d whole_disk.img" } ]
[ { "from": "human", "value": "List partition mappings" }, { "from": "gpt", "value": "kpartx -l whole_disk.img" } ]
[ { "from": "human", "value": "Create a snapshot using a configuration file" }, { "from": "gpt", "value": "sudo rusnapshot --config path/to/config.toml --cr" } ]
[ { "from": "human", "value": "List created snapshots" }, { "from": "gpt", "value": "sudo rusnapshot -c path/to/config.toml --list" } ]
[ { "from": "human", "value": "Delete a snapshot by ID or the name of the snapshot" }, { "from": "gpt", "value": "sudo rusnapshot -c path/to/config.toml --del --id snapshot_id" } ]
[ { "from": "human", "value": "Delete all `hourly` snapshots" }, { "from": "gpt", "value": "sudo rusnapshot -c path/to/config.toml --list --keep 0 --clean --kind hourly" } ]
[ { "from": "human", "value": "Create a read-write snapshot" }, { "from": "gpt", "value": "sudo rusnapshot -c path/to/config.toml --cr --rw" } ]
[ { "from": "human", "value": "Restore a snapshot" }, { "from": "gpt", "value": "sudo rusnapshot -c path/to/config.toml --id snapshot_id --restore" } ]
[ { "from": "human", "value": "List available profiles" }, { "from": "gpt", "value": "tuned-adm list" } ]
[ { "from": "human", "value": "Show the currently active profile" }, { "from": "gpt", "value": "tuned-adm active" } ]
[ { "from": "human", "value": "Set a specific tuning profile" }, { "from": "gpt", "value": "tuned-adm profile profile_name" } ]
[ { "from": "human", "value": "Recommend a suitable profile based on the current system" }, { "from": "gpt", "value": "tuned-adm recommend" } ]
[ { "from": "human", "value": "Disable tuning" }, { "from": "gpt", "value": "tuned-adm off" } ]
[ { "from": "human", "value": "List all known user records" }, { "from": "gpt", "value": "userdbctl user" } ]
[ { "from": "human", "value": "Show details of a specific user" }, { "from": "gpt", "value": "userdbctl user username" } ]
[ { "from": "human", "value": "List all known groups" }, { "from": "gpt", "value": "userdbctl group" } ]
[ { "from": "human", "value": "Show details of a specific group" }, { "from": "gpt", "value": "userdbctl group groupname" } ]
[ { "from": "human", "value": "List all services currently providing user/group definitions to the system" }, { "from": "gpt", "value": "userdbctl services" } ]
[ { "from": "human", "value": "View a file" }, { "from": "gpt", "value": "pg path/to/file" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "pg [-h|--help]" } ]
[ { "from": "human", "value": "Synchronize and update all packages" }, { "from": "gpt", "value": "aurman --sync --refresh --sysupgrade" } ]
[ { "from": "human", "value": "Synchronize and update all packages without show changes of `PKGBUILD` files" }, { "from": "gpt", "value": "aurman --sync --refresh --sysupgrade --noedit" } ]
[ { "from": "human", "value": "Install a new package" }, { "from": "gpt", "value": "aurman --sync package" } ]
[ { "from": "human", "value": "Install a new package without show changes of `PKGBUILD` files" }, { "from": "gpt", "value": "aurman --sync --noedit package" } ]
[ { "from": "human", "value": "Install a new package without prompting" }, { "from": "gpt", "value": "aurman --sync --noedit --noconfirm package" } ]
[ { "from": "human", "value": "Search the package database for a keyword from the official repositories and AUR" }, { "from": "gpt", "value": "aurman --sync --search keyword" } ]
[ { "from": "human", "value": "Remove a package and its dependencies" }, { "from": "gpt", "value": "aurman --remove --recursive --nosave package" } ]
[ { "from": "human", "value": "Clear the package cache (use two `--clean` flags to clean all packages)" }, { "from": "gpt", "value": "aurman --sync --clean" } ]
[ { "from": "human", "value": "List local containers matching a string. Omit the string to list all local containers" }, { "from": "gpt", "value": "lxc list match_string" } ]
[ { "from": "human", "value": "List images matching a string. Omit the string to list all images" }, { "from": "gpt", "value": "lxc image list [remote:]match_string" } ]
[ { "from": "human", "value": "Create a new container from an image" }, { "from": "gpt", "value": "lxc init [remote:]image container" } ]
[ { "from": "human", "value": "Start a container" }, { "from": "gpt", "value": "lxc start [remote:]container" } ]
[ { "from": "human", "value": "Stop a container" }, { "from": "gpt", "value": "lxc stop [remote:]container" } ]
[ { "from": "human", "value": "Show detailed info about a container" }, { "from": "gpt", "value": "lxc info [remote:]container" } ]
[ { "from": "human", "value": "Take a snapshot of a container" }, { "from": "gpt", "value": "lxc snapshot [remote:]container snapshot" } ]
[ { "from": "human", "value": "Execute a specific command inside a container" }, { "from": "gpt", "value": "lxc exec [remote:]container command" } ]
[ { "from": "human", "value": "Switch between different GPU modes" }, { "from": "gpt", "value": "sudo envycontrol -s nvidia|integrated|hybrid" } ]
[ { "from": "human", "value": "Specify your display manager manually" }, { "from": "gpt", "value": "envycontrol --dm" } ]
[ { "from": "human", "value": "Check current GPU mode" }, { "from": "gpt", "value": "sudo envycontrol --query" } ]