conversations
listlengths
2
2
[ { "from": "human", "value": "Symlink all files from a castle" }, { "from": "gpt", "value": "homeshick link castle_name" } ]
[ { "from": "human", "value": "Check terminal's openness to write messages" }, { "from": "gpt", "value": "mesg" } ]
[ { "from": "human", "value": "Disallow receiving messages from other users" }, { "from": "gpt", "value": "mesg n" } ]
[ { "from": "human", "value": "Allow receiving messages from other users" }, { "from": "gpt", "value": "mesg y" } ]
[ { "from": "human", "value": "Enable verbose mode, printing a warning if the command is not executed from a terminal" }, { "from": "gpt", "value": "mesg [-v|--verbose]" } ]
[ { "from": "human", "value": "Show information about all network interfaces" }, { "from": "gpt", "value": "ip [l|link]" } ]
[ { "from": "human", "value": "Show information about a specific network interface" }, { "from": "gpt", "value": "ip [l|link] [sh|show] ethN" } ]
[ { "from": "human", "value": "Bring a network interface up or down" }, { "from": "gpt", "value": "sudo ip [l|link] [s|set] ethN up|down" } ]
[ { "from": "human", "value": "Give a meaningful name to a network interface" }, { "from": "gpt", "value": "sudo ip [l|link] [s|set] ethN [al|alias] \"LAN Interface\"" } ]
[ { "from": "human", "value": "Change the MAC address of a network interface" }, { "from": "gpt", "value": "sudo ip [l|link] [s|set] ethN [a|address] ff:ff:ff:ff:ff:ff" } ]
[ { "from": "human", "value": "Change the MTU size for a network interface to use jumbo frames" }, { "from": "gpt", "value": "sudo ip [l|link] [s|set] ethN mtu 9000" } ]
[ { "from": "human", "value": "Set the promisc mode status of a device" }, { "from": "gpt", "value": "sudo ip [l|link] [s|set] ethN promisc on|off" } ]
[ { "from": "human", "value": "Show the highscores" }, { "from": "gpt", "value": "snake4scores" } ]
[ { "from": "human", "value": "Get a running process' CPU affinity by PID" }, { "from": "gpt", "value": "taskset [-p|--pid] [-c|--cpu-list] pid" } ]
[ { "from": "human", "value": "Set a running process' CPU affinity by PID" }, { "from": "gpt", "value": "taskset [-p|--pid] [-c|--cpu-list] cpu_id pid" } ]
[ { "from": "human", "value": "Start a new process with affinity for a single CPU" }, { "from": "gpt", "value": "taskset [-c|--cpu-list] cpu_id command" } ]
[ { "from": "human", "value": "Start a new process with affinity for multiple non-sequential CPUs" }, { "from": "gpt", "value": "taskset [-c|--cpu-list] cpu_id_1,cpu_id_2,cpu_id_3" } ]
[ { "from": "human", "value": "Start a new process with affinity for CPUs 1 through 4" }, { "from": "gpt", "value": "taskset [-c|--cpu-list] cpu_id_1-cpu_id_4" } ]
[ { "from": "human", "value": "Split a file at lines 5 and 23" }, { "from": "gpt", "value": "csplit path/to/file 5 23" } ]
[ { "from": "human", "value": "Split a file every 5 lines (this will fail if the total number of lines is not divisible by 5)" }, { "from": "gpt", "value": "csplit path/to/file 5 {*}" } ]
[ { "from": "human", "value": "Split a file every 5 lines, ignoring exact-division error" }, { "from": "gpt", "value": "csplit [-k|--keep-files] path/to/file 5 {*}" } ]
[ { "from": "human", "value": "Split a file at line 5 and use a custom prefix for the output files" }, { "from": "gpt", "value": "csplit path/to/file 5 [-f|--prefix] prefix" } ]
[ { "from": "human", "value": "Split a file at a line matching a regular expression" }, { "from": "gpt", "value": "csplit path/to/file /regular_expression/" } ]
[ { "from": "human", "value": "Create a Distrobox container using the Ubuntu image" }, { "from": "gpt", "value": "distrobox-create container_name --image ubuntu:latest" } ]
[ { "from": "human", "value": "Clone a Distrobox container" }, { "from": "gpt", "value": "distrobox-create --clone container_name cloned_container_name" } ]
[ { "from": "human", "value": "Capture a 10 second video" }, { "from": "gpt", "value": "rpicam-vid -t 10000 -o path/to/file.h264" } ]
[ { "from": "human", "value": "List primary and secondary groups of a specific user" }, { "from": "gpt", "value": "sudo lid username" } ]
[ { "from": "human", "value": "List users of a specific group" }, { "from": "gpt", "value": "sudo lid --group name" } ]
[ { "from": "human", "value": "Suspend a virtual machine by ID" }, { "from": "gpt", "value": "qm suspend vm_id integer" } ]
[ { "from": "human", "value": "Skip the lock check when suspending the VM" }, { "from": "gpt", "value": "qm suspend vm_id integer --skiplock" } ]
[ { "from": "human", "value": "Skip the lock check for storage when suspending the VM" }, { "from": "gpt", "value": "qm suspend vm_id integer --skiplockstorage" } ]
[ { "from": "human", "value": "Install a package from the repository or from a local RPM file" }, { "from": "gpt", "value": "sudo urpmi package|path/to/file.rpm" } ]
[ { "from": "human", "value": "Download a package without installing it" }, { "from": "gpt", "value": "urpmi --no-install package" } ]
[ { "from": "human", "value": "Update all installed packages (run `urpmi.update -a` to get the available updates)" }, { "from": "gpt", "value": "sudo urpmi --auto-select" } ]
[ { "from": "human", "value": "Update a package of one or more machines on the network according to `/etc/urpmi/parallel.cfg`" }, { "from": "gpt", "value": "sudo urpmi --parallel local package" } ]
[ { "from": "human", "value": "Mark all orphaned packages as manually installed" }, { "from": "gpt", "value": "sudo urpmi $(urpmq --auto-orphans -f)" } ]
[ { "from": "human", "value": "Obtain a new certificate via webroot authorization, but do not install it automatically" }, { "from": "gpt", "value": "sudo certbot certonly --webroot --webroot-path path/to/webroot --domain subdomain.example.com" } ]
[ { "from": "human", "value": "Obtain a new certificate via nginx authorization, installing the new certificate automatically" }, { "from": "gpt", "value": "sudo certbot --nginx --domain subdomain.example.com" } ]
[ { "from": "human", "value": "Obtain a new certificate via apache authorization, installing the new certificate automatically" }, { "from": "gpt", "value": "sudo certbot --apache --domain subdomain.example.com" } ]
[ { "from": "human", "value": "Renew all Let's Encrypt certificates that expire in 30 days or less (don't forget to restart any servers that use them afterwards)" }, { "from": "gpt", "value": "sudo certbot renew" } ]
[ { "from": "human", "value": "Simulate the obtaining of a new certificate, but don't actually save any new certificates to disk" }, { "from": "gpt", "value": "sudo certbot --webroot --webroot-path path/to/webroot --domain subdomain.example.com --dry-run" } ]
[ { "from": "human", "value": "Obtain an untrusted test certificate instead" }, { "from": "gpt", "value": "sudo certbot --webroot --webroot-path path/to/webroot --domain subdomain.example.com --test-cert" } ]
[ { "from": "human", "value": "Reconfigure one or more packages" }, { "from": "gpt", "value": "dpkg-reconfigure package1 package2 ..." } ]
[ { "from": "human", "value": "Connect to the Tor network" }, { "from": "gpt", "value": "tor" } ]
[ { "from": "human", "value": "View Tor configuration" }, { "from": "gpt", "value": "tor --config" } ]
[ { "from": "human", "value": "Check Tor status" }, { "from": "gpt", "value": "tor --status" } ]
[ { "from": "human", "value": "Run as client only" }, { "from": "gpt", "value": "tor --client" } ]
[ { "from": "human", "value": "Run as relay" }, { "from": "gpt", "value": "tor --relay" } ]
[ { "from": "human", "value": "Run as bridge" }, { "from": "gpt", "value": "tor --bridge" } ]
[ { "from": "human", "value": "Run as a hidden service" }, { "from": "gpt", "value": "tor --hidden-service" } ]
[ { "from": "human", "value": "Add a new `apt` repository" }, { "from": "gpt", "value": "apt-add-repository repository_spec" } ]
[ { "from": "human", "value": "Remove an `apt` repository" }, { "from": "gpt", "value": "apt-add-repository --remove repository_spec" } ]
[ { "from": "human", "value": "Update the package cache after adding a repository" }, { "from": "gpt", "value": "apt-add-repository --update repository_spec" } ]
[ { "from": "human", "value": "Enable source packages" }, { "from": "gpt", "value": "apt-add-repository --enable-source repository_spec" } ]
[ { "from": "human", "value": "Pause notifications" }, { "from": "gpt", "value": "dunstctl set-paused true" } ]
[ { "from": "human", "value": "Un-pause notifications" }, { "from": "gpt", "value": "dunstctl set-paused false" } ]
[ { "from": "human", "value": "Close all notifications" }, { "from": "gpt", "value": "dunstctl close-all" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "dunstctl --help" } ]
[ { "from": "human", "value": "Start an interactive shell (Bash, by default) in a new root directory" }, { "from": "gpt", "value": "arch-chroot path/to/new/root" } ]
[ { "from": "human", "value": "Specify the user (other than the current user) to run the shell as" }, { "from": "gpt", "value": "arch-chroot -u user path/to/new/root" } ]
[ { "from": "human", "value": "Run a custom command (instead of the default Bash) in the new root directory" }, { "from": "gpt", "value": "arch-chroot path/to/new/root command command_arguments" } ]
[ { "from": "human", "value": "Specify the shell, other than the default Bash (in this case, the `zsh` package should have been installed in the target system)" }, { "from": "gpt", "value": "arch-chroot path/to/new/root zsh" } ]
[ { "from": "human", "value": "Analyze logs for a range of dates at a certain level of detail" }, { "from": "gpt", "value": "logwatch --range yesterday|today|all|help --detail low|medium|others'" } ]
[ { "from": "human", "value": "Restrict report to only include information for a selected service" }, { "from": "gpt", "value": "logwatch --range all --service apache|pam_unix|etc" } ]
[ { "from": "human", "value": "Lookup the persistent security context setting of an absolute path" }, { "from": "gpt", "value": "matchpathcon /path/to/file" } ]
[ { "from": "human", "value": "Restrict lookup to settings on a specific file type" }, { "from": "gpt", "value": "matchpathcon -m file|dir|pipe|chr_file|blk_file|lnk_file|sock_file /path/to/file" } ]
[ { "from": "human", "value": "[V]erify that the persistent and current security context of a path agree" }, { "from": "gpt", "value": "matchpathcon -V /path/to/file" } ]
[ { "from": "human", "value": "Open termusic to a specific directory. (It can be set permanently in `~/.config/termusic/config.toml`)" }, { "from": "gpt", "value": "termusic path/to/directory" } ]
[ { "from": "human", "value": "Disable showing the album cover for a specific file" }, { "from": "gpt", "value": "termusic -c path/to/music_file" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "termusic --help" } ]
[ { "from": "human", "value": "Do a dry run and print the configuration to `stdout`" }, { "from": "gpt", "value": "sudo grub-mkconfig" } ]
[ { "from": "human", "value": "Generate the configuration file" }, { "from": "gpt", "value": "sudo grub-mkconfig [-o|--output] /boot/grub/grub.cfg" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "grub-mkconfig --help" } ]
[ { "from": "human", "value": "Show status of Wi-Fi" }, { "from": "gpt", "value": "nmcli radio wifi" } ]
[ { "from": "human", "value": "Turn Wi-Fi on or off" }, { "from": "gpt", "value": "nmcli radio wifi on|off" } ]
[ { "from": "human", "value": "Show status of WWAN" }, { "from": "gpt", "value": "nmcli radio wwan" } ]
[ { "from": "human", "value": "Turn WWAN on or off" }, { "from": "gpt", "value": "nmcli radio wwan on|off" } ]
[ { "from": "human", "value": "Show status of both switches" }, { "from": "gpt", "value": "nmcli radio all" } ]
[ { "from": "human", "value": "Turn both switches on or off" }, { "from": "gpt", "value": "nmcli radio all on|off" } ]
[ { "from": "human", "value": "Display system memory" }, { "from": "gpt", "value": "free" } ]
[ { "from": "human", "value": "Display memory in Bytes/KB/MB/GB" }, { "from": "gpt", "value": "free -b|k|m|g" } ]
[ { "from": "human", "value": "Display memory in human-readable units" }, { "from": "gpt", "value": "free [-h|--human]" } ]
[ { "from": "human", "value": "Refresh the output every 2 seconds" }, { "from": "gpt", "value": "free [-s|--seconds] 2" } ]
[ { "from": "human", "value": "Change XDG's DESKTOP directory to the specified directory (must be absolute)" }, { "from": "gpt", "value": "xdg-user-dirs-update --set DESKTOP \"path/to/directory\"" } ]
[ { "from": "human", "value": "Write the result to the specified dry-run-file instead of the `user-dirs.dirs` file" }, { "from": "gpt", "value": "xdg-user-dirs-update --dummy-output \"path/to/dry_run_file\" --set xdg_user_directory \"path/to/directory\"" } ]
[ { "from": "human", "value": "Convert single images and/or whole directories containing valid image formats" }, { "from": "gpt", "value": "imgp -x 1366x1000 path/to/directory path/to/file" } ]
[ { "from": "human", "value": "Scale an image by 75% and overwrite the source image to a target resolution" }, { "from": "gpt", "value": "imgp -x 75 -w path/to/file" } ]
[ { "from": "human", "value": "Rotate an image clockwise by 90 degrees" }, { "from": "gpt", "value": "imgp -o 90 path/to/file" } ]
[ { "from": "human", "value": "Check for system updates to the host system" }, { "from": "gpt", "value": "vso sys-upgrade check" } ]
[ { "from": "human", "value": "Upgrade the host system now" }, { "from": "gpt", "value": "vso sys-upgrade upgrade --now" } ]
[ { "from": "human", "value": "Initialize the Pico subsystem (used for package management)" }, { "from": "gpt", "value": "vso pico-init" } ]
[ { "from": "human", "value": "Install applications inside the subsystem" }, { "from": "gpt", "value": "vso install package1 package2 ..." } ]
[ { "from": "human", "value": "Remove applications from the subsystem" }, { "from": "gpt", "value": "vso remove package1 package2 ..." } ]
[ { "from": "human", "value": "Enter the subsystem's shell" }, { "from": "gpt", "value": "vso shell" } ]
[ { "from": "human", "value": "Run an application from the subsystem" }, { "from": "gpt", "value": "vso run package" } ]
[ { "from": "human", "value": "Display VSO configuration" }, { "from": "gpt", "value": "vso config show" } ]
[ { "from": "human", "value": "Proxy a specific virtual machine" }, { "from": "gpt", "value": "qm vncproxy vm_id" } ]
[ { "from": "human", "value": "Send a WoL packet to a device" }, { "from": "gpt", "value": "wol mac_address" } ]
[ { "from": "human", "value": "Send a WoL packet to a device in another subnet based on its IP" }, { "from": "gpt", "value": "wol --ipaddr=ip_address mac_address" } ]
[ { "from": "human", "value": "Send a WoL packet to a device in another subnet based on its hostname" }, { "from": "gpt", "value": "wol --host=hostname mac_address" } ]