conversations
listlengths
2
2
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "lxc-create [-?|--help]" } ]
[ { "from": "human", "value": "Set output column count to a specific value" }, { "from": "gpt", "value": "img2txt --width=10" } ]
[ { "from": "human", "value": "Set output line count to a specific value" }, { "from": "gpt", "value": "img2txt --height=5" } ]
[ { "from": "human", "value": "Set output font width to a specific value" }, { "from": "gpt", "value": "img2txt --font-width=12" } ]
[ { "from": "human", "value": "Set output font height to a specific value" }, { "from": "gpt", "value": "img2txt --font-height=14" } ]
[ { "from": "human", "value": "Set image brightness to a specific value" }, { "from": "gpt", "value": "img2txt --brightness=2" } ]
[ { "from": "human", "value": "Start the IPMI driver for local connections" }, { "from": "gpt", "value": "systemctl start ipmidrv" } ]
[ { "from": "human", "value": "Open IPMI shell on the local hardware " }, { "from": "gpt", "value": "sudo ipmitool shell" } ]
[ { "from": "human", "value": "Open IPMI shell on a remote host" }, { "from": "gpt", "value": "ipmitool -H ip_address -U user_name shell" } ]
[ { "from": "human", "value": "Forward the external TCP port 80 to port 8080 on a local machine" }, { "from": "gpt", "value": "upnpc -a 192.168.0.1 8080 80 tcp" } ]
[ { "from": "human", "value": "Delete any port redirection for external TCP port 80" }, { "from": "gpt", "value": "upnpc -d 80 tcp" } ]
[ { "from": "human", "value": "Get information about UPnP devices on your network" }, { "from": "gpt", "value": "upnpc -s" } ]
[ { "from": "human", "value": "List existing redirections" }, { "from": "gpt", "value": "upnpc -l" } ]
[ { "from": "human", "value": "List non-free and contrib packages (and their description)" }, { "from": "gpt", "value": "vrms" } ]
[ { "from": "human", "value": "Only output the package names" }, { "from": "gpt", "value": "vrms --sparse" } ]
[ { "from": "human", "value": "Check status of currently active interfaces" }, { "from": "gpt", "value": "sudo wg" } ]
[ { "from": "human", "value": "Generate a new private key" }, { "from": "gpt", "value": "wg genkey" } ]
[ { "from": "human", "value": "Generate a public key from a private key" }, { "from": "gpt", "value": "wg pubkey < path/to/private_key > path/to/public_key" } ]
[ { "from": "human", "value": "Generate a public and private key" }, { "from": "gpt", "value": "wg genkey | tee path/to/private_key | wg pubkey > path/to/public_key" } ]
[ { "from": "human", "value": "Show the current configuration of a wireguard interface" }, { "from": "gpt", "value": "sudo wg showconf wg0" } ]
[ { "from": "human", "value": "Send a message" }, { "from": "gpt", "value": "wall message" } ]
[ { "from": "human", "value": "Send a message to users that belong to a specific group" }, { "from": "gpt", "value": "wall [-g|--group] group_name message" } ]
[ { "from": "human", "value": "Send a message from a file" }, { "from": "gpt", "value": "wall file" } ]
[ { "from": "human", "value": "Send a message with timeout (default 300)" }, { "from": "gpt", "value": "wall [-t|--timeout] seconds file" } ]
[ { "from": "human", "value": "Save the current screen layout" }, { "from": "gpt", "value": "autorandr --save profile_name" } ]
[ { "from": "human", "value": "Show the saved profiles" }, { "from": "gpt", "value": "autorandr" } ]
[ { "from": "human", "value": "Load the first detected profile" }, { "from": "gpt", "value": "autorandr --change" } ]
[ { "from": "human", "value": "Load a specific profile" }, { "from": "gpt", "value": "autorandr --load profile_name" } ]
[ { "from": "human", "value": "Set the default profile" }, { "from": "gpt", "value": "autorandr --default profile_name" } ]
[ { "from": "human", "value": "Start a buffer for temporary notes, which won't be saved" }, { "from": "gpt", "value": "zile" } ]
[ { "from": "human", "value": "Open a file" }, { "from": "gpt", "value": "zile path/to/file" } ]
[ { "from": "human", "value": "Save a file" }, { "from": "gpt", "value": "<Ctrl x><Ctrl s>" } ]
[ { "from": "human", "value": "Quit" }, { "from": "gpt", "value": "<Ctrl x><Ctrl c>" } ]
[ { "from": "human", "value": "Open a file at a specified line number" }, { "from": "gpt", "value": "zile +line_number path/to/file" } ]
[ { "from": "human", "value": "Undo changes" }, { "from": "gpt", "value": "<Ctrl x><u>" } ]
[ { "from": "human", "value": "Display information about volume groups" }, { "from": "gpt", "value": "vgs" } ]
[ { "from": "human", "value": "Display all volume groups" }, { "from": "gpt", "value": "vgs -a" } ]
[ { "from": "human", "value": "Change default display to show more details" }, { "from": "gpt", "value": "vgs -v" } ]
[ { "from": "human", "value": "Display only specific fields" }, { "from": "gpt", "value": "vgs -o field_name_1,field_name_2" } ]
[ { "from": "human", "value": "Append field to default display" }, { "from": "gpt", "value": "vgs -o +field_name" } ]
[ { "from": "human", "value": "Suppress heading line" }, { "from": "gpt", "value": "vgs --noheadings" } ]
[ { "from": "human", "value": "Use separator to separate fields" }, { "from": "gpt", "value": "vgs --separator =" } ]
[ { "from": "human", "value": "Clear all previous `slurmctld` states from its last checkpoint" }, { "from": "gpt", "value": "slurmctld -c" } ]
[ { "from": "human", "value": "Set the daemon's nice value to the specified value, typically a negative number" }, { "from": "gpt", "value": "slurmctld -n value" } ]
[ { "from": "human", "value": "Write log messages to the specified file" }, { "from": "gpt", "value": "slurmctld -L path/to/output_file" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "slurmctld -h" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "slurmctld -V" } ]
[ { "from": "human", "value": "Delay in seconds" }, { "from": "gpt", "value": "sleep seconds" } ]
[ { "from": "human", "value": "Delay in [m]inutes. (Other units [d]ay, [h]our, [s]econd, [inf]inity can also be used)" }, { "from": "gpt", "value": "sleep minutesm" } ]
[ { "from": "human", "value": "Delay for 1 [d]ay 3 [h]ours" }, { "from": "gpt", "value": "sleep 1d 3h" } ]
[ { "from": "human", "value": "Execute a specific command after 20 [m]inutes delay" }, { "from": "gpt", "value": "sleep 20m && command" } ]
[ { "from": "human", "value": "Generate a new random identifier" }, { "from": "gpt", "value": "systemd-id128 new" } ]
[ { "from": "human", "value": "Print the identifier of the current machine" }, { "from": "gpt", "value": "systemd-id128 machine-id" } ]
[ { "from": "human", "value": "Print the identifier of the current boot" }, { "from": "gpt", "value": "systemd-id128 boot-id" } ]
[ { "from": "human", "value": "Print the identifier of the current service invocation (this is available in systemd services)" }, { "from": "gpt", "value": "systemd-id128 invocation-id" } ]
[ { "from": "human", "value": "Generate a new random identifier and print it as a UUID (five groups of digits separated by hyphens)" }, { "from": "gpt", "value": "systemd-id128 new --uuid" } ]
[ { "from": "human", "value": "Install the `base` package, Linux kernel and firmware for common hardware" }, { "from": "gpt", "value": "pacstrap path/to/new/root base linux linux-firmware" } ]
[ { "from": "human", "value": "Install the `base` package, Linux LTS kernel and `base-devel` build tools" }, { "from": "gpt", "value": "pacstrap path/to/new/root base base-devel linux-lts" } ]
[ { "from": "human", "value": "Install packages without copy the host's mirrorlist to the target" }, { "from": "gpt", "value": "pacstrap -M path/to/new/root packages" } ]
[ { "from": "human", "value": "Use an alternate configuration file for Pacman" }, { "from": "gpt", "value": "pacstrap -C path/to/pacman.conf path/to/new/root packages" } ]
[ { "from": "human", "value": "Install packages using the package cache on the host instead of on the target" }, { "from": "gpt", "value": "pacstrap -c path/to/new/root packages" } ]
[ { "from": "human", "value": "Initialize an empty `pacman` keyring in the target without copying it from the host" }, { "from": "gpt", "value": "pacstrap -K path/to/new/root packages" } ]
[ { "from": "human", "value": "Install packages in interactive mode (prompts for confirmation)" }, { "from": "gpt", "value": "pacstrap -i path/to/new/root packages" } ]
[ { "from": "human", "value": "Install packages using package files" }, { "from": "gpt", "value": "pacstrap -U path/to/new/root path/to/package1 path/to/package2" } ]
[ { "from": "human", "value": "Clone a package repository (requires setting an SSH key in your Arch Linux GitLab account)" }, { "from": "gpt", "value": "pkgctl repo clone pkgname" } ]
[ { "from": "human", "value": "Clone a package repository over HTTPS" }, { "from": "gpt", "value": "pkgctl repo clone --protocol https pkgname" } ]
[ { "from": "human", "value": "Create a new GitLab package repository and clone it after creation (requires valid GitLab API authentication)" }, { "from": "gpt", "value": "pkgctl repo create pkgbase" } ]
[ { "from": "human", "value": "Switch a package repository to a specified version" }, { "from": "gpt", "value": "pkgctl repo switch version pkgbase" } ]
[ { "from": "human", "value": "Open a package repository's website" }, { "from": "gpt", "value": "pkgctl repo web pkgbase" } ]
[ { "from": "human", "value": "Create a home directory for a user based on `/etc/skel` with umask 022" }, { "from": "gpt", "value": "sudo mkhomedir_helper username" } ]
[ { "from": "human", "value": "Create a home directory for a user based on `/etc/skel` with all permissions for owner (0) and read permission for group (3)" }, { "from": "gpt", "value": "sudo mkhomedir_helper username 037" } ]
[ { "from": "human", "value": "Create a home directory for a user based on a custom skeleton" }, { "from": "gpt", "value": "sudo mkhomedir_helper username umask path/to/skeleton_directory" } ]
[ { "from": "human", "value": "Start the Logical Volume Manager interactive shell" }, { "from": "gpt", "value": "sudo lvm" } ]
[ { "from": "human", "value": "Initialize a drive or partition to be used as a physical volume" }, { "from": "gpt", "value": "sudo lvm pvcreate /dev/sdXY" } ]
[ { "from": "human", "value": "Display information about physical volumes" }, { "from": "gpt", "value": "sudo lvm pvdisplay" } ]
[ { "from": "human", "value": "Create a volume group called vg1 from the physical volume on `/dev/sdXY`" }, { "from": "gpt", "value": "sudo lvm vgcreate vg1 /dev/sdXY" } ]
[ { "from": "human", "value": "Display information about volume groups" }, { "from": "gpt", "value": "sudo lvm vgdisplay" } ]
[ { "from": "human", "value": "Create a logical volume with size 10G from volume group vg1" }, { "from": "gpt", "value": "sudo lvm lvcreate -L 10G vg1" } ]
[ { "from": "human", "value": "Display information about logical volumes" }, { "from": "gpt", "value": "sudo lvm lvdisplay" } ]
[ { "from": "human", "value": "Display help for a specific command" }, { "from": "gpt", "value": "lvm help command" } ]
[ { "from": "human", "value": "List DNF groups, showing installed and uninstalled status in a table" }, { "from": "gpt", "value": "dnf group list" } ]
[ { "from": "human", "value": "Show DNF group info, including repository and optional packages" }, { "from": "gpt", "value": "dnf group info group_name" } ]
[ { "from": "human", "value": "Install DNF group" }, { "from": "gpt", "value": "dnf group install group_name" } ]
[ { "from": "human", "value": "Remove DNF group" }, { "from": "gpt", "value": "dnf group remove group_name" } ]
[ { "from": "human", "value": "Upgrade DNF group" }, { "from": "gpt", "value": "dnf group upgrade group_name" } ]
[ { "from": "human", "value": "Generate a random UUID" }, { "from": "gpt", "value": "uuidd --random" } ]
[ { "from": "human", "value": "Generate a bulk number of random UUIDs" }, { "from": "gpt", "value": "uuidd --random --uuids number_of_uuids" } ]
[ { "from": "human", "value": "Generate a time-based UUID, based on the current time and MAC address of the system" }, { "from": "gpt", "value": "uuidd --time" } ]
[ { "from": "human", "value": "Update the list of available packages and versions (it's recommended to run this before other `apt-get` commands)" }, { "from": "gpt", "value": "apt-get update" } ]
[ { "from": "human", "value": "Install a package, or update it to the latest available version" }, { "from": "gpt", "value": "apt-get install package" } ]
[ { "from": "human", "value": "Remove a package" }, { "from": "gpt", "value": "apt-get remove package" } ]
[ { "from": "human", "value": "Remove a package and its configuration files" }, { "from": "gpt", "value": "apt-get purge package" } ]
[ { "from": "human", "value": "Upgrade all installed packages to their newest available versions" }, { "from": "gpt", "value": "apt-get upgrade" } ]
[ { "from": "human", "value": "Clean the local repository - removing package files (`.deb`) from interrupted downloads that can no longer be downloaded" }, { "from": "gpt", "value": "apt-get autoclean" } ]
[ { "from": "human", "value": "Remove all packages that are no longer needed" }, { "from": "gpt", "value": "apt-get autoremove" } ]
[ { "from": "human", "value": "Upgrade installed packages (like `upgrade`), but remove obsolete packages and install additional packages to meet new dependencies" }, { "from": "gpt", "value": "apt-get dist-upgrade" } ]
[ { "from": "human", "value": "Clone the package state of the current system into a specified directory" }, { "from": "gpt", "value": "apt-clone clone path/to/directory" } ]
[ { "from": "human", "value": "Create a clone file (`tar.gz`) for backup purposes" }, { "from": "gpt", "value": "apt-clone clone --destination path/to/backup.tar.gz" } ]
[ { "from": "human", "value": "Restore the package state from a clone file" }, { "from": "gpt", "value": "apt-clone restore path/to/backup.tar.gz" } ]
[ { "from": "human", "value": "Show information about a clone file (e.g., the release, architecture)" }, { "from": "gpt", "value": "apt-clone info path/to/backup.tar.gz" } ]