conversations
listlengths
2
2
[ { "from": "human", "value": "Show high-level information about disk drives and block devices" }, { "from": "gpt", "value": "udisksctl status" } ]
[ { "from": "human", "value": "Show detailed information about a device" }, { "from": "gpt", "value": "udisksctl info --block-device /dev/sdX" } ]
[ { "from": "human", "value": "Show detailed information about a device partition" }, { "from": "gpt", "value": "udisksctl info --block-device /dev/sdXN" } ]
[ { "from": "human", "value": "Mount a device partition and prints the mount point" }, { "from": "gpt", "value": "udisksctl mount --block-device /dev/sdXN" } ]
[ { "from": "human", "value": "Unmount a device partition" }, { "from": "gpt", "value": "udisksctl unmount --block-device /dev/sdXN" } ]
[ { "from": "human", "value": "Monitor the daemon for events" }, { "from": "gpt", "value": "udisksctl monitor" } ]
[ { "from": "human", "value": "Launch the GNOME Software GUI if it's not already running" }, { "from": "gpt", "value": "gnome-software" } ]
[ { "from": "human", "value": "Launch the GNOME Software GUI if it's not open, and navigate to the specified page" }, { "from": "gpt", "value": "gnome-software --mode updates|updated|installed|overview" } ]
[ { "from": "human", "value": "Launch the GNOME Software GUI if it's not open and view the details of the specified package" }, { "from": "gpt", "value": "gnome-software --details package" } ]
[ { "from": "human", "value": "Display the version" }, { "from": "gpt", "value": "gnome-software --version" } ]
[ { "from": "human", "value": "Print system version" }, { "from": "gpt", "value": "pveversion" } ]
[ { "from": "human", "value": "Print Proxmox subpackage versions" }, { "from": "gpt", "value": "pveversion [-v|--verbose]" } ]
[ { "from": "human", "value": "Switch between different GPU modes" }, { "from": "gpt", "value": "optimus-manager --switch nvidia|integrated|hybrid" } ]
[ { "from": "human", "value": "Clean up" }, { "from": "gpt", "value": "optimus-manager --cleanup" } ]
[ { "from": "human", "value": "Get all mirrors, sort for download speed and save them" }, { "from": "gpt", "value": "sudo reflector --sort rate --save /etc/pacman.d/mirrorlist" } ]
[ { "from": "human", "value": "Only get German HTTPS mirrors" }, { "from": "gpt", "value": "reflector --country Germany --protocol https" } ]
[ { "from": "human", "value": "Only get the 10 recently sync'd mirrors" }, { "from": "gpt", "value": "reflector --latest 10" } ]
[ { "from": "human", "value": "Use a configuration file to fetch mirrors" }, { "from": "gpt", "value": "sudo reflector @/etc/xdg/reflector/reflector.conf" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "reflector [-h|--help]" } ]
[ { "from": "human", "value": "Set the value of a key. Fails if the key doesn't exist or the value is out of range" }, { "from": "gpt", "value": "gsettings set org.example.schema example-key value" } ]
[ { "from": "human", "value": "Print the value of a key or the schema-provided default if the key has not been set in `dconf`" }, { "from": "gpt", "value": "gsettings get org.example.schema example-key" } ]
[ { "from": "human", "value": "Unset a key, so that its schema default value will be used" }, { "from": "gpt", "value": "gsettings reset org.example.schema example-key" } ]
[ { "from": "human", "value": "Display all (non-relocatable) schemas, keys, and values" }, { "from": "gpt", "value": "gsettings list-recursively" } ]
[ { "from": "human", "value": "Display all keys and values (default if not set) from one schema" }, { "from": "gpt", "value": "gsettings list-recursively org.example.schema" } ]
[ { "from": "human", "value": "Display schema-allowed values for a key (helpful with enum keys)" }, { "from": "gpt", "value": "gsettings range org.example.schema example-key" } ]
[ { "from": "human", "value": "Display the human-readable description of a key" }, { "from": "gpt", "value": "gsettings describe org.example.schema example-key" } ]
[ { "from": "human", "value": "Discover LXI devices on available networks" }, { "from": "gpt", "value": "lxi discover" } ]
[ { "from": "human", "value": "Capture a screenshot, detecting a plugin automatically" }, { "from": "gpt", "value": "lxi screenshot --address ip_address" } ]
[ { "from": "human", "value": "Capture a screenshot using a specified plugin" }, { "from": "gpt", "value": "lxi screenshot --address ip_address --plugin rigol-1000z" } ]
[ { "from": "human", "value": "Send an SCPI command to an instrument" }, { "from": "gpt", "value": "lxi scpi --address ip_address \"*IDN?\"" } ]
[ { "from": "human", "value": "Run a benchmark for request and response performance" }, { "from": "gpt", "value": "lxi benchmark --address ip_address" } ]
[ { "from": "human", "value": "Show deployments in the order they will appear in the bootloader" }, { "from": "gpt", "value": "bootc status" } ]
[ { "from": "human", "value": "Check if any updates are available" }, { "from": "gpt", "value": "bootc upgrade --check" } ]
[ { "from": "human", "value": "Prepare a new update and reboot into it" }, { "from": "gpt", "value": "bootc upgrade --apply" } ]
[ { "from": "human", "value": "Change OS base to new container image" }, { "from": "gpt", "value": "bootc switch image" } ]
[ { "from": "human", "value": "Reboot into the previous ostree deployment" }, { "from": "gpt", "value": "bootc rollback" } ]
[ { "from": "human", "value": "Search for a package in remote repositories using a regular expression or a keyword (if `--regex` is omitted)" }, { "from": "gpt", "value": "xbps-query --search regular_expression|keyword --repository --regex" } ]
[ { "from": "human", "value": "Show information about an installed package" }, { "from": "gpt", "value": "xbps-query --show package" } ]
[ { "from": "human", "value": "Show information about a package in remote repositories" }, { "from": "gpt", "value": "xbps-query --show package --repository" } ]
[ { "from": "human", "value": "List packages registered in the package database" }, { "from": "gpt", "value": "xbps-query --list-pkgs" } ]
[ { "from": "human", "value": "List explicitly installed packages (i.e. not automatically installed as dependencies)" }, { "from": "gpt", "value": "xbps-query --list-manual-pkgs" } ]
[ { "from": "human", "value": "Search for a package in your current sources" }, { "from": "gpt", "value": "apt-cache search query" } ]
[ { "from": "human", "value": "Show information about a package" }, { "from": "gpt", "value": "apt-cache show package" } ]
[ { "from": "human", "value": "Show whether a package is installed and up to date" }, { "from": "gpt", "value": "apt-cache policy package" } ]
[ { "from": "human", "value": "Show dependencies for a package" }, { "from": "gpt", "value": "apt-cache depends package" } ]
[ { "from": "human", "value": "Show packages that depend on a particular package" }, { "from": "gpt", "value": "apt-cache rdepends package" } ]
[ { "from": "human", "value": "Convert a GIF image to WebP" }, { "from": "gpt", "value": "gif2webp path/to/image.gif -o path/to/image.webp" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr iptables-restore" } ]
[ { "from": "human", "value": "Decompress from a file to the current directory" }, { "from": "gpt", "value": "lrzuntar path/to/archive.tar.lrz" } ]
[ { "from": "human", "value": "Decompress from a file to the current directory using a specific number of processor threads" }, { "from": "gpt", "value": "lrzuntar -p 8 path/to/archive.tar.lrz" } ]
[ { "from": "human", "value": "Decompress from a file to the current directory and silently overwrite items that already exist" }, { "from": "gpt", "value": "lrzuntar -f archive.tar.lrz" } ]
[ { "from": "human", "value": "Specify the output path" }, { "from": "gpt", "value": "lrzuntar -O path/to/directory archive.tar.lrz" } ]
[ { "from": "human", "value": "Delete the compressed file after decompression" }, { "from": "gpt", "value": "lrzuntar -D path/to/archive.tar.lrz" } ]
[ { "from": "human", "value": "Start interactive mode with the specified disk selected" }, { "from": "gpt", "value": "sudo parted /dev/sdX" } ]
[ { "from": "human", "value": "Show partition information in interactive mode" }, { "from": "gpt", "value": "print" } ]
[ { "from": "human", "value": "Select a disk in interactive mode" }, { "from": "gpt", "value": "select /dev/sdX" } ]
[ { "from": "human", "value": "Create a 16 GB partition with the specified filesystem in interactive mode" }, { "from": "gpt", "value": "mkpart primary|logical|extended btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|linux-swap|ntfs|reiserfs|udf|xfs 0% 16G" } ]
[ { "from": "human", "value": "Resize a partition in interactive mode" }, { "from": "gpt", "value": "resizepart /dev/sdXN end_position_of_partition" } ]
[ { "from": "human", "value": "Remove a partition in interactive mode" }, { "from": "gpt", "value": "rm /dev/sdXN" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "?" } ]
[ { "from": "human", "value": "List all available profiles" }, { "from": "gpt", "value": "lxc profile list" } ]
[ { "from": "human", "value": "Show the configuration of a specific profile" }, { "from": "gpt", "value": "lxc profile show profile_name" } ]
[ { "from": "human", "value": "Edit a specific profile in the default editor" }, { "from": "gpt", "value": "lxc profile edit profile_name" } ]
[ { "from": "human", "value": "Edit a specific profile importing the configuration values from a file" }, { "from": "gpt", "value": "lxc profile edit profile_name < config.yaml" } ]
[ { "from": "human", "value": "Launch a new container with specific profiles" }, { "from": "gpt", "value": "lxc launch container_image container_name --profile profile1 --profile profile2" } ]
[ { "from": "human", "value": "Change the profiles of a running container" }, { "from": "gpt", "value": "lxc profile assign container_name profile1,profile2" } ]
[ { "from": "human", "value": "Set capability `cap_net_raw` (to use RAW and PACKET sockets) for a given file" }, { "from": "gpt", "value": "setcap 'cap_net_raw' path/to/file" } ]
[ { "from": "human", "value": "Set multiple capabilities on a file (`ep` behind the capability means \"effective permitted\")" }, { "from": "gpt", "value": "setcap 'cap_dac_read_search,cap_sys_tty_config+ep' path/to/file" } ]
[ { "from": "human", "value": "Remove all capabilities from a file" }, { "from": "gpt", "value": "setcap -r path/to/file" } ]
[ { "from": "human", "value": "Verify that the specified capabilities are currently associated with the specified file" }, { "from": "gpt", "value": "setcap -v 'cap_net_raw' path/to/file" } ]
[ { "from": "human", "value": "The optional `-n root_uid` argument can be used to set the file capability for use only in a user namespace with this root user ID owner" }, { "from": "gpt", "value": "setcap -n root_uid 'cap_net_admin' path/to/file" } ]
[ { "from": "human", "value": "Convert a PDF file to an HTML file" }, { "from": "gpt", "value": "pdftohtml path/to/file.pdf path/to/output_file.html" } ]
[ { "from": "human", "value": "Ignore images in the PDF file" }, { "from": "gpt", "value": "pdftohtml -i path/to/file.pdf path/to/output_file.html" } ]
[ { "from": "human", "value": "Generate a single HTML file that includes all PDF pages" }, { "from": "gpt", "value": "pdftohtml -s path/to/file.pdf path/to/output_file.html" } ]
[ { "from": "human", "value": "Convert a PDF file to an XML file" }, { "from": "gpt", "value": "pdftohtml -xml path/to/file.pdf path/to/output_file.xml" } ]
[ { "from": "human", "value": "Capture a video for a specific amount of seconds" }, { "from": "gpt", "value": "rpicam-raw -t 2000 -o path/to/file.raw" } ]
[ { "from": "human", "value": "Change video dimensions and framerate" }, { "from": "gpt", "value": "rpicam-raw -t 5000 --width 4056 --height 3040 -o path/to/file.raw --framerate 8" } ]
[ { "from": "human", "value": "Display information about physical volumes" }, { "from": "gpt", "value": "pvs" } ]
[ { "from": "human", "value": "Display non-physical volumes" }, { "from": "gpt", "value": "pvs -a" } ]
[ { "from": "human", "value": "Change default display to show more details" }, { "from": "gpt", "value": "pvs -v" } ]
[ { "from": "human", "value": "Display only specific fields" }, { "from": "gpt", "value": "pvs -o field_name_1,field_name_2" } ]
[ { "from": "human", "value": "Append field to default display" }, { "from": "gpt", "value": "pvs -o +field_name" } ]
[ { "from": "human", "value": "Suppress heading line" }, { "from": "gpt", "value": "pvs --noheadings" } ]
[ { "from": "human", "value": "Use separator to separate fields" }, { "from": "gpt", "value": "pvs --separator special_character" } ]
[ { "from": "human", "value": "List all local system locks" }, { "from": "gpt", "value": "lslocks" } ]
[ { "from": "human", "value": "List locks with defined column headers" }, { "from": "gpt", "value": "lslocks [-o|--output] PID,COMMAND,PATH" } ]
[ { "from": "human", "value": "List locks producing a raw output (no columns), and without column headers" }, { "from": "gpt", "value": "lslocks [-r|--raw] [-n|--noheadings]" } ]
[ { "from": "human", "value": "List locks by PID input" }, { "from": "gpt", "value": "lslocks [-p|--pid] PID" } ]
[ { "from": "human", "value": "List locks with JSON output to `stdout`" }, { "from": "gpt", "value": "lslocks [-J|--json]" } ]
[ { "from": "human", "value": "Reset a virtual machine" }, { "from": "gpt", "value": "qm reset vm_id" } ]
[ { "from": "human", "value": "Reset a virtual machine and skip lock (only root can use this option)" }, { "from": "gpt", "value": "qm reset --skiplock true vm_id" } ]
[ { "from": "human", "value": "Submit a basic interactive job" }, { "from": "gpt", "value": "srun --pty /bin/bash" } ]
[ { "from": "human", "value": "Submit an interactive job with different attributes" }, { "from": "gpt", "value": "srun --ntasks-per-node=num_cores --mem-per-cpu=memory_MB --pty /bin/bash" } ]
[ { "from": "human", "value": "Connect to a worker node with a job running" }, { "from": "gpt", "value": "srun --jobid=job_id --pty /bin/bash" } ]
[ { "from": "human", "value": "List CPUs" }, { "from": "gpt", "value": "sudo cpupower [-c|--cpu] all info" } ]
[ { "from": "human", "value": "Print information about all cores" }, { "from": "gpt", "value": "sudo cpupower [-c|--cpu] all info" } ]
[ { "from": "human", "value": "Set all CPUs to a power-saving frequency governor" }, { "from": "gpt", "value": "sudo cpupower [-c|--cpu] all frequency-set --governor powersave" } ]
[ { "from": "human", "value": "Print CPU 0's available frequency governors" }, { "from": "gpt", "value": "sudo cpupower [-c|--cpu] 0 frequency-info [-g|--governors] | grep \"analyzing\\|governors\"" } ]
[ { "from": "human", "value": "Print CPU 4's frequency from the hardware, in a human-readable format" }, { "from": "gpt", "value": "sudo cpupower [-c|--cpu] 4 frequency-info [-w|--hwfreq] [-m|--human]" } ]
[ { "from": "human", "value": "Check the currently running kernel for Spectre or Meltdown" }, { "from": "gpt", "value": "sudo spectre-meltdown-checker" } ]