conversations
listlengths
2
2
[ { "from": "human", "value": "Install a new package" }, { "from": "gpt", "value": "pamac install package_name" } ]
[ { "from": "human", "value": "Remove a package and its no longer required dependencies (orphans)" }, { "from": "gpt", "value": "pamac remove --orphans package_name" } ]
[ { "from": "human", "value": "Search the package database for a package" }, { "from": "gpt", "value": "pamac search package_name" } ]
[ { "from": "human", "value": "List installed packages" }, { "from": "gpt", "value": "pamac list --installed" } ]
[ { "from": "human", "value": "Check for package updates" }, { "from": "gpt", "value": "pamac checkupdates" } ]
[ { "from": "human", "value": "Upgrade all packages" }, { "from": "gpt", "value": "pamac upgrade" } ]
[ { "from": "human", "value": "Set display brightness to 50%" }, { "from": "gpt", "value": "blight set 50 -r" } ]
[ { "from": "human", "value": "Show current display brightness" }, { "from": "gpt", "value": "blight show" } ]
[ { "from": "human", "value": "Print maximum display brightness" }, { "from": "gpt", "value": "blight max" } ]
[ { "from": "human", "value": "Increase display brightness in %" }, { "from": "gpt", "value": "blight inc number -r" } ]
[ { "from": "human", "value": "Decrease display brightness with internal units" }, { "from": "gpt", "value": "blight dec number" } ]
[ { "from": "human", "value": "Enable a module" }, { "from": "gpt", "value": "sudo a2enmod module" } ]
[ { "from": "human", "value": "Don't show informative messages" }, { "from": "gpt", "value": "sudo a2enmod --quiet module" } ]
[ { "from": "human", "value": "Display optical drives available to `wodim`" }, { "from": "gpt", "value": "wodim --devices" } ]
[ { "from": "human", "value": "Record (\"burn\") an audio-only disc" }, { "from": "gpt", "value": "wodim dev=/dev/optical_drive -audio track*.cdaudio" } ]
[ { "from": "human", "value": "Burn a file to a disc, ejecting the disc once done (some recorders require this)" }, { "from": "gpt", "value": "wodim -eject dev=/dev/optical_drive -data file.iso" } ]
[ { "from": "human", "value": "Burn a file to the disc in an optical drive, potentially writing to multiple discs in succession" }, { "from": "gpt", "value": "wodim -tao dev=/dev/optical_drive -data file.iso" } ]
[ { "from": "human", "value": "Reinitialize the current terminal" }, { "from": "gpt", "value": "reset" } ]
[ { "from": "human", "value": "Display the terminal type instead" }, { "from": "gpt", "value": "reset -q" } ]
[ { "from": "human", "value": "Start a talk session with a user on the same machine" }, { "from": "gpt", "value": "talk username" } ]
[ { "from": "human", "value": "Start a talk session with a user on the same machine, who is logged in on tty3" }, { "from": "gpt", "value": "talk username tty3" } ]
[ { "from": "human", "value": "Start a talk session with a user on a remote machine" }, { "from": "gpt", "value": "talk username@hostname" } ]
[ { "from": "human", "value": "Clear text on both terminal screens" }, { "from": "gpt", "value": "<Ctrl d>" } ]
[ { "from": "human", "value": "Exit the talk session" }, { "from": "gpt", "value": "<Ctrl c>" } ]
[ { "from": "human", "value": "Display a small preview window of a pixel's color with it's hexadecimal value, and copy this value to the clipboard" }, { "from": "gpt", "value": "farge" } ]
[ { "from": "human", "value": "Copy a pixel's hexadecimal value to the clipboard without displaying a preview window" }, { "from": "gpt", "value": "farge --no-preview" } ]
[ { "from": "human", "value": "Output a pixel's hexadecimal value to `stdout`, and copy this value to the clipboard" }, { "from": "gpt", "value": "farge --stdout" } ]
[ { "from": "human", "value": "Output a pixel's RGB value to `stdout`, and copy this value to the clipboard" }, { "from": "gpt", "value": "farge --rgb --stdout" } ]
[ { "from": "human", "value": "Display a pixel's hexadecimal value as a notification which expires in 5000 milliseconds, and copy this value to the clipboard" }, { "from": "gpt", "value": "farge --notify --expire-time 5000" } ]
[ { "from": "human", "value": "Scan a webserver using the default wordlist" }, { "from": "gpt", "value": "dirb https://example.org" } ]
[ { "from": "human", "value": "Scan a webserver using a custom wordlist" }, { "from": "gpt", "value": "dirb https://example.org path/to/wordlist.txt" } ]
[ { "from": "human", "value": "Scan a webserver non-recursively" }, { "from": "gpt", "value": "dirb https://example.org -r" } ]
[ { "from": "human", "value": "Scan a webserver using a specified user-agent and cookie for HTTP-requests" }, { "from": "gpt", "value": "dirb https://example.org -a user_agent_string -c cookie_string" } ]
[ { "from": "human", "value": "List outdated processes" }, { "from": "gpt", "value": "needrestart" } ]
[ { "from": "human", "value": "Interactively restart services" }, { "from": "gpt", "value": "sudo needrestart" } ]
[ { "from": "human", "value": "List outdated processes in [v]erbose or [q]uiet mode" }, { "from": "gpt", "value": "needrestart -v|q" } ]
[ { "from": "human", "value": "Check if the [k]ernel is outdated" }, { "from": "gpt", "value": "needrestart -k" } ]
[ { "from": "human", "value": "Check if the CPU microcode is outdated" }, { "from": "gpt", "value": "needrestart -w" } ]
[ { "from": "human", "value": "List outdated processes in [b]atch mode" }, { "from": "gpt", "value": "needrestart -b" } ]
[ { "from": "human", "value": "List outdated processed using a specific [c]onfiguration file" }, { "from": "gpt", "value": "needrestart -c path/to/config" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "needrestart --help" } ]
[ { "from": "human", "value": "List all local USB devices and their bus ID's" }, { "from": "gpt", "value": "usbip list --local" } ]
[ { "from": "human", "value": "Start a `usbip` daemon on the server" }, { "from": "gpt", "value": "systemctl start usbipd" } ]
[ { "from": "human", "value": "Bind a USB device to `usbip` on the server" }, { "from": "gpt", "value": "sudo usbip bind --busid bus_id" } ]
[ { "from": "human", "value": "Load the kernel module required by `usbip` on the client" }, { "from": "gpt", "value": "sudo modprobe vhci-hcd" } ]
[ { "from": "human", "value": "Attach to the `usbip` device on the client (bus ID is the same as on the server)" }, { "from": "gpt", "value": "sudo usbip attach -r ip_address --busid bus_id" } ]
[ { "from": "human", "value": "List attached devices" }, { "from": "gpt", "value": "usbip port" } ]
[ { "from": "human", "value": "Detach from a device" }, { "from": "gpt", "value": "sudo usbip detach --port port" } ]
[ { "from": "human", "value": "Unbind a device" }, { "from": "gpt", "value": "usbip unbind --busid bus_id" } ]
[ { "from": "human", "value": "List available profile symlink targets with their numbers" }, { "from": "gpt", "value": "eselect profile list" } ]
[ { "from": "human", "value": "Set the `/etc/portage/make.profile` symlink by name or number from the `list` command" }, { "from": "gpt", "value": "eselect profile set name|number" } ]
[ { "from": "human", "value": "Show the current system profile" }, { "from": "gpt", "value": "eselect profile show" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr chromium" } ]
[ { "from": "human", "value": "Report node rebooted when daemon restarted (Used for testing purposes)" }, { "from": "gpt", "value": "slurmd -b" } ]
[ { "from": "human", "value": "Run the daemon with the given nodename" }, { "from": "gpt", "value": "slurmd -N nodename" } ]
[ { "from": "human", "value": "Write log messages to the specified file" }, { "from": "gpt", "value": "slurmd -L path/to/output_file" } ]
[ { "from": "human", "value": "Read configuration from the specified file" }, { "from": "gpt", "value": "slurmd -f path/to/file" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "slurmd -h" } ]
[ { "from": "human", "value": "Open a LUKS volume and create a decrypted mapping at `/dev/mapper/mapping_name`" }, { "from": "gpt", "value": "cryptsetup open /dev/sdXY mapping_name" } ]
[ { "from": "human", "value": "Use a keyfile instead of a passphrase" }, { "from": "gpt", "value": "cryptsetup open --key-file path/to/file /dev/sdXY mapping_name" } ]
[ { "from": "human", "value": "Allow the use of TRIM on the device" }, { "from": "gpt", "value": "cryptsetup open --allow-discards /dev/sdXY mapping_name" } ]
[ { "from": "human", "value": "Write the `--allow-discards` option into the LUKS header (the option will then always be used when you open the device)" }, { "from": "gpt", "value": "cryptsetup open --allow-discards --persistent /dev/sdXY mapping_name" } ]
[ { "from": "human", "value": "Open a LUKS volume and make the decrypted mapping read-only" }, { "from": "gpt", "value": "cryptsetup open --readonly /dev/sdXY mapping_name" } ]
[ { "from": "human", "value": "Locate binary, source and man pages for SSH" }, { "from": "gpt", "value": "whereis ssh" } ]
[ { "from": "human", "value": "Locate [b]inary and [m]an pages for ls" }, { "from": "gpt", "value": "whereis -bm ls" } ]
[ { "from": "human", "value": "Locate [s]ource of gcc and [m]an pages for Git" }, { "from": "gpt", "value": "whereis -s gcc -m git" } ]
[ { "from": "human", "value": "Locate [b]inaries for gcc in `/usr/bin/` only" }, { "from": "gpt", "value": "whereis -b -B /usr/bin/ -f gcc" } ]
[ { "from": "human", "value": "Locate [u]nusual binaries (those that have more or less than one binary on the system)" }, { "from": "gpt", "value": "whereis -u *" } ]
[ { "from": "human", "value": "Locate binaries that have [u]nusual [m]anual entries (binaries that have more or less than one manual installed)" }, { "from": "gpt", "value": "whereis -u -m *" } ]
[ { "from": "human", "value": "Reboot the system" }, { "from": "gpt", "value": "systemctl reboot" } ]
[ { "from": "human", "value": "Reboot into the BIOS/UEFI menu" }, { "from": "gpt", "value": "systemctl reboot --firmware-setup" } ]
[ { "from": "human", "value": "Read an image from a file and print in ASCII" }, { "from": "gpt", "value": "asciiart path/to/image.jpg" } ]
[ { "from": "human", "value": "Read an image from a URL and print in ASCII" }, { "from": "gpt", "value": "asciiart www.example.com/image.jpg" } ]
[ { "from": "human", "value": "Choose the output width (default is 100)" }, { "from": "gpt", "value": "asciiart --width 50 path/to/image.jpg" } ]
[ { "from": "human", "value": "Colorize the ASCII output" }, { "from": "gpt", "value": "asciiart --color path/to/image.jpg" } ]
[ { "from": "human", "value": "Choose the output format (default format is text)" }, { "from": "gpt", "value": "asciiart --format text|html path/to/image.jpg" } ]
[ { "from": "human", "value": "Invert the character map" }, { "from": "gpt", "value": "asciiart --invert-chars path/to/image.jpg" } ]
[ { "from": "human", "value": "Take a screenshot and save it to the default location, normally `~/Pictures`" }, { "from": "gpt", "value": "gnome-screenshot" } ]
[ { "from": "human", "value": "Take a screenshot and save it to the named file location" }, { "from": "gpt", "value": "gnome-screenshot --file path/to/file" } ]
[ { "from": "human", "value": "Take a screenshot and save it to the clipboard" }, { "from": "gpt", "value": "gnome-screenshot --clipboard" } ]
[ { "from": "human", "value": "Take a screenshot after the specified number of seconds" }, { "from": "gpt", "value": "gnome-screenshot --delay 5" } ]
[ { "from": "human", "value": "Launch the GNOME Screenshot GUI" }, { "from": "gpt", "value": "gnome-screenshot --interactive" } ]
[ { "from": "human", "value": "Take a screenshot of the current window and save it to the specified file location" }, { "from": "gpt", "value": "gnome-screenshot --window --file path/to/file" } ]
[ { "from": "human", "value": "Take a screenshot after the specified number of seconds and save it to the clipboard" }, { "from": "gpt", "value": "gnome-screenshot --delay 10 --clipboard" } ]
[ { "from": "human", "value": "Display the version" }, { "from": "gpt", "value": "gnome-screenshot --version" } ]
[ { "from": "human", "value": "Build binary and source packages" }, { "from": "gpt", "value": "rpmbuild -ba path/to/spec_file" } ]
[ { "from": "human", "value": "Build a binary package without source package" }, { "from": "gpt", "value": "rpmbuild -bb path/to/spec_file" } ]
[ { "from": "human", "value": "Specify additional variables when building a package" }, { "from": "gpt", "value": "rpmbuild -bb path/to/spec_file --define \"variable1 value1\" --define \"variable2 value2\"" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr avahi-resolve" } ]
[ { "from": "human", "value": "Mirror an image horizontally or vertically" }, { "from": "gpt", "value": "jpegtran -flip horizontal|vertical path/to/image.jpg > path/to/output.jpg" } ]
[ { "from": "human", "value": "Rotate an image 90, 180 or 270 degrees clockwise" }, { "from": "gpt", "value": "jpegtran -rotate 90|180|270 path/to/image.jpg > path/to/output.jpg" } ]
[ { "from": "human", "value": "Transpose the image across the upper-left to lower right axis" }, { "from": "gpt", "value": "jpegtran -transpose path/to/image.jpg > path/to/output.jpg" } ]
[ { "from": "human", "value": "Transverse the image across the upper right to lower left axis" }, { "from": "gpt", "value": "jpegtran -transverse path/to/image.jpg > path/to/output.jpg" } ]
[ { "from": "human", "value": "Convert the image to grayscale" }, { "from": "gpt", "value": "jpegtran -grayscale path/to/image.jpg > path/to/output.jpg" } ]
[ { "from": "human", "value": "Crop the image to a rectangular region of width `W` and height `H` from the upper-left corner, saving the output to a specific file" }, { "from": "gpt", "value": "jpegtran -crop WxH -outfile path/to/output.jpg path/to/image.jpg" } ]
[ { "from": "human", "value": "Crop the image to a rectangular region of width `W` and height `H`, starting at point `X` and `Y` from the upper-left corner" }, { "from": "gpt", "value": "jpegtran -crop WxH+X+Y path/to/image.jpg > path/to/output.jpg" } ]
[ { "from": "human", "value": "Show a brief list of devices" }, { "from": "gpt", "value": "lspci" } ]
[ { "from": "human", "value": "Display additional info" }, { "from": "gpt", "value": "lspci -v" } ]
[ { "from": "human", "value": "Display drivers and modules handling each device" }, { "from": "gpt", "value": "lspci -k" } ]
[ { "from": "human", "value": "Show a specific device" }, { "from": "gpt", "value": "lspci -s 00:18.3" } ]