conversations
listlengths
2
2
[ { "from": "human", "value": "Request the identification info of a given device" }, { "from": "gpt", "value": "sudo hdparm -I /dev/device" } ]
[ { "from": "human", "value": "Get the Advanced Power Management level" }, { "from": "gpt", "value": "sudo hdparm -B /dev/device" } ]
[ { "from": "human", "value": "Set the Advanced Power Management value (values 1-127 permit spin-down, and values 128-254 do not)" }, { "from": "gpt", "value": "sudo hdparm -B 1 /dev/device" } ]
[ { "from": "human", "value": "Display the device's current power mode status" }, { "from": "gpt", "value": "sudo hdparm -C /dev/device" } ]
[ { "from": "human", "value": "Force a drive to immediately enter standby mode (usually causes a drive to spin down)" }, { "from": "gpt", "value": "sudo hdparm -y /dev/device" } ]
[ { "from": "human", "value": "Put the drive into idle (low-power) mode, also setting its standby timeout" }, { "from": "gpt", "value": "sudo hdparm -S standby_timeout device" } ]
[ { "from": "human", "value": "Test the read speed of a specific device" }, { "from": "gpt", "value": "sudo hdparm -tT device" } ]
[ { "from": "human", "value": "Show current build configuration to verify what would be built" }, { "from": "gpt", "value": "mkosi summary" } ]
[ { "from": "human", "value": "Build an image with default settings (if no distribution is selected, the distribution of the host system is used)" }, { "from": "gpt", "value": "mkosi build --distribution fedora|debian|ubuntu|arch|opensuse|..." } ]
[ { "from": "human", "value": "Build an image and run an interactive shell in a systemd-nspawn container of the image" }, { "from": "gpt", "value": "mkosi shell" } ]
[ { "from": "human", "value": "Boot an image in a virtual machine using QEMU (only supported for disk images or CPIO images when a kernel is provided)" }, { "from": "gpt", "value": "mkosi qemu" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "mkosi help" } ]
[ { "from": "human", "value": "Apply a wallpaper" }, { "from": "gpt", "value": "plasma-apply-wallpaperimage /path/to/image" } ]
[ { "from": "human", "value": "Apply a wallpaper with a fill mode" }, { "from": "gpt", "value": "plasma-apply-wallpaperimage --fill-mode stretch|preserveAspectFit|preserveAspectCrop|tile|tileVertically|tileHorizontally|pad /path/to/image" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "plasma-apply-wallpaperimage --help" } ]
[ { "from": "human", "value": "Register `nmcli` as a secret agent and listen for secret requests" }, { "from": "gpt", "value": "nmcli agent secret" } ]
[ { "from": "human", "value": "Register `nmcli` as a polkit agent and listen for authorization requests" }, { "from": "gpt", "value": "nmcli agent polkit" } ]
[ { "from": "human", "value": "Register `nmcli` as a secret agent and a polkit agent" }, { "from": "gpt", "value": "nmcli agent all" } ]
[ { "from": "human", "value": "View multiple images" }, { "from": "gpt", "value": "imv path/to/image1.ext path/to/image2.ext ..." } ]
[ { "from": "human", "value": "View in fullscreen mode" }, { "from": "gpt", "value": "imv -f path/to/image.ext" } ]
[ { "from": "human", "value": "View images [r]ecursively from a path" }, { "from": "gpt", "value": "imv -r --slideshow path/to/path" } ]
[ { "from": "human", "value": "Open multiple images via `stdin`" }, { "from": "gpt", "value": "find . -type f -name \"*.svg\" | imv" } ]
[ { "from": "human", "value": "Make a slideshow from a directory showing each image for 10 seconds" }, { "from": "gpt", "value": "imv -t 10 path/to/directory" } ]
[ { "from": "human", "value": "View multiple images from the web" }, { "from": "gpt", "value": "curl -Osw '%{filename_effective}\\n' 'http://www.example.com/[1-10].jpg' | imv" } ]
[ { "from": "human", "value": "List all the available Wacom devices. The device name is in the first column" }, { "from": "gpt", "value": "xsetwacom list" } ]
[ { "from": "human", "value": "Set Wacom area to specific screen. Get name of the screen with `xrandr`" }, { "from": "gpt", "value": "xsetwacom set \"device_name\" MapToOutput screen" } ]
[ { "from": "human", "value": "Set mode to relative (like a mouse) or absolute (like a pen) mode" }, { "from": "gpt", "value": "xsetwacom set \"device_name\" Mode \"Relative|Absolute\"" } ]
[ { "from": "human", "value": "Rotate the input (useful for tablet-PC when rotating screen) by 0|90|180|270 degrees from \"natural\" rotation" }, { "from": "gpt", "value": "xsetwacom set \"device_name\" Rotate none|half|cw|ccw" } ]
[ { "from": "human", "value": "Set button to only work when the tip of the pen is touching the tablet" }, { "from": "gpt", "value": "xsetwacom set \"device_name\" TabletPCButton \"on\"" } ]
[ { "from": "human", "value": "Start `xman` in three-button window" }, { "from": "gpt", "value": "xman" } ]
[ { "from": "human", "value": "Open the manual page output stored in a given file" }, { "from": "gpt", "value": "xman -helpfile filename" } ]
[ { "from": "human", "value": "Show both manual page and directory" }, { "from": "gpt", "value": "xman -bothshown" } ]
[ { "from": "human", "value": "Play a specific file (sampling rate, bit depth, etc. will be automatically determined for the file format)" }, { "from": "gpt", "value": "aplay path/to/file" } ]
[ { "from": "human", "value": "Play the first 10 seconds of a specific file at 2500 Hz" }, { "from": "gpt", "value": "aplay --duration=10 --rate=2500 path/to/file" } ]
[ { "from": "human", "value": "Play the raw file as a 22050 Hz, mono, 8-bit, Mu-Law `.au` file" }, { "from": "gpt", "value": "aplay --channels=1 --file-type raw --rate=22050 --format=mu_law path/to/file" } ]
[ { "from": "human", "value": "Create an ext4 filesystem inside partition 1 on device b (`sdb1`)" }, { "from": "gpt", "value": "sudo mkfs.ext4 /dev/sdb1" } ]
[ { "from": "human", "value": "Create an ext4 filesystem with a volume-label" }, { "from": "gpt", "value": "sudo mkfs.ext4 -L volume_label /dev/sdb1" } ]
[ { "from": "human", "value": "Show the general status of NetworkManager" }, { "from": "gpt", "value": "nmcli general" } ]
[ { "from": "human", "value": "Show the hostname of the current device" }, { "from": "gpt", "value": "nmcli general hostname" } ]
[ { "from": "human", "value": "Change the hostname of the current device" }, { "from": "gpt", "value": "sudo nmcli general hostname new_hostname" } ]
[ { "from": "human", "value": "Show the permissions of NetworkManager" }, { "from": "gpt", "value": "nmcli general permissions" } ]
[ { "from": "human", "value": "Show the current logging level and domains" }, { "from": "gpt", "value": "nmcli general logging" } ]
[ { "from": "human", "value": "Set the logging level and/or domains (see `man NetworkManager.conf` for all available domains)" }, { "from": "gpt", "value": "nmcli general logging level INFO|OFF|ERR|WARN|DEBUG|TRACE domain domain_1,domain_2,..." } ]
[ { "from": "human", "value": "Install a package, or update it to the latest available version" }, { "from": "gpt", "value": "sudo nala install package" } ]
[ { "from": "human", "value": "Remove a package" }, { "from": "gpt", "value": "sudo nala remove package" } ]
[ { "from": "human", "value": "Remove a package and its configuration files" }, { "from": "gpt", "value": "nala purge package" } ]
[ { "from": "human", "value": "Search package names and descriptions using a word, regex (default) or glob" }, { "from": "gpt", "value": "nala search \"pattern\"" } ]
[ { "from": "human", "value": "Update the list of available packages and upgrade the system" }, { "from": "gpt", "value": "sudo nala upgrade" } ]
[ { "from": "human", "value": "Remove all unused packages and dependencies from your system" }, { "from": "gpt", "value": "sudo nala autoremove" } ]
[ { "from": "human", "value": "Fetch fast mirrors to improve download speeds" }, { "from": "gpt", "value": "sudo nala fetch" } ]
[ { "from": "human", "value": "Display the history of all transactions" }, { "from": "gpt", "value": "nala history" } ]
[ { "from": "human", "value": "Deliver a standard test email to `user@example.com` on port 25 of `test-server.example.net`" }, { "from": "gpt", "value": "swaks --to user@example.com --server test-server.example.net" } ]
[ { "from": "human", "value": "Deliver a standard test email, requiring CRAM-MD5 authentication as user `me@example.com`. An \"X-Test\" header will be added to the email body" }, { "from": "gpt", "value": "swaks --to user@example.com --from me@example.com --auth CRAM-MD5 --auth-user me@example.com...
[ { "from": "human", "value": "Test a virus scanner using EICAR in an attachment. Don't show the message DATA part" }, { "from": "gpt", "value": "swaks -t user@example.com --attach - --server test-server.example.com --suppress-data path/to/eicar.txt" } ]
[ { "from": "human", "value": "Test a spam scanner using GTUBE in the body of an email, routed via the MX records for `example.com`" }, { "from": "gpt", "value": "swaks --to user@example.com --body path/to/gtube_file" } ]
[ { "from": "human", "value": "Deliver a standard test email to `user@example.com` using the LMTP protocol via a UNIX domain socket file" }, { "from": "gpt", "value": "swaks --to user@example.com --socket /var/lda.sock --protocol LMTP" } ]
[ { "from": "human", "value": "Initialize ProtonVPN profile" }, { "from": "gpt", "value": "protonvpn init" } ]
[ { "from": "human", "value": "Connect to ProtonVPN interactively" }, { "from": "gpt", "value": "protonvpn c|connect" } ]
[ { "from": "human", "value": "Display connection status" }, { "from": "gpt", "value": "protonvpn s|status" } ]
[ { "from": "human", "value": "Disconnect from ProtonVPN" }, { "from": "gpt", "value": "protonvpn d|disconnect" } ]
[ { "from": "human", "value": "Reconnect or connect to the last server used" }, { "from": "gpt", "value": "protonvpn r|reconnect" } ]
[ { "from": "human", "value": "Refresh OpenVPN configuration and server data" }, { "from": "gpt", "value": "protonvpn refresh" } ]
[ { "from": "human", "value": "Display help for a subcommand" }, { "from": "gpt", "value": "protonvpn subcommand --help" } ]
[ { "from": "human", "value": "Analyze one or more log files in interactive mode" }, { "from": "gpt", "value": "goaccess path/to/logfile1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Use a specific log-format (or pre-defined formats like \"combined\")" }, { "from": "gpt", "value": "goaccess path/to/logfile --log-format=format" } ]
[ { "from": "human", "value": "Analyze a log from `stdin`" }, { "from": "gpt", "value": "tail -f path/to/logfile | goaccess -" } ]
[ { "from": "human", "value": "Analyze a log and write it to an HTML file in real-time" }, { "from": "gpt", "value": "goaccess path/to/logfile --output path/to/file.html --real-time-html" } ]
[ { "from": "human", "value": "Synchronize and update all packages (including AUR)" }, { "from": "gpt", "value": "yaourt -Syua" } ]
[ { "from": "human", "value": "Install a new package (includes AUR)" }, { "from": "gpt", "value": "yaourt -S package" } ]
[ { "from": "human", "value": "Remove a package and its dependencies (includes AUR packages)" }, { "from": "gpt", "value": "yaourt -Rs package" } ]
[ { "from": "human", "value": "Search the package database for a keyword (including AUR)" }, { "from": "gpt", "value": "yaourt -Ss query" } ]
[ { "from": "human", "value": "List installed packages, versions, and repositories (AUR packages will be listed under the repository name 'local')" }, { "from": "gpt", "value": "yaourt -Q" } ]
[ { "from": "human", "value": "List available licenses" }, { "from": "gpt", "value": "proctl -ll|-list-licenses" } ]
[ { "from": "human", "value": "List available languages" }, { "from": "gpt", "value": "proctl -lL|-list-languages" } ]
[ { "from": "human", "value": "Pick a license in a FZF menu" }, { "from": "gpt", "value": "proctl -pl|-pick-license" } ]
[ { "from": "human", "value": "Pick a language in a FZF menu" }, { "from": "gpt", "value": "proctl -pL|-pick-language" } ]
[ { "from": "human", "value": "Remove all licenses from the current project" }, { "from": "gpt", "value": "proctl -r|-remove-license" } ]
[ { "from": "human", "value": "Create a new license template" }, { "from": "gpt", "value": "proctl -t|-new-template" } ]
[ { "from": "human", "value": "Delete a license from templates" }, { "from": "gpt", "value": "proctl -R|-delete-license @license_name1 @license_name2 ..." } ]
[ { "from": "human", "value": "Show this helpful list of commands" }, { "from": "gpt", "value": "proctl -h|-help" } ]
[ { "from": "human", "value": "Convert an OpenSSH private key to the Dropbear format" }, { "from": "gpt", "value": "dropbearconvert openssh dropbear path/to/input_key path/to/output_key" } ]
[ { "from": "human", "value": "Convert a Dropbear private key to the OpenSSH format" }, { "from": "gpt", "value": "dropbearconvert dropbear openssh path/to/input_key path/to/output_key" } ]
[ { "from": "human", "value": "Start `nmon`" }, { "from": "gpt", "value": "nmon" } ]
[ { "from": "human", "value": "Save records to file (\"-s 300 -c 288\" by default)" }, { "from": "gpt", "value": "nmon -f" } ]
[ { "from": "human", "value": "Save records to file with a total of 240 measurements, by taking 30 seconds between each measurement" }, { "from": "gpt", "value": "nmon -f -s 30 -c 240" } ]
[ { "from": "human", "value": "Mark a package as automatically installed" }, { "from": "gpt", "value": "sudo apt-mark auto package" } ]
[ { "from": "human", "value": "Hold a package at its current version and prevent updates to it" }, { "from": "gpt", "value": "sudo apt-mark hold package" } ]
[ { "from": "human", "value": "Allow a package to be updated again" }, { "from": "gpt", "value": "sudo apt-mark unhold package" } ]
[ { "from": "human", "value": "Show manually installed packages" }, { "from": "gpt", "value": "apt-mark showmanual" } ]
[ { "from": "human", "value": "Show held packages that aren't being updated" }, { "from": "gpt", "value": "apt-mark showhold" } ]
[ { "from": "human", "value": "Print all available information" }, { "from": "gpt", "value": "lsb_release -a" } ]
[ { "from": "human", "value": "Print a description (usually the full name) of the operating system" }, { "from": "gpt", "value": "lsb_release -d" } ]
[ { "from": "human", "value": "Print only the operating system name (ID), suppressing the field name" }, { "from": "gpt", "value": "lsb_release -i -s" } ]
[ { "from": "human", "value": "Print the release number and codename of the distribution, suppressing the field names" }, { "from": "gpt", "value": "lsb_release -rcs" } ]
[ { "from": "human", "value": "Print how long the current user has been connected in hours" }, { "from": "gpt", "value": "ac" } ]
[ { "from": "human", "value": "Print how long users have been connected in hours" }, { "from": "gpt", "value": "ac [-p|--individual-totals]" } ]
[ { "from": "human", "value": "Print how long a particular user has been connected in hours" }, { "from": "gpt", "value": "ac [-p|--individual-totals] username" } ]
[ { "from": "human", "value": "Print how long a particular user has been connected in hours per day (with total)" }, { "from": "gpt", "value": "ac [-d|--daily-totals] [-p|--individual-totals] username" } ]
[ { "from": "human", "value": "Also display additional details" }, { "from": "gpt", "value": "ac --compatibility" } ]
[ { "from": "human", "value": "Show all outputs and configuration files to attach to a bug report" }, { "from": "gpt", "value": "kscreen-console bug" } ]