conversations
listlengths
2
2
[ { "from": "human", "value": "Create a `toolbox` container from a custom Fedora image" }, { "from": "gpt", "value": "toolbox create --image registry.fedoraproject.org/fedora-toolbox:39" } ]
[ { "from": "human", "value": "Create a `toolbox` container using the default image for Fedora 39" }, { "from": "gpt", "value": "toolbox create --distro fedora --release f39" } ]
[ { "from": "human", "value": "Compile a source code file into an object file" }, { "from": "gpt", "value": "mpicc -c path/to/file.c" } ]
[ { "from": "human", "value": "Link an object file and make an executable" }, { "from": "gpt", "value": "mpicc -o executable path/to/object_file.o" } ]
[ { "from": "human", "value": "Compile and link source code in a single command" }, { "from": "gpt", "value": "mpicc -o executable path/to/file.c" } ]
[ { "from": "human", "value": "Create a snapshot of a specific virtual machine" }, { "from": "gpt", "value": "qm snapshot vm_id snapshot_name" } ]
[ { "from": "human", "value": "Create a snapshot with a specific description" }, { "from": "gpt", "value": "qm snapshot vm_id snapshot_name --description description" } ]
[ { "from": "human", "value": "Create a snapshot including the vmstate" }, { "from": "gpt", "value": "qm snapshot vm_id snapshot_name --description description --vmstate 1" } ]
[ { "from": "human", "value": "Update the list of available slackbuilds and versions" }, { "from": "gpt", "value": "slapt-src --update" } ]
[ { "from": "human", "value": "List all available slackbuilds" }, { "from": "gpt", "value": "slapt-src --list" } ]
[ { "from": "human", "value": "Fetch, build and install the specified slackbuild(s)" }, { "from": "gpt", "value": "slapt-src --install slackbuild_name" } ]
[ { "from": "human", "value": "Locate slackbuilds by their name or description" }, { "from": "gpt", "value": "slapt-src --search search_term" } ]
[ { "from": "human", "value": "Display information about a slackbuild" }, { "from": "gpt", "value": "slapt-src --show slackbuild_name" } ]
[ { "from": "human", "value": "Update to the latest version" }, { "from": "gpt", "value": "sudo swupd update" } ]
[ { "from": "human", "value": "Show current version, and check whether a newer one exists" }, { "from": "gpt", "value": "swupd check-update" } ]
[ { "from": "human", "value": "List installed bundles" }, { "from": "gpt", "value": "swupd bundle-list" } ]
[ { "from": "human", "value": "Locate the bundle where a wanted package exists" }, { "from": "gpt", "value": "swupd search -b package" } ]
[ { "from": "human", "value": "Install a new bundle" }, { "from": "gpt", "value": "sudo swupd bundle-add bundle" } ]
[ { "from": "human", "value": "Remove a bundle" }, { "from": "gpt", "value": "sudo swupd bundle-remove bundle" } ]
[ { "from": "human", "value": "Correct broken or missing files" }, { "from": "gpt", "value": "sudo swupd verify" } ]
[ { "from": "human", "value": "Display an interactive view of PipeWire nodes and devices" }, { "from": "gpt", "value": "pw-top" } ]
[ { "from": "human", "value": "Monitor a remote instance" }, { "from": "gpt", "value": "pw-top --remote remote_name" } ]
[ { "from": "human", "value": "Print information periodically instead of running in interactive mode" }, { "from": "gpt", "value": "pw-top --batch-mode" } ]
[ { "from": "human", "value": "Print information periodically for a specific number of times" }, { "from": "gpt", "value": "pw-top --batch-mode --iterations 3" } ]
[ { "from": "human", "value": "List all attributes of devices of a bus (eg. `pci`, `usb`). View all buses using `ls /sys/bus`" }, { "from": "gpt", "value": "systool -b bus -v" } ]
[ { "from": "human", "value": "List all attributes of a class of devices (eg. `drm`, `block`). View all classes using `ls /sys/class`" }, { "from": "gpt", "value": "systool -c class -v" } ]
[ { "from": "human", "value": "Show only device drivers of a bus (eg. `pci`, `usb`)" }, { "from": "gpt", "value": "systool -b bus -D" } ]
[ { "from": "human", "value": "Launch the GUI" }, { "from": "gpt", "value": "sudo lshw -X" } ]
[ { "from": "human", "value": "List all hardware in tabular format" }, { "from": "gpt", "value": "sudo lshw -short" } ]
[ { "from": "human", "value": "List all disks and storage controllers in tabular format" }, { "from": "gpt", "value": "sudo lshw -class disk -class storage -short" } ]
[ { "from": "human", "value": "Save all network interfaces to an HTML file" }, { "from": "gpt", "value": "sudo lshw -class network -html > interfaces.html" } ]
[ { "from": "human", "value": "List all containers" }, { "from": "gpt", "value": "sudo lxc-ls" } ]
[ { "from": "human", "value": "List active containers (including frozen and running)" }, { "from": "gpt", "value": "sudo lxc-ls --active" } ]
[ { "from": "human", "value": "List only frozen containers" }, { "from": "gpt", "value": "sudo lxc-ls --frozen" } ]
[ { "from": "human", "value": "List only stopped containers" }, { "from": "gpt", "value": "sudo lxc-ls --stopped" } ]
[ { "from": "human", "value": "List containers in a fancy, column-based output" }, { "from": "gpt", "value": "sudo lxc-ls [-f|--fancy]" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "lxc-ls [-?|--help]" } ]
[ { "from": "human", "value": "Upgrade installed packages to the newest available versions" }, { "from": "gpt", "value": "sudo dnf5 upgrade" } ]
[ { "from": "human", "value": "Search packages via keywords" }, { "from": "gpt", "value": "dnf5 search keyword1 keyword2 ..." } ]
[ { "from": "human", "value": "Display details about a package" }, { "from": "gpt", "value": "dnf5 info package" } ]
[ { "from": "human", "value": "Install new packages (Note: use `-y` to confirm all prompts automatically)" }, { "from": "gpt", "value": "sudo dnf5 install package1 package2 ..." } ]
[ { "from": "human", "value": "Remove packages" }, { "from": "gpt", "value": "sudo dnf5 remove package1 package2 ..." } ]
[ { "from": "human", "value": "List installed packages" }, { "from": "gpt", "value": "dnf5 list --installed" } ]
[ { "from": "human", "value": "Find which packages provide a given command" }, { "from": "gpt", "value": "dnf5 provides command" } ]
[ { "from": "human", "value": "Remove or expire cached data" }, { "from": "gpt", "value": "sudo dnf5 clean all" } ]
[ { "from": "human", "value": "Search the AUR database for a package" }, { "from": "gpt", "value": "aur search keyword" } ]
[ { "from": "human", "value": "Download a package and its dependencies from AUR, build them and add them to a local repository" }, { "from": "gpt", "value": "aur sync package" } ]
[ { "from": "human", "value": "List packages available in your local repository" }, { "from": "gpt", "value": "aur repo [-l|--list]" } ]
[ { "from": "human", "value": "Upgrade local repository packages" }, { "from": "gpt", "value": "aur sync [-u|--upgrades]" } ]
[ { "from": "human", "value": "Install a package without viewing changes in Vim and do not confirm dependency installation" }, { "from": "gpt", "value": "aur sync --noview [-n|--noconfirm] package" } ]
[ { "from": "human", "value": "Record the screen and write the recording to a file (by default, `byzanz-record` will only record for 10 seconds)" }, { "from": "gpt", "value": "byzanz-record path/to/file.[byzanz|flv|gif|ogg|ogv|webm]" } ]
[ { "from": "human", "value": "Show information while and after recording" }, { "from": "gpt", "value": "byzanz-record --verbose path/to/file.[byzanz|flv|gif|ogg|ogv|webm]" } ]
[ { "from": "human", "value": "Record the screen for a minute" }, { "from": "gpt", "value": "byzanz-record --duration 60 path/to/file.[byzanz|flv|gif|ogg|ogv|webm]" } ]
[ { "from": "human", "value": "Delay recording for 10 seconds" }, { "from": "gpt", "value": "byzanz-record --delay 10 path/to/file.[byzanz|flv|gif|ogg|ogv|webm]" } ]
[ { "from": "human", "value": "Tell the kernel about the existence of the specified partition" }, { "from": "gpt", "value": "addpart device partition start length" } ]
[ { "from": "human", "value": "Escape the given text" }, { "from": "gpt", "value": "systemd-escape text" } ]
[ { "from": "human", "value": "Reverse the escaping process" }, { "from": "gpt", "value": "systemd-escape --unescape text" } ]
[ { "from": "human", "value": "Treat the given text as a path" }, { "from": "gpt", "value": "systemd-escape --path text" } ]
[ { "from": "human", "value": "Append the given suffix to the escaped text" }, { "from": "gpt", "value": "systemd-escape --suffix suffix text" } ]
[ { "from": "human", "value": "Use a template and inject the escaped text" }, { "from": "gpt", "value": "systemd-escape --template template text" } ]
[ { "from": "human", "value": "Show all running services" }, { "from": "gpt", "value": "systemctl status" } ]
[ { "from": "human", "value": "List failed units" }, { "from": "gpt", "value": "systemctl --failed" } ]
[ { "from": "human", "value": "Start/Stop/Restart/Reload/Show the status a service" }, { "from": "gpt", "value": "systemctl start|stop|restart|reload|status unit" } ]
[ { "from": "human", "value": "Enable/Disable a unit to be started on bootup" }, { "from": "gpt", "value": "systemctl enable|disable unit" } ]
[ { "from": "human", "value": "Reload systemd, scan for new or changed units" }, { "from": "gpt", "value": "systemctl daemon-reload" } ]
[ { "from": "human", "value": "Check if a unit is active/enabled/failed" }, { "from": "gpt", "value": "systemctl is-active|is-enabled|is-failed unit" } ]
[ { "from": "human", "value": "List all service/socket/automount units filtering by running/failed state" }, { "from": "gpt", "value": "systemctl list-units [-t|--type] service|socket|automount --state failed|running" } ]
[ { "from": "human", "value": "Show the contents & absolute path of a unit file" }, { "from": "gpt", "value": "systemctl cat unit" } ]
[ { "from": "human", "value": "Convert an RPM package to a `cpio` archive and save it as `file.cpio` in the current directory" }, { "from": "gpt", "value": "rpm2cpio path/to/file.rpm" } ]
[ { "from": "human", "value": "Mount a device below `/media/` (using device as mount point)" }, { "from": "gpt", "value": "pmount /dev/to/block/device" } ]
[ { "from": "human", "value": "Mount a device with a specific filesystem type to `/media/label`" }, { "from": "gpt", "value": "pmount --type filesystem /dev/to/block/device label" } ]
[ { "from": "human", "value": "Mount a CD-ROM (filesystem type ISO9660) in read-only mode" }, { "from": "gpt", "value": "pmount --type iso9660 --read-only /dev/cdrom" } ]
[ { "from": "human", "value": "Mount an NTFS-formatted disk, forcing read-write access" }, { "from": "gpt", "value": "pmount --type ntfs --read-write /dev/sdX" } ]
[ { "from": "human", "value": "Display all mounted removable devices" }, { "from": "gpt", "value": "pmount" } ]
[ { "from": "human", "value": "Edit the password file" }, { "from": "gpt", "value": "vipw" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "vipw [-V|--version]" } ]
[ { "from": "human", "value": "Remove a Distrobox container (Tip: Stop the container before removing it)" }, { "from": "gpt", "value": "distrobox-rm container_name" } ]
[ { "from": "human", "value": "Remove a Distrobox container forcefully" }, { "from": "gpt", "value": "distrobox-rm container_name --force" } ]
[ { "from": "human", "value": "Synchronize and update all packages (includes AUR)" }, { "from": "gpt", "value": "pacaur -Syu" } ]
[ { "from": "human", "value": "Synchronize and update only AUR packages" }, { "from": "gpt", "value": "pacaur -Syua" } ]
[ { "from": "human", "value": "Install a new package (includes AUR)" }, { "from": "gpt", "value": "pacaur -S package" } ]
[ { "from": "human", "value": "Remove a package and its dependencies (includes AUR packages)" }, { "from": "gpt", "value": "pacaur -Rs package" } ]
[ { "from": "human", "value": "Search the package database for a keyword (includes AUR)" }, { "from": "gpt", "value": "pacaur -Ss keyword" } ]
[ { "from": "human", "value": "List all currently installed packages (includes AUR packages)" }, { "from": "gpt", "value": "pacaur -Qs" } ]
[ { "from": "human", "value": "Grow the root partition (/) to all available disk space" }, { "from": "gpt", "value": "systemd-repart" } ]
[ { "from": "human", "value": "View changes without applying" }, { "from": "gpt", "value": "systemd-repart --dry-run=yes" } ]
[ { "from": "human", "value": "Grow root partition size to 10 gigabytes" }, { "from": "gpt", "value": "systemd-repart --size=10G --root /" } ]
[ { "from": "human", "value": "Start tracing a specific process by its PID" }, { "from": "gpt", "value": "strace [-p|--attach] pid" } ]
[ { "from": "human", "value": "Trace a process and filter output by system call [e]xpression" }, { "from": "gpt", "value": "strace [-p|--attach] pid -e system_call,system_call2,..." } ]
[ { "from": "human", "value": "Count time, calls, and errors for each system call and report a summary on program exit" }, { "from": "gpt", "value": "strace [-p|--attach] pid [-c|--summary-only]" } ]
[ { "from": "human", "value": "Show the time spent in every system call and specify the maximum string size to print" }, { "from": "gpt", "value": "strace [-p|--attach] pid [-T|--syscall-times] [-s|--string-limit] 32" } ]
[ { "from": "human", "value": "Start tracing a program by executing it" }, { "from": "gpt", "value": "strace program" } ]
[ { "from": "human", "value": "Start tracing file operations of a program" }, { "from": "gpt", "value": "strace -e trace=file program" } ]
[ { "from": "human", "value": "Start tracing network operations of a program as well as all its forked and child processes, saving the output to a file" }, { "from": "gpt", "value": "strace [-f|--follow-forks] -e trace=network [-o|--output] trace.txt program" } ]
[ { "from": "human", "value": "List currently loaded kernel modules" }, { "from": "gpt", "value": "kmod list" } ]
[ { "from": "human", "value": "Display the static device nodes information provided by the modules of the currently running kernel" }, { "from": "gpt", "value": "kmod static-nodes" } ]
[ { "from": "human", "value": "Capture a screenshot and save it to the given path" }, { "from": "gpt", "value": "maim path/to/screenshot.png" } ]
[ { "from": "human", "value": "Capture a screenshot of the selected region" }, { "from": "gpt", "value": "maim --select path/to/screenshot.png" } ]
[ { "from": "human", "value": "Capture a screenshot of the selected region and save it in the clipboard (requires `xclip`)" }, { "from": "gpt", "value": "maim --select | xclip -selection clipboard -target image/png" } ]
[ { "from": "human", "value": "Capture a screenshot of the current active window (requires `xdotool`)" }, { "from": "gpt", "value": "maim --window $(xdotool getactivewindow) path/to/screenshot.png" } ]