conversations
listlengths
2
2
[ { "from": "human", "value": "Summarise dead nodes" }, { "from": "gpt", "value": "sinfo --dead" } ]
[ { "from": "human", "value": "List dead nodes and the reasons why" }, { "from": "gpt", "value": "sinfo --list-reasons" } ]
[ { "from": "human", "value": "Search for packages from the official repositories and AUR" }, { "from": "gpt", "value": "aura --aursync --both --search keyword|regular_expression" } ]
[ { "from": "human", "value": "Install a package from the AUR" }, { "from": "gpt", "value": "aura --aursync package" } ]
[ { "from": "human", "value": "Update all AUR packages in a verbose mode and remove all make dependencies" }, { "from": "gpt", "value": "aura --aursync --diff --sysupgrade --delmakedeps --unsuppress" } ]
[ { "from": "human", "value": "Install a package from the official repositories" }, { "from": "gpt", "value": "aura --sync package" } ]
[ { "from": "human", "value": "Synchronize and update all packages from the official repositories" }, { "from": "gpt", "value": "aura --sync --refresh --sysupgrade" } ]
[ { "from": "human", "value": "Downgrade a package using the package cache" }, { "from": "gpt", "value": "aura --downgrade package" } ]
[ { "from": "human", "value": "Remove a package and its dependencies" }, { "from": "gpt", "value": "aura --remove --recursive --unneeded package" } ]
[ { "from": "human", "value": "Remove orphan packages (installed as dependencies but not required by any package)" }, { "from": "gpt", "value": "aura --orphans --abandon" } ]
[ { "from": "human", "value": "List all video devices" }, { "from": "gpt", "value": "v4l2-ctl --list-devices" } ]
[ { "from": "human", "value": "List supported video formats and resolutions of default video device `/dev/video0`" }, { "from": "gpt", "value": "v4l2-ctl --list-formats-ext" } ]
[ { "from": "human", "value": "List supported video formats and resolutions of a specific video device" }, { "from": "gpt", "value": "v4l2-ctl --list-formats-ext [-d|--device] path/to/video_device" } ]
[ { "from": "human", "value": "Get all details of a video device" }, { "from": "gpt", "value": "v4l2-ctl --all [-d|--device] path/to/video_device" } ]
[ { "from": "human", "value": "Capture a JPEG photo with a specific resolution from video device" }, { "from": "gpt", "value": "v4l2-ctl [-d|--device] path/to/video_device --set-fmt-video=width=width,height=height,pixelformat=MJPG --stream-mmap --stream-to=path/to/output.jpg --stream-count=1" } ...
[ { "from": "human", "value": "Capture a raw video stream from video device" }, { "from": "gpt", "value": "v4l2-ctl [-d|--device] path/to/video_device --set-fmt-video=width=width,height=height,pixelformat=format --stream-mmap --stream-to=path/to/output --stream-count=number_of_frames_to_capture" ...
[ { "from": "human", "value": "List all video device's controls and their values" }, { "from": "gpt", "value": "v4l2-ctl [-l|--list-ctrls] [-d|--device] path/to/video_device" } ]
[ { "from": "human", "value": "Set the value of a video device control" }, { "from": "gpt", "value": "v4l2-ctl [-d|--device] path/to/video_device [-c|--set-ctrl] control_name=value" } ]
[ { "from": "human", "value": "Read all unread news" }, { "from": "gpt", "value": "sudo informant read" } ]
[ { "from": "human", "value": "Check for news" }, { "from": "gpt", "value": "informant check" } ]
[ { "from": "human", "value": "List latest news" }, { "from": "gpt", "value": "informant list" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "informant [-h|--help]" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr shnsplit" } ]
[ { "from": "human", "value": "Display system information" }, { "from": "gpt", "value": "raspinfo" } ]
[ { "from": "human", "value": "Start the lxc service" }, { "from": "gpt", "value": "systemctl start lxc-net" } ]
[ { "from": "human", "value": "Start a container" }, { "from": "gpt", "value": "sudo lxc-start container_name" } ]
[ { "from": "human", "value": "Start a container in the foreground" }, { "from": "gpt", "value": "sudo lxc-start container_name {{[-F|--foreground]]}" } ]
[ { "from": "human", "value": "Exit out of a foreground container (run this in a separate terminal)" }, { "from": "gpt", "value": "sudo lxc-stop container_name" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "lxc-start [-?|--help]" } ]
[ { "from": "human", "value": "Knock on ports using different protocols" }, { "from": "gpt", "value": "knock hostname portnumber:protocol" } ]
[ { "from": "human", "value": "Knock on port using UDP" }, { "from": "gpt", "value": "knock -u hostname portnumber" } ]
[ { "from": "human", "value": "Force usage of IPv4/IPv6" }, { "from": "gpt", "value": "knock -4|-6 hostname portnumber" } ]
[ { "from": "human", "value": "Display errors and details of connection" }, { "from": "gpt", "value": "knock -v hostname portnumber" } ]
[ { "from": "human", "value": "Measure power with the default of 10 samples with an interval of 10 seconds" }, { "from": "gpt", "value": "powerstat" } ]
[ { "from": "human", "value": "Measure power with custom number of samples and interval duration" }, { "from": "gpt", "value": "powerstat interval number_of_samples" } ]
[ { "from": "human", "value": "Measure power using Intel's RAPL interface" }, { "from": "gpt", "value": "powerstat -R interval number_of_samples" } ]
[ { "from": "human", "value": "Show a histogram of the power measurements" }, { "from": "gpt", "value": "powerstat -H interval number_of_samples" } ]
[ { "from": "human", "value": "Enable all statistics gathering options" }, { "from": "gpt", "value": "powerstat -a interval number_of_samples" } ]
[ { "from": "human", "value": "Show the bandwidth usage" }, { "from": "gpt", "value": "sudo iftop" } ]
[ { "from": "human", "value": "Show the bandwidth usage of a given interface" }, { "from": "gpt", "value": "sudo iftop -i interface" } ]
[ { "from": "human", "value": "Show the bandwidth usage with port information" }, { "from": "gpt", "value": "sudo iftop -P" } ]
[ { "from": "human", "value": "Do not show bar graphs of traffic" }, { "from": "gpt", "value": "sudo iftop -b" } ]
[ { "from": "human", "value": "Do not look up hostnames" }, { "from": "gpt", "value": "sudo iftop -n" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "<?>" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr systemd-mount" } ]
[ { "from": "human", "value": "Open a file" }, { "from": "gpt", "value": "zathura path/to/file" } ]
[ { "from": "human", "value": "Navigate left/up/down/right" }, { "from": "gpt", "value": "<h>|<j>|<k>|<l>|<ArrowKeys>" } ]
[ { "from": "human", "value": "Rotate" }, { "from": "gpt", "value": "<r>" } ]
[ { "from": "human", "value": "Invert Colors" }, { "from": "gpt", "value": "<Ctrl r>" } ]
[ { "from": "human", "value": "Search for text by a given string" }, { "from": "gpt", "value": "</>string" } ]
[ { "from": "human", "value": "Create/delete bookmarks" }, { "from": "gpt", "value": "<:>bmark|bdelete bookmark_name<Enter>" } ]
[ { "from": "human", "value": "List bookmarks" }, { "from": "gpt", "value": "<:>blist<Enter>" } ]
[ { "from": "human", "value": "Create a Minix filesystem inside partition 1 on device b (`sdb1`)" }, { "from": "gpt", "value": "mkfs.minix /dev/sdb1" } ]
[ { "from": "human", "value": "Set the max number of counts before a filesystem is checked to 2" }, { "from": "gpt", "value": "tune2fs -c 2 /dev/sdXN" } ]
[ { "from": "human", "value": "Set the filesystem label to MY_LABEL" }, { "from": "gpt", "value": "tune2fs -L 'MY_LABEL' /dev/sdXN" } ]
[ { "from": "human", "value": "Enable discard and user-specified extended attributes for a filesystem" }, { "from": "gpt", "value": "tune2fs -o discard,user_xattr /dev/sdXN" } ]
[ { "from": "human", "value": "Enable journaling for a filesystem" }, { "from": "gpt", "value": "tune2fs -o^nobarrier /dev/sdXN" } ]
[ { "from": "human", "value": "Print the hexadecimal representation of a file, replacing duplicate lines by '*'" }, { "from": "gpt", "value": "hexdump path/to/file" } ]
[ { "from": "human", "value": "Display the input offset in hexadecimal and its ASCII representation in two columns" }, { "from": "gpt", "value": "hexdump [-C|--canonical] path/to/file" } ]
[ { "from": "human", "value": "Display the hexadecimal representation of a file, but interpret only n bytes of the input" }, { "from": "gpt", "value": "hexdump [-C|--canonical] [-n|--length] number_of_bytes path/to/file" } ]
[ { "from": "human", "value": "Don't replace duplicate lines with '*'" }, { "from": "gpt", "value": "hexdump [-v|--no-squeezing] path/to/file" } ]
[ { "from": "human", "value": "Run `auto-cpufreq` in a specific mode" }, { "from": "gpt", "value": "sudo auto-cpufreq --monitor|live|update|remove|stats|force=governor" } ]
[ { "from": "human", "value": "Report I/O and transfer rate issued to physical devices, one per second (press `<Ctrl c>` to quit)" }, { "from": "gpt", "value": "sar -b 1" } ]
[ { "from": "human", "value": "Report a total of 10 network device statistics, one per 2 seconds" }, { "from": "gpt", "value": "sar -n DEV 2 10" } ]
[ { "from": "human", "value": "Report CPU utilization, one per 2 seconds" }, { "from": "gpt", "value": "sar -u ALL 2" } ]
[ { "from": "human", "value": "Report a total of 20 memory utilization statistics, one per second" }, { "from": "gpt", "value": "sar -r ALL 1 20" } ]
[ { "from": "human", "value": "Report the run queue length and load averages, one per second" }, { "from": "gpt", "value": "sar -q 1" } ]
[ { "from": "human", "value": "Report paging statistics, one per 5 seconds" }, { "from": "gpt", "value": "sar -B 5" } ]
[ { "from": "human", "value": "Modify ACL of a file for user with read and write access" }, { "from": "gpt", "value": "setfacl [-m|--modify] u:username:rw path/to/file_or_directory" } ]
[ { "from": "human", "value": "Modify default ACL of a file for all users" }, { "from": "gpt", "value": "setfacl [-m|--modify] [-d|--default] u::rw path/to/file_or_directory" } ]
[ { "from": "human", "value": "Remove ACL of a file for a user" }, { "from": "gpt", "value": "setfacl [-x|--remove] u:username path/to/file_or_directory" } ]
[ { "from": "human", "value": "Remove all ACL entries of a file" }, { "from": "gpt", "value": "setfacl [-X|--remove-all] path/to/file_or_directory" } ]
[ { "from": "human", "value": "Start the daemon" }, { "from": "gpt", "value": "slurmstepd" } ]
[ { "from": "human", "value": "Change the password for a specific user" }, { "from": "gpt", "value": "printf \"username:new_password\" | sudo chpasswd" } ]
[ { "from": "human", "value": "Change the passwords for multiple users (The input text must not contain any spaces.)" }, { "from": "gpt", "value": "printf \"username_1:new_password_1\\nusername_2:new_password_2\" | sudo chpasswd" } ]
[ { "from": "human", "value": "Change the password for a specific user, and specify it in encrypted form" }, { "from": "gpt", "value": "printf \"username:new_encrypted_password\" | sudo chpasswd --encrypted" } ]
[ { "from": "human", "value": "Change the password for a specific user, and use a specific encryption for the stored password" }, { "from": "gpt", "value": "printf \"username:new_password\" | sudo chpasswd --crypt-method NONE|DES|MD5|SHA256|SHA512" } ]
[ { "from": "human", "value": "Read a text file at a specific speed" }, { "from": "gpt", "value": "cat path/to/file.txt | speedread -wpm 250" } ]
[ { "from": "human", "value": "Resume from a specific line" }, { "from": "gpt", "value": "cat path/to/file.txt | speedread -resume 5" } ]
[ { "from": "human", "value": "Show multiple words at a time" }, { "from": "gpt", "value": "cat path/to/file.txt | speedread -multiword" } ]
[ { "from": "human", "value": "Slow down by 10% during the reading session" }, { "from": "gpt", "value": "<[>" } ]
[ { "from": "human", "value": "Speed up by 10% during the reading session" }, { "from": "gpt", "value": "<]>" } ]
[ { "from": "human", "value": "Pause, and show the last few lines as context" }, { "from": "gpt", "value": "<Space>" } ]
[ { "from": "human", "value": "Delete an existing group" }, { "from": "gpt", "value": "sudo groupdel group_name" } ]
[ { "from": "human", "value": "List active global USE flags" }, { "from": "gpt", "value": "euse --active --global" } ]
[ { "from": "human", "value": "List active local USE flags" }, { "from": "gpt", "value": "euse --active --local" } ]
[ { "from": "human", "value": "Enable a global USE flag" }, { "from": "gpt", "value": "sudo euse --enable use_flag" } ]
[ { "from": "human", "value": "Disable a global USE flag (put a '-' sign in front of the USE flag)" }, { "from": "gpt", "value": "sudo euse --disable use_flag" } ]
[ { "from": "human", "value": "Remove a global USE flag" }, { "from": "gpt", "value": "sudo euse --prune use_flag" } ]
[ { "from": "human", "value": "List all the installed extensions" }, { "from": "gpt", "value": "gnome-extensions list" } ]
[ { "from": "human", "value": "Display information about a specific extension" }, { "from": "gpt", "value": "gnome-extensions info \"extension_id\"" } ]
[ { "from": "human", "value": "Enable a specific extension" }, { "from": "gpt", "value": "gnome-extensions enable \"extension_id\"" } ]
[ { "from": "human", "value": "Disable a specific extension" }, { "from": "gpt", "value": "gnome-extension disable \"extension_id\"" } ]
[ { "from": "human", "value": "Uninstall a specific extension" }, { "from": "gpt", "value": "gnome-extension uninstall \"extension_id\"" } ]
[ { "from": "human", "value": "Display help for a specific subcommand (like `list`)" }, { "from": "gpt", "value": "gnome-extensions help subcommand" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "gnome-extensions version" } ]
[ { "from": "human", "value": "Enable interface eth0" }, { "from": "gpt", "value": "ifup eth0" } ]
[ { "from": "human", "value": "Enable all the interfaces defined with \"auto\" in `/etc/network/interfaces`" }, { "from": "gpt", "value": "ifup -a" } ]
[ { "from": "human", "value": "Print the statuses of all network interfaces" }, { "from": "gpt", "value": "nmcli device status" } ]
[ { "from": "human", "value": "Print the available Wi-Fi access points" }, { "from": "gpt", "value": "nmcli device wifi" } ]