conversations
listlengths
2
2
[ { "from": "human", "value": "List the updates available for devices on your system" }, { "from": "gpt", "value": "fwupdmgr get-updates" } ]
[ { "from": "human", "value": "Install firmware updates" }, { "from": "gpt", "value": "fwupdmgr update" } ]
[ { "from": "human", "value": "Display the size of an ISO file" }, { "from": "gpt", "value": "isosize path/to/file.iso" } ]
[ { "from": "human", "value": "Display the block count and block size of an ISO file" }, { "from": "gpt", "value": "isosize [-x|--sectors] path/to/file.iso" } ]
[ { "from": "human", "value": "Display the size of an ISO file divided by a given number (only usable when --sectors is not given)" }, { "from": "gpt", "value": "isosize [-d|--divisor] number path/to/file.iso" } ]
[ { "from": "human", "value": "Execute a process in a given cgroup with given controller" }, { "from": "gpt", "value": "cgexec -g controller:cgroup_name process_name" } ]
[ { "from": "human", "value": "Rename files using a Perl Common Regular Expression (substitute 'foo' with 'bar' wherever found)" }, { "from": "gpt", "value": "rename 's/foo/bar/' *" } ]
[ { "from": "human", "value": "Dry-run - display which renames would occur without performing them" }, { "from": "gpt", "value": "rename -n 's/foo/bar/' *" } ]
[ { "from": "human", "value": "Force renaming even if the operation would remove existing destination files" }, { "from": "gpt", "value": "rename -f 's/foo/bar/' *" } ]
[ { "from": "human", "value": "Convert filenames to lower case (use `-f` in case-insensitive filesystems to prevent \"already exists\" errors)" }, { "from": "gpt", "value": "rename 'y/A-Z/a-z/' *" } ]
[ { "from": "human", "value": "Replace whitespace with underscores" }, { "from": "gpt", "value": "rename 's/\\s+/_/g' *" } ]
[ { "from": "human", "value": "Start an arithmetic quiz" }, { "from": "gpt", "value": "arithmetic" } ]
[ { "from": "human", "value": "Specify one or more arithmetic [o]peration symbols to get problems on them" }, { "from": "gpt", "value": "arithmetic -o +|-|x|/" } ]
[ { "from": "human", "value": "Specify a range. Addition and multiplication problems would feature numbers between 0 and range, inclusive. Subtraction and division problems would have required result and number to be operated on, between 0 and range" }, { "from": "gpt", "value": "arithmetic -r 7" ...
[ { "from": "human", "value": "Print a country where an IPv4 address or host is located" }, { "from": "gpt", "value": "acountry example.com" } ]
[ { "from": "human", "value": "Print extra [d]ebugging output" }, { "from": "gpt", "value": "acountry -d example.com" } ]
[ { "from": "human", "value": "Print more [v]erbose information" }, { "from": "gpt", "value": "acountry -v example.com" } ]
[ { "from": "human", "value": "Enter the `bluetoothctl` shell" }, { "from": "gpt", "value": "bluetoothctl" } ]
[ { "from": "human", "value": "List all known devices" }, { "from": "gpt", "value": "bluetoothctl devices" } ]
[ { "from": "human", "value": "Power the Bluetooth controller on or off" }, { "from": "gpt", "value": "bluetoothctl power on|off" } ]
[ { "from": "human", "value": "Pair with a device" }, { "from": "gpt", "value": "bluetoothctl pair mac_address" } ]
[ { "from": "human", "value": "Remove a device" }, { "from": "gpt", "value": "bluetoothctl remove mac_address" } ]
[ { "from": "human", "value": "Connect to a paired device" }, { "from": "gpt", "value": "bluetoothctl connect mac_address" } ]
[ { "from": "human", "value": "Disconnect from a paired device" }, { "from": "gpt", "value": "bluetoothctl disconnect mac_address" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "bluetoothctl help" } ]
[ { "from": "human", "value": "Check the status of a parallel port device" }, { "from": "gpt", "value": "tunelp [-s|--status] /dev/lp0" } ]
[ { "from": "human", "value": "Reset a given parallel port" }, { "from": "gpt", "value": "tunelp [-r|--reset] /dev/lp0" } ]
[ { "from": "human", "value": "Use a given IRQ for a device, each one representing an interrupt line" }, { "from": "gpt", "value": "tunelp [-i|--irq] 5 /dev/lp0" } ]
[ { "from": "human", "value": "Try a given number of times to output a character to the printer before sleeping for a given time" }, { "from": "gpt", "value": "tunelp [-c|--chars] times [-t|--time] time_in_centiseconds /dev/lp0" } ]
[ { "from": "human", "value": "Enable or disable aborting on error (disabled by default)" }, { "from": "gpt", "value": "tunelp [-a|--abort] on|off" } ]
[ { "from": "human", "value": "Replay a typescript at the speed it was recorded" }, { "from": "gpt", "value": "scriptreplay path/to/timing_file path/to/typescript" } ]
[ { "from": "human", "value": "Replay a typescript at double the original speed" }, { "from": "gpt", "value": "scriptreplay path/to/timingfile path/to/typescript 2" } ]
[ { "from": "human", "value": "Replay a typescript at half the original speed" }, { "from": "gpt", "value": "scriptreplay path/to/timingfile path/to/typescript 0.5" } ]
[ { "from": "human", "value": "Update the binary repository as final release step" }, { "from": "gpt", "value": "pkgctl db update" } ]
[ { "from": "human", "value": "Print memory usage for current processes" }, { "from": "gpt", "value": "smem" } ]
[ { "from": "human", "value": "Print memory usage for current processes for a every user on a system" }, { "from": "gpt", "value": "smem --users" } ]
[ { "from": "human", "value": "Print memory usage for current processes for a specified user" }, { "from": "gpt", "value": "smem --userfilter username" } ]
[ { "from": "human", "value": "Print system memory information" }, { "from": "gpt", "value": "smem --system" } ]
[ { "from": "human", "value": "Notify systemd that the service has completed its initialization and is fully started. It should be invoked when the service is ready to accept incoming requests" }, { "from": "gpt", "value": "systemd-notify --booted" } ]
[ { "from": "human", "value": "Signal to systemd that the service is ready to handle incoming connections or perform its tasks" }, { "from": "gpt", "value": "systemd-notify --ready" } ]
[ { "from": "human", "value": "Provide a custom status message to systemd (this information is shown by `systemctl status`)" }, { "from": "gpt", "value": "systemd-notify --status=\"Add custom status message here...\"" } ]
[ { "from": "human", "value": "Log only HTTPS POST traffic on port 10000 by default" }, { "from": "gpt", "value": "sslstrip" } ]
[ { "from": "human", "value": "Log only HTTPS POST traffic on port 8080" }, { "from": "gpt", "value": "sslstrip --listen=8080" } ]
[ { "from": "human", "value": "Log all SSL traffic to and from the server on port 8080" }, { "from": "gpt", "value": "sslstrip --ssl --listen=8080" } ]
[ { "from": "human", "value": "Log all SSL and HTTP traffic to and from the server on port 8080" }, { "from": "gpt", "value": "sslstrip --listen=8080 --all" } ]
[ { "from": "human", "value": "Specify the file path to store the logs" }, { "from": "gpt", "value": "sslstrip --listen=8080 --write=path/to/file" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "sslstrip --help" } ]
[ { "from": "human", "value": "Create an mdbook project in the current directory" }, { "from": "gpt", "value": "mdbook init" } ]
[ { "from": "human", "value": "Create an mdbook project in a specific directory" }, { "from": "gpt", "value": "mdbook init path/to/directory" } ]
[ { "from": "human", "value": "Clean the directory with the generated book" }, { "from": "gpt", "value": "mdbook clean" } ]
[ { "from": "human", "value": "Serve a book at <http://localhost:3000>, auto build when file changes" }, { "from": "gpt", "value": "mdbook serve" } ]
[ { "from": "human", "value": "Watch a set of Markdown files and automatically build when a file is changed" }, { "from": "gpt", "value": "mdbook watch" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr pacman upgrade" } ]
[ { "from": "human", "value": "Create a fullscreen screenshot" }, { "from": "gpt", "value": "mate-screenshot" } ]
[ { "from": "human", "value": "Create an active window screenshot" }, { "from": "gpt", "value": "mate-screenshot --window" } ]
[ { "from": "human", "value": "Create a specific area screenshot" }, { "from": "gpt", "value": "mate-screenshot --area" } ]
[ { "from": "human", "value": "Create a screenshot interactively" }, { "from": "gpt", "value": "mate-screenshot --interactive" } ]
[ { "from": "human", "value": "Create a screenshot without borders" }, { "from": "gpt", "value": "mate-screenshot --window --remove-border" } ]
[ { "from": "human", "value": "Create a screenshot with a specific effect" }, { "from": "gpt", "value": "mate-screenshot --effect=shadow|border|none" } ]
[ { "from": "human", "value": "Create a screenshot with a specific delay in seconds" }, { "from": "gpt", "value": "mate-screenshot --delay=5" } ]
[ { "from": "human", "value": "Activate a service when a specific socket is connected" }, { "from": "gpt", "value": "systemd-socket-activate path/to/socket.service" } ]
[ { "from": "human", "value": "Activate multiple sockets for a service" }, { "from": "gpt", "value": "systemd-socket-activate path/to/socket1.service path/to/socket2.service" } ]
[ { "from": "human", "value": "Pass environment variables to the service being activated" }, { "from": "gpt", "value": "SYSTEMD_SOCKET_ACTIVATION=1 systemd-socket-activate path/to/socket.service" } ]
[ { "from": "human", "value": "Activate a service along with a notification socket" }, { "from": "gpt", "value": "systemd-socket-activate path/to/socket.socket path/to/service.service" } ]
[ { "from": "human", "value": "Activate a service with a specified port" }, { "from": "gpt", "value": "systemd-socket-activate path/to/socket.service -l 8080" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr cal" } ]
[ { "from": "human", "value": "Open a LUKS volume and create a decrypted mapping at `/dev/mapper/mapping_name`" }, { "from": "gpt", "value": "systemd-cryptsetup attach mapping_name /dev/sdXY" } ]
[ { "from": "human", "value": "Open a LUKS volume with additional options and create a decrypted mapping at `/dev/mapper/mapping_name`" }, { "from": "gpt", "value": "systemd-cryptsetup attach mapping_name /dev/sdXY none crypttab_options" } ]
[ { "from": "human", "value": "Open a LUKS volume with a keyfile and create a decrypted mapping at `/dev/mapper/mapping_name`" }, { "from": "gpt", "value": "systemd-cryptsetup attach mapping_name /dev/sdXY path/to/keyfile crypttab_options" } ]
[ { "from": "human", "value": "Remove an existing mapping" }, { "from": "gpt", "value": "systemd-cryptsetup detach mapping_name" } ]
[ { "from": "human", "value": "Report a bug about the whole system" }, { "from": "gpt", "value": "apport-bug" } ]
[ { "from": "human", "value": "Report a bug about a specific package" }, { "from": "gpt", "value": "apport-bug package" } ]
[ { "from": "human", "value": "Report a bug about a specific executable" }, { "from": "gpt", "value": "apport-bug path/to/executable" } ]
[ { "from": "human", "value": "Report a bug about a specific process" }, { "from": "gpt", "value": "apport-bug PID" } ]
[ { "from": "human", "value": "Flip the current (non-persistent) values of the specified booleans" }, { "from": "gpt", "value": "sudo togglesebool virt_use_samba virt_use_usb ..." } ]
[ { "from": "human", "value": "Add a torrent file or magnet to be downloaded" }, { "from": "gpt", "value": "rtorrent torrent_or_magnet" } ]
[ { "from": "human", "value": "Start the download" }, { "from": "gpt", "value": "<Ctrl s>" } ]
[ { "from": "human", "value": "View details about downloading torrent" }, { "from": "gpt", "value": "<ArrowRight>" } ]
[ { "from": "human", "value": "Close rtorrent safely" }, { "from": "gpt", "value": "<Ctrl q>" } ]
[ { "from": "human", "value": "Run a program using a dedicated Nvidia GPU" }, { "from": "gpt", "value": "prime-run command" } ]
[ { "from": "human", "value": "Validate whether the Nvidia card is being used" }, { "from": "gpt", "value": "prime-run glxinfo | grep \"OpenGL renderer\"" } ]
[ { "from": "human", "value": "Watch a specific file for events, exiting after the first one" }, { "from": "gpt", "value": "inotifywait path/to/file" } ]
[ { "from": "human", "value": "Continuously watch a specific file for events without exiting" }, { "from": "gpt", "value": "inotifywait --monitor path/to/file" } ]
[ { "from": "human", "value": "Watch a directory recursively for events" }, { "from": "gpt", "value": "inotifywait --monitor --recursive path/to/directory" } ]
[ { "from": "human", "value": "Watch a directory for changes, excluding files, whose names match a regular expression" }, { "from": "gpt", "value": "inotifywait --monitor --recursive --exclude \"regular_expression\" path/to/directory" } ]
[ { "from": "human", "value": "Watch a file for changes, exiting when no event occurs for 30 seconds" }, { "from": "gpt", "value": "inotifywait --monitor --timeout 30 path/to/file" } ]
[ { "from": "human", "value": "Only watch a file for file modification events" }, { "from": "gpt", "value": "inotifywait --event modify path/to/file" } ]
[ { "from": "human", "value": "Watch a file printing only events, and no status messages" }, { "from": "gpt", "value": "inotifywait --quiet path/to/file" } ]
[ { "from": "human", "value": "Run a command when a file is accessed" }, { "from": "gpt", "value": "inotifywait --event access path/to/file && command" } ]
[ { "from": "human", "value": "Show the parameters and statistics of all the interfaces" }, { "from": "gpt", "value": "iwconfig" } ]
[ { "from": "human", "value": "Show the parameters and statistics of the specified interface" }, { "from": "gpt", "value": "iwconfig interface" } ]
[ { "from": "human", "value": "Set the ESSID (network name) of the specified interface (e.g. eth0 or wlp2s0)" }, { "from": "gpt", "value": "iwconfig interface new_network_name" } ]
[ { "from": "human", "value": "Set the operating mode of the specified interface" }, { "from": "gpt", "value": "iwconfig interface mode Ad-Hoc|Managed|Master|Repeater|Secondary|Monitor|Auto" } ]
[ { "from": "human", "value": "List all boot options with their numbers" }, { "from": "gpt", "value": "efibootmgr [-u|--unicode]" } ]
[ { "from": "human", "value": "Add UEFI Shell v2 as a boot option" }, { "from": "gpt", "value": "sudo efibootmgr [-c|--create] [-d|--disk] /dev/sda [-p|--part] 1 [-l|--loader] \"\\path\\to\\shell.efi\" [-L|--label] \"UEFI Shell\"" } ]
[ { "from": "human", "value": "Add Linux as a boot option" }, { "from": "gpt", "value": "sudo efibootmgr [-c|--create] [-d|--disk] /dev/sda [-p|--part] 1 [-l|--loader] \"\\vmlinuz\" [-u|--unicode] \"kernel_cmdline\" [-L|--label] \"Linux\"" } ]
[ { "from": "human", "value": "Change the current boot order" }, { "from": "gpt", "value": "sudo efibootmgr [-o|--bootorder] 0002,0008,0001,0005" } ]
[ { "from": "human", "value": "Delete a boot option" }, { "from": "gpt", "value": "sudo efibootmgr [-b|--bootnum] 0008 [-B|--delete-bootnum]" } ]
[ { "from": "human", "value": "Show all available variables and their values" }, { "from": "gpt", "value": "sysctl -a" } ]
[ { "from": "human", "value": "Set a changeable kernel state variable" }, { "from": "gpt", "value": "sysctl -w section.tunable=value" } ]