conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Remove all `toolbox` images"
},
{
"from": "gpt",
"value": "toolbox rmi --all"
}
] |
[
{
"from": "human",
"value": "Force the removal of a `toolbox` image which is currently being used by a container (the container will be removed as well)"
},
{
"from": "gpt",
"value": "toolbox rmi --force image_name"
}
] |
[
{
"from": "human",
"value": "Compare files"
},
{
"from": "gpt",
"value": "diff3 path/to/file1 path/to/file2 path/to/file3"
}
] |
[
{
"from": "human",
"value": "Show all changes, outlining conflicts"
},
{
"from": "gpt",
"value": "diff3 [-A|--show-all] path/to/file1 path/to/file2 path/to/file3"
}
] |
[
{
"from": "human",
"value": "Get the hostname of the computer"
},
{
"from": "gpt",
"value": "hostnamectl"
}
] |
[
{
"from": "human",
"value": "Set the hostname of the computer"
},
{
"from": "gpt",
"value": "sudo hostnamectl set-hostname \"hostname\""
}
] |
[
{
"from": "human",
"value": "Set a pretty hostname for the computer"
},
{
"from": "gpt",
"value": "sudo hostnamectl set-hostname --static \"hostname.example.com\" && sudo hostnamectl set-hostname --pretty \"hostname\""
}
] |
[
{
"from": "human",
"value": "Reset hostname to its default value"
},
{
"from": "gpt",
"value": "sudo hostnamectl set-hostname --pretty \"\""
}
] |
[
{
"from": "human",
"value": "Display job ID, job name, partition, account, number of allocated cpus, job state, and job exit codes for recent jobs"
},
{
"from": "gpt",
"value": "sacct"
}
] |
[
{
"from": "human",
"value": "Display job ID, job state, job exit code for recent jobs"
},
{
"from": "gpt",
"value": "sacct --brief"
}
] |
[
{
"from": "human",
"value": "Display the allocations of a job"
},
{
"from": "gpt",
"value": "sacct --jobs job_id --allocations"
}
] |
[
{
"from": "human",
"value": "Display elapsed time, job name, number of requested CPUs, and memory requested of a job"
},
{
"from": "gpt",
"value": "sacct --jobs job_id --format=Elapsed,JobName,ReqCPUS,ReqMem"
}
] |
[
{
"from": "human",
"value": "Display recent jobs that occurred from one week ago up to the present day"
},
{
"from": "gpt",
"value": "sacct --starttime=$(date -d \"1 week ago\" +'%F')"
}
] |
[
{
"from": "human",
"value": "Output a larger number of characters for an attribute"
},
{
"from": "gpt",
"value": "sacct --format=JobID,JobName%100"
}
] |
[
{
"from": "human",
"value": "Update the list of available packages and versions"
},
{
"from": "gpt",
"value": "wajig update"
}
] |
[
{
"from": "human",
"value": "Install a package, or update it to the latest available version"
},
{
"from": "gpt",
"value": "wajig install package"
}
] |
[
{
"from": "human",
"value": "Remove a package and its configuration files"
},
{
"from": "gpt",
"value": "wajig purge package"
}
] |
[
{
"from": "human",
"value": "Perform an update and then a dist-upgrade"
},
{
"from": "gpt",
"value": "wajig daily-upgrade"
}
] |
[
{
"from": "human",
"value": "Display the sizes of installed packages"
},
{
"from": "gpt",
"value": "wajig sizes"
}
] |
[
{
"from": "human",
"value": "List the version and distribution for all installed packages"
},
{
"from": "gpt",
"value": "wajig versions"
}
] |
[
{
"from": "human",
"value": "List versions of upgradable packages"
},
{
"from": "gpt",
"value": "wajig toupgrade"
}
] |
[
{
"from": "human",
"value": "Display packages which have some form of dependency on the given package"
},
{
"from": "gpt",
"value": "wajig dependents package"
}
] |
[
{
"from": "human",
"value": "Add kernel and initramfs images to bootloader partition"
},
{
"from": "gpt",
"value": "sudo kernel-install add kernel-version kernel-image path/to/initrd-file ..."
}
] |
[
{
"from": "human",
"value": "Remove kernel from the bootloader partition"
},
{
"from": "gpt",
"value": "sudo kernel-install remove kernel-version"
}
] |
[
{
"from": "human",
"value": "Show various paths and parameters that have been configured or auto-detected"
},
{
"from": "gpt",
"value": "sudo kernel-install inspect kernel-image"
}
] |
[
{
"from": "human",
"value": "Visit a website in graphics mode"
},
{
"from": "gpt",
"value": "links2 -g https://example.com"
}
] |
[
{
"from": "human",
"value": "Authenticate `pkgctl` with the GitLab instance"
},
{
"from": "gpt",
"value": "pkgctl auth login"
}
] |
[
{
"from": "human",
"value": "View authentication status"
},
{
"from": "gpt",
"value": "pkgctl auth status"
}
] |
[
{
"from": "human",
"value": "Show all mounted filesystems"
},
{
"from": "gpt",
"value": "mount"
}
] |
[
{
"from": "human",
"value": "Mount a device to a directory"
},
{
"from": "gpt",
"value": "mount [-t|--types] filesystem_type path/to/device_file path/to/target_directory"
}
] |
[
{
"from": "human",
"value": "Create a specific directory if it does not exist and mount a device to it"
},
{
"from": "gpt",
"value": "mount [-m|--mkdir] path/to/device_file path/to/target_directory"
}
] |
[
{
"from": "human",
"value": "Mount a device to a directory for a specific user"
},
{
"from": "gpt",
"value": "mount [-o|--options] uid=user_id,gid=group_id path/to/device_file path/to/target_directory"
}
] |
[
{
"from": "human",
"value": "Mount a CD-ROM device (with the filetype ISO9660) to `/cdrom` (readonly)"
},
{
"from": "gpt",
"value": "mount [-t|--types] iso9660 [-o|--options] ro /dev/cdrom /cdrom"
}
] |
[
{
"from": "human",
"value": "Mount all the filesystem defined in `/etc/fstab`"
},
{
"from": "gpt",
"value": "mount [-a|--all]"
}
] |
[
{
"from": "human",
"value": "Mount a specific filesystem described in `/etc/fstab` (e.g. `/dev/sda1 /my_drive ext2 defaults 0 2`)"
},
{
"from": "gpt",
"value": "mount /my_drive"
}
] |
[
{
"from": "human",
"value": "Mount a directory to another directory"
},
{
"from": "gpt",
"value": "mount [-B|--bind] path/to/old_dir path/to/new_dir"
}
] |
[
{
"from": "human",
"value": "Run an installed application"
},
{
"from": "gpt",
"value": "flatpak run com.example.app"
}
] |
[
{
"from": "human",
"value": "Run an installed application from a specific branch e.g. stable, beta, master"
},
{
"from": "gpt",
"value": "flatpak run --branch=stable|beta|master|... com.example.app"
}
] |
[
{
"from": "human",
"value": "Run an interactive shell inside a flatpak"
},
{
"from": "gpt",
"value": "flatpak run --command=sh com.example.app"
}
] |
[
{
"from": "human",
"value": "Run an installed application with a specific runtime version"
},
{
"from": "gpt",
"value": "flatpak run --runtime-version=24.08|master|stable|... com.example.app"
}
] |
[
{
"from": "human",
"value": "Run an installed application with a different runtime (but same version number)"
},
{
"from": "gpt",
"value": "flatpak run --runtime=org.freedesktop.Sdk com.example.app"
}
] |
[
{
"from": "human",
"value": "Fix a given NTFS partition"
},
{
"from": "gpt",
"value": "sudo ntfsfix /dev/sdXN"
}
] |
[
{
"from": "human",
"value": "Build a Linux ext2 filesystem on a partition"
},
{
"from": "gpt",
"value": "mkfs path/to/partition"
}
] |
[
{
"from": "human",
"value": "Build a filesystem of a specified type"
},
{
"from": "gpt",
"value": "mkfs [-t|--type] ext4 path/to/partition"
}
] |
[
{
"from": "human",
"value": "Build a filesystem of a specified type and check for bad blocks"
},
{
"from": "gpt",
"value": "mkfs -c [-t|--type] ntfs path/to/partition"
}
] |
[
{
"from": "human",
"value": "Suspend PulseAudio while running `jackd`"
},
{
"from": "gpt",
"value": "pasuspender -- jackd -d alsa --device hw:0"
}
] |
[
{
"from": "human",
"value": "Parse the specified UUIDs, use a tabular output format"
},
{
"from": "gpt",
"value": "uuidparse uuid1 uuid2 ..."
}
] |
[
{
"from": "human",
"value": "Parse UUIDs from `stdin`"
},
{
"from": "gpt",
"value": "command | uuidparse"
}
] |
[
{
"from": "human",
"value": "Use the JSON output format"
},
{
"from": "gpt",
"value": "uuidparse [-J|--json] uuid1 uuid2 ..."
}
] |
[
{
"from": "human",
"value": "Do not print a header line"
},
{
"from": "gpt",
"value": "uuidparse [-n|--noheadings] uuid1 uuid2 ..."
}
] |
[
{
"from": "human",
"value": "Use the raw output format"
},
{
"from": "gpt",
"value": "uuidparse [-r|--raw] uuid1 uuid2 ..."
}
] |
[
{
"from": "human",
"value": "Specify which of the four output columns to print"
},
{
"from": "gpt",
"value": "uuidparse [-o|--output] UUID,VARIANT,TYPE,TIME"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "uuidparse [-h|--help]"
}
] |
[
{
"from": "human",
"value": "Report stats for all quotas in use"
},
{
"from": "gpt",
"value": "sudo repquota -all"
}
] |
[
{
"from": "human",
"value": "Report quota stats for all users, even those who aren't using any of their quota"
},
{
"from": "gpt",
"value": "sudo repquota -v filesystem"
}
] |
[
{
"from": "human",
"value": "Report on quotas for users only"
},
{
"from": "gpt",
"value": "repquota --user filesystem"
}
] |
[
{
"from": "human",
"value": "Report on quotas for groups only"
},
{
"from": "gpt",
"value": "sudo repquota --group filesystem"
}
] |
[
{
"from": "human",
"value": "Report on used quota and limits in a human-readable format"
},
{
"from": "gpt",
"value": "sudo repquota --human-readable filesystem"
}
] |
[
{
"from": "human",
"value": "Report on all quotas for users and groups in a human-readable format"
},
{
"from": "gpt",
"value": "sudo repquota -augs"
}
] |
[
{
"from": "human",
"value": "Format a USB then create a bootable Windows installation drive"
},
{
"from": "gpt",
"value": "woeusb --device path/to/windows.iso /dev/sdX"
}
] |
[
{
"from": "human",
"value": "Copy Windows files to an existing partition of a USB storage device and make it bootable, without erasing the current data"
},
{
"from": "gpt",
"value": "woeusb --partition path/to/windows.iso /dev/sdXN"
}
] |
[
{
"from": "human",
"value": "Select a region and print it to `stdout`"
},
{
"from": "gpt",
"value": "slurp"
}
] |
[
{
"from": "human",
"value": "Select a region and print it to `stdout`, while displaying the dimensions of the selection"
},
{
"from": "gpt",
"value": "slurp -d"
}
] |
[
{
"from": "human",
"value": "Select a single point instead of a region"
},
{
"from": "gpt",
"value": "slurp -p"
}
] |
[
{
"from": "human",
"value": "Select an output and print its name"
},
{
"from": "gpt",
"value": "slurp -o -f '%o'"
}
] |
[
{
"from": "human",
"value": "Select a specific region and take a borderless screenshot of it, using `grim`"
},
{
"from": "gpt",
"value": "grim -g \"$(slurp -w 0)\""
}
] |
[
{
"from": "human",
"value": "Select a specific region and take a borderless video of it, using `wf-recorder`"
},
{
"from": "gpt",
"value": "wf-recorder --geometry \"$(slurp -w 0)\""
}
] |
[
{
"from": "human",
"value": "View documentation for the correct command"
},
{
"from": "gpt",
"value": "tldr umount"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr setarch"
}
] |
[
{
"from": "human",
"value": "Lock the screen"
},
{
"from": "gpt",
"value": "betterlockscreen --lock"
}
] |
[
{
"from": "human",
"value": "Change the lock screen background"
},
{
"from": "gpt",
"value": "betterlockscreen -u path/to/image.png"
}
] |
[
{
"from": "human",
"value": "Lock the screen, showing some custom text"
},
{
"from": "gpt",
"value": "betterlockscreen -l pixel -t \"custom lock screen text\""
}
] |
[
{
"from": "human",
"value": "Lock the screen, with a custom monitor off timeout in seconds"
},
{
"from": "gpt",
"value": "betterlockscreen --off 5 -l"
}
] |
[
{
"from": "human",
"value": "Enroll a new password (similar to `cryptsetup luksAddKey`)"
},
{
"from": "gpt",
"value": "systemd-cryptenroll --password path/to/luks2_block_device"
}
] |
[
{
"from": "human",
"value": "Enroll a new recovery key (i.e. a randomly generated passphrase that can be used as a fallback)"
},
{
"from": "gpt",
"value": "systemd-cryptenroll --recovery-key path/to/luks2_block_device"
}
] |
[
{
"from": "human",
"value": "List available tokens, or enroll a new PKCS#11 token"
},
{
"from": "gpt",
"value": "systemd-cryptenroll --pkcs11-token-uri list|auto|pkcs11_token_uri path/to/luks2_block_device"
}
] |
[
{
"from": "human",
"value": "List available FIDO2 devices, or enroll a new FIDO2 device (`auto` can be used as the device name when there is only one token plugged in)"
},
{
"from": "gpt",
"value": "systemd-cryptenroll --fido2-device list|auto|path/to/fido2_hidraw_device path/to/luks2_block_devi... |
[
{
"from": "human",
"value": "Enroll a new FIDO2 device with user verification (biometrics)"
},
{
"from": "gpt",
"value": "systemd-cryptenroll --fido2-device auto|path/to/fido2_hidraw_device --fido2-with-user-verification yes path/to/luks2_block_device"
}
] |
[
{
"from": "human",
"value": "Unlock using a FIDO2 device, and enroll a new FIDO2 device"
},
{
"from": "gpt",
"value": "systemd-cryptenroll --unlock-fido2-device path/to/fido2_hidraw_unlock_device --fido2-device path/to/fido2_hidraw_enroll_device path/to/luks2_block_device"
}
] |
[
{
"from": "human",
"value": "Enroll a TPM2 security chip (only secure-boot-policy PCR) and require an additional alphanumeric PIN"
},
{
"from": "gpt",
"value": "systemd-cryptenroll --tpm2-device auto|path/to/tpm2_block_device --tpm2-with-pin yes path/to/luks2_block_device"
}
] |
[
{
"from": "human",
"value": "Remove all empty passwords/all passwords/all FIDO2 devices/all PKCS#11 tokens/all TPM2 security chips/all recovery keys/all methods"
},
{
"from": "gpt",
"value": "systemd-cryptenroll --wipe-slot empty|password|fido2|pkcs#11|tpm2|recovery|all path/to/luks2_block_devic... |
[
{
"from": "human",
"value": "Register a new trigger. Execute the specified program when the specified event occurs"
},
{
"from": "gpt",
"value": "strigger --set --primary_database_failure|primary_slurmdbd_failure|primary_slurmctld_acct_buffer_full|primary_slurmctld_failure|... --program=path/to/... |
[
{
"from": "human",
"value": "Execute the specified program when the specified job terminated"
},
{
"from": "gpt",
"value": "strigger --set --jobid=job_id --fini --program=\"path/to/executable argument1 argument2 ...\""
}
] |
[
{
"from": "human",
"value": "View active triggers"
},
{
"from": "gpt",
"value": "strigger --get"
}
] |
[
{
"from": "human",
"value": "View active triggers regarding the specified job"
},
{
"from": "gpt",
"value": "strigger --get --jobid=job_id"
}
] |
[
{
"from": "human",
"value": "Clear the specified trigger"
},
{
"from": "gpt",
"value": "strigger --clear trigger_id"
}
] |
[
{
"from": "human",
"value": "Open a page"
},
{
"from": "gpt",
"value": "cockpit-desktop url SSH_host"
}
] |
[
{
"from": "human",
"value": "Open storage page"
},
{
"from": "gpt",
"value": "cockpit-desktop /cockpit/@localhost/storage/index.html"
}
] |
[
{
"from": "human",
"value": "Generate an SSH key of [t]ype ed25519 and write it to key [f]ile"
},
{
"from": "gpt",
"value": "dropbearkey -t ed25519 -f path/to/key_file"
}
] |
[
{
"from": "human",
"value": "Generate an SSH key of [t]ype ecdsa and write it to key [f]ile"
},
{
"from": "gpt",
"value": "dropbearkey -t ecdsa -f path/to/key_file"
}
] |
[
{
"from": "human",
"value": "Generate an SSH key of [t]ype RSA with 4096-bit key [s]ize and write it to key [f]ile"
},
{
"from": "gpt",
"value": "dropbearkey -t rsa -s 4096 -f path/to/key_file"
}
] |
[
{
"from": "human",
"value": "Print the private key fingerprint and public key in key [f]ile"
},
{
"from": "gpt",
"value": "dropbearkey -y -f path/to/key_file"
}
] |
[
{
"from": "human",
"value": "List all cockpit packages"
},
{
"from": "gpt",
"value": "cockpit-bridge --packages"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "cockpit-bridge --help"
}
] |
[
{
"from": "human",
"value": "Move a running process to your current terminal"
},
{
"from": "gpt",
"value": "reptyr pid"
}
] |
[
{
"from": "human",
"value": "Install a new crontab from the specified file"
},
{
"from": "gpt",
"value": "scrontab path/to/file"
}
] |
[
{
"from": "human",
"value": "[e]dit the crontab of the current user"
},
{
"from": "gpt",
"value": "scrontab -e"
}
] |
[
{
"from": "human",
"value": "[e]dit the crontab of the specified user"
},
{
"from": "gpt",
"value": "scrontab --user=user_id -e"
}
] |
[
{
"from": "human",
"value": "[r]emove the current crontab"
},
{
"from": "gpt",
"value": "scrontab -r"
}
] |
[
{
"from": "human",
"value": "Print the crontab of the current user to `stdout`"
},
{
"from": "gpt",
"value": "scrontab -l"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.