conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Set up a given swap area"
},
{
"from": "gpt",
"value": "sudo mkswap path/to/file"
}
] |
[
{
"from": "human",
"value": "Check a partition for bad blocks before creating the swap area"
},
{
"from": "gpt",
"value": "sudo mkswap [-c|--check] path/to/file"
}
] |
[
{
"from": "human",
"value": "Specify a label for the partition (to allow `swapon` to use the label)"
},
{
"from": "gpt",
"value": "sudo mkswap [-L|--label] label /dev/sda1"
}
] |
[
{
"from": "human",
"value": "Add (and enable) a repository from a URL"
},
{
"from": "gpt",
"value": "dnf config-manager --add-repo=repository_url"
}
] |
[
{
"from": "human",
"value": "Print current configuration values"
},
{
"from": "gpt",
"value": "dnf config-manager --dump"
}
] |
[
{
"from": "human",
"value": "Enable a specific repository"
},
{
"from": "gpt",
"value": "dnf config-manager --set-enabled repository_id"
}
] |
[
{
"from": "human",
"value": "Disable specified repositories"
},
{
"from": "gpt",
"value": "dnf config-manager --set-disabled repository_id1 repository_id2 ..."
}
] |
[
{
"from": "human",
"value": "Set a configuration option for a repository"
},
{
"from": "gpt",
"value": "dnf config-manager --setopt=option=value"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "dnf config-manager --help-cmd"
}
] |
[
{
"from": "human",
"value": "View documentation for `trash-empty`"
},
{
"from": "gpt",
"value": "tldr trash"
}
] |
[
{
"from": "human",
"value": "Show ASCII aliases of a character"
},
{
"from": "gpt",
"value": "ascii a"
}
] |
[
{
"from": "human",
"value": "Show ASCII aliases in short, script-friendly mode"
},
{
"from": "gpt",
"value": "ascii -t a"
}
] |
[
{
"from": "human",
"value": "Show ASCII aliases of multiple characters"
},
{
"from": "gpt",
"value": "ascii -s tldr"
}
] |
[
{
"from": "human",
"value": "Show ASCII table in decimal"
},
{
"from": "gpt",
"value": "ascii -d"
}
] |
[
{
"from": "human",
"value": "Show ASCII table in hexadecimal"
},
{
"from": "gpt",
"value": "ascii -x"
}
] |
[
{
"from": "human",
"value": "Show ASCII table in octal"
},
{
"from": "gpt",
"value": "ascii -o"
}
] |
[
{
"from": "human",
"value": "Show ASCII table in binary"
},
{
"from": "gpt",
"value": "ascii -b"
}
] |
[
{
"from": "human",
"value": "Show options summary and complete ASCII table"
},
{
"from": "gpt",
"value": "ascii"
}
] |
[
{
"from": "human",
"value": "Print a report for all devices"
},
{
"from": "gpt",
"value": "sudo blockdev --report"
}
] |
[
{
"from": "human",
"value": "Print a report for a specific device"
},
{
"from": "gpt",
"value": "sudo blockdev --report /dev/sdXY"
}
] |
[
{
"from": "human",
"value": "Get the size of a device in 512-byte sectors"
},
{
"from": "gpt",
"value": "sudo blockdev --getsz /dev/sdXY"
}
] |
[
{
"from": "human",
"value": "Set read-only"
},
{
"from": "gpt",
"value": "sudo blockdev --setro /dev/sdXY"
}
] |
[
{
"from": "human",
"value": "Set read-write"
},
{
"from": "gpt",
"value": "sudo blockdev --setrw /dev/sdXY"
}
] |
[
{
"from": "human",
"value": "Flush buffers"
},
{
"from": "gpt",
"value": "sudo blockdev --flushbufs /dev/sdXY"
}
] |
[
{
"from": "human",
"value": "Get the physical block size"
},
{
"from": "gpt",
"value": "sudo blockdev --getpbsz /dev/sdXY"
}
] |
[
{
"from": "human",
"value": "Set the read-ahead value to 128 sectors"
},
{
"from": "gpt",
"value": "sudo blockdev --setra 128 /dev/sdXY"
}
] |
[
{
"from": "human",
"value": "Display the neighbour/ARP table entries"
},
{
"from": "gpt",
"value": "ip [n|neighbour]"
}
] |
[
{
"from": "human",
"value": "Remove entries in the neighbour table on device `eth0`"
},
{
"from": "gpt",
"value": "sudo ip [n|neighbour] [f|flush] dev eth0"
}
] |
[
{
"from": "human",
"value": "Perform a neighbour lookup and return a neighbour entry"
},
{
"from": "gpt",
"value": "ip [n|neighbour] [g|get] lookup_ip dev eth0"
}
] |
[
{
"from": "human",
"value": "Add or delete an ARP entry for the neighbour IP address to `eth0`"
},
{
"from": "gpt",
"value": "sudo ip [n|neighbour] add|delete ip_address lladdr mac_address dev eth0 nud reachable"
}
] |
[
{
"from": "human",
"value": "Change or replace an ARP entry for the neighbour IP address to `eth0`"
},
{
"from": "gpt",
"value": "sudo ip [n|neighbour] change|replace ip_address lladdr new_mac_address dev eth0"
}
] |
[
{
"from": "human",
"value": "Start the partition manipulator with a specific device"
},
{
"from": "gpt",
"value": "cfdisk /dev/sdX"
}
] |
[
{
"from": "human",
"value": "Create a new partition table for a specific device and manage it"
},
{
"from": "gpt",
"value": "cfdisk [-z|--zero] /dev/sdX"
}
] |
[
{
"from": "human",
"value": "Connect to a remote host"
},
{
"from": "gpt",
"value": "dbclient user@host"
}
] |
[
{
"from": "human",
"value": "Connect to a remote host on [p]ort 2222"
},
{
"from": "gpt",
"value": "dbclient user@host -p 2222"
}
] |
[
{
"from": "human",
"value": "Connect to a remote host using a specific [i]dentity key in dropbear format"
},
{
"from": "gpt",
"value": "dbclient -i path/to/key_file user@host"
}
] |
[
{
"from": "human",
"value": "Run a command on the remote host with a [t]ty allocation allowing interaction with the remote command"
},
{
"from": "gpt",
"value": "dbclient user@host -t command argument1 argument2 ..."
}
] |
[
{
"from": "human",
"value": "Connect and forward [A]gent connections to remote host"
},
{
"from": "gpt",
"value": "dbclient -A user@host"
}
] |
[
{
"from": "human",
"value": "Turn up the master volume by 10%"
},
{
"from": "gpt",
"value": "amixer -D pulse sset Master 10%+"
}
] |
[
{
"from": "human",
"value": "Turn down the master volume by 10%"
},
{
"from": "gpt",
"value": "amixer -D pulse sset Master 10%-"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr chromium"
}
] |
[
{
"from": "human",
"value": "Check the current kernel for LXC support"
},
{
"from": "gpt",
"value": "lxc-checkconfig"
}
] |
[
{
"from": "human",
"value": "Check any kernel for LXC support"
},
{
"from": "gpt",
"value": "CONFIG=/path/to/configuration lxc-checkconfig"
}
] |
[
{
"from": "human",
"value": "List login failures of the current user"
},
{
"from": "gpt",
"value": "faillock"
}
] |
[
{
"from": "human",
"value": "Reset the failure records of the current user"
},
{
"from": "gpt",
"value": "faillock --reset"
}
] |
[
{
"from": "human",
"value": "List login failures of all users"
},
{
"from": "gpt",
"value": "sudo faillock"
}
] |
[
{
"from": "human",
"value": "List login failures of the specified user"
},
{
"from": "gpt",
"value": "sudo faillock --user user"
}
] |
[
{
"from": "human",
"value": "Reset the failure records of the specified user"
},
{
"from": "gpt",
"value": "sudo faillock --user user --reset"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr mount.cifs"
}
] |
[
{
"from": "human",
"value": "Show the greeter while keeping current desktop session open and waiting to be restored upon authentication by logged in user"
},
{
"from": "gpt",
"value": "dm-tool switch-to-greeter"
}
] |
[
{
"from": "human",
"value": "Lock the current session"
},
{
"from": "gpt",
"value": "dm-tool lock"
}
] |
[
{
"from": "human",
"value": "Switch to a specific user, showing an authentication prompt if required"
},
{
"from": "gpt",
"value": "dm-tool switch-to-user username session"
}
] |
[
{
"from": "human",
"value": "Add a dynamic seat from within a running LightDM session"
},
{
"from": "gpt",
"value": "dm-tool add-seat xlocal name=value"
}
] |
[
{
"from": "human",
"value": "Interactively create a new package manager configuration"
},
{
"from": "gpt",
"value": "apx pkgmanagers create"
}
] |
[
{
"from": "human",
"value": "List all available package manager confirgurations"
},
{
"from": "gpt",
"value": "apx pkgmanagers list"
}
] |
[
{
"from": "human",
"value": "Remove a package manager configuration"
},
{
"from": "gpt",
"value": "apx pkgmanagers rm --name string"
}
] |
[
{
"from": "human",
"value": "Display information about a specific package manager"
},
{
"from": "gpt",
"value": "apx pkgmanagers show name"
}
] |
[
{
"from": "human",
"value": "Show a service's status"
},
{
"from": "gpt",
"value": "rc-service service_name status"
}
] |
[
{
"from": "human",
"value": "Start a service"
},
{
"from": "gpt",
"value": "sudo rc-service service_name start"
}
] |
[
{
"from": "human",
"value": "Stop a service"
},
{
"from": "gpt",
"value": "sudo rc-service service_name stop"
}
] |
[
{
"from": "human",
"value": "Restart a service"
},
{
"from": "gpt",
"value": "sudo rc-service service_name restart"
}
] |
[
{
"from": "human",
"value": "Simulate running a service's custom command"
},
{
"from": "gpt",
"value": "sudo rc-service [-Z|--dry-run] service_name command_name"
}
] |
[
{
"from": "human",
"value": "Actually run a service's custom command"
},
{
"from": "gpt",
"value": "sudo rc-service service_name command_name"
}
] |
[
{
"from": "human",
"value": "Resolve the location of a service definition on disk"
},
{
"from": "gpt",
"value": "sudo rc-service [-r|--resolve] service_name"
}
] |
[
{
"from": "human",
"value": "Convert a PDF page to PNG or JPEG format"
},
{
"from": "gpt",
"value": "pstoedit -page page_number -f magick path/to/file.pdf page.png|page.jpg]"
}
] |
[
{
"from": "human",
"value": "Convert multiple PDF pages to numbered images"
},
{
"from": "gpt",
"value": "pstoedit -f magick path/to/file page%d.png|page%d.jpg"
}
] |
[
{
"from": "human",
"value": "Install or reinstall the `br` shell function"
},
{
"from": "gpt",
"value": "broot --install"
}
] |
[
{
"from": "human",
"value": "Find out where your local DNS got the information on www.example.com"
},
{
"from": "gpt",
"value": "dnstracer www.example.com"
}
] |
[
{
"from": "human",
"value": "Start with a [s]pecific DNS that you already know"
},
{
"from": "gpt",
"value": "dnstracer -s dns.example.org www.example.com"
}
] |
[
{
"from": "human",
"value": "Only query IPv4 servers"
},
{
"from": "gpt",
"value": "dnstracer -4 www.example.com"
}
] |
[
{
"from": "human",
"value": "Retry each request 5 times on failure"
},
{
"from": "gpt",
"value": "dnstracer -r 5 www.example.com"
}
] |
[
{
"from": "human",
"value": "Display all steps during execution"
},
{
"from": "gpt",
"value": "dnstracer -v www.example.com"
}
] |
[
{
"from": "human",
"value": "Display an [o]verview of all received answers after execution"
},
{
"from": "gpt",
"value": "dnstracer -o www.example.com"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr setarch"
}
] |
[
{
"from": "human",
"value": "Power off the system"
},
{
"from": "gpt",
"value": "poweroff"
}
] |
[
{
"from": "human",
"value": "Halt the system (same as `halt`)"
},
{
"from": "gpt",
"value": "poweroff --halt"
}
] |
[
{
"from": "human",
"value": "Reboot the system (same as `reboot`)"
},
{
"from": "gpt",
"value": "poweroff --reboot"
}
] |
[
{
"from": "human",
"value": "Shut down immediately without contacting the system manager"
},
{
"from": "gpt",
"value": "poweroff [-f|--force]"
}
] |
[
{
"from": "human",
"value": "Write the wtmp shutdown entry without shutting down the system"
},
{
"from": "gpt",
"value": "poweroff [-w|--wtmp-only]"
}
] |
[
{
"from": "human",
"value": "Display the default question dialog"
},
{
"from": "gpt",
"value": "zenity --question"
}
] |
[
{
"from": "human",
"value": "Display an info dialog displaying the text \"Hello!\""
},
{
"from": "gpt",
"value": "zenity --info --text=\"Hello!\""
}
] |
[
{
"from": "human",
"value": "Display a name/password form and output the data separated by \";\""
},
{
"from": "gpt",
"value": "zenity --forms --add-entry=\"Name\" --add-password=\"Password\" --separator=\";\""
}
] |
[
{
"from": "human",
"value": "Display a file selection form in which the user can only select directories"
},
{
"from": "gpt",
"value": "zenity --file-selection --directory"
}
] |
[
{
"from": "human",
"value": "Display a progress bar which updates its message every second and show a progress percent"
},
{
"from": "gpt",
"value": "(echo \"#1\"; sleep 1; echo \"50\"; echo \"#2\"; sleep 1; echo \"100\") | zenity --progress"
}
] |
[
{
"from": "human",
"value": "Rollback the state of a specific VM to a specified snapshot"
},
{
"from": "gpt",
"value": "qm rollback vm_id snap_name"
}
] |
[
{
"from": "human",
"value": "View network statistics since last time `nstat` was run"
},
{
"from": "gpt",
"value": "nstat"
}
] |
[
{
"from": "human",
"value": "View all-time network statistics"
},
{
"from": "gpt",
"value": "nstat [-a|--ignore]"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "nstat [-h|--help]"
}
] |
[
{
"from": "human",
"value": "Register (command) a new reservation with a given key on a given device"
},
{
"from": "gpt",
"value": "blkpr [-c|--command] register [-k|--key] reservation_key path/to/device"
}
] |
[
{
"from": "human",
"value": "Set the type of an existing reservation to exclusive access"
},
{
"from": "gpt",
"value": "blkpr [-c|--command] reserve [-k|--key] reservation_key [-t|--type] exclusive-access path/to/device"
}
] |
[
{
"from": "human",
"value": "Preempt the existing reservation with a given key and replace it with a new reservation"
},
{
"from": "gpt",
"value": "blkpr [-c|--command] preempt [-K|--oldkey] old_key [-k|--key] new_key [-t|--type] write-exclusive path/to/device"
}
] |
[
{
"from": "human",
"value": "Release a reservation with a given key and type on a given device"
},
{
"from": "gpt",
"value": "blkpr [-c|--command] release [-k|--key] reservation_key [-t|--type] reservation_type path/to/device"
}
] |
[
{
"from": "human",
"value": "Clear all reservations from a given device"
},
{
"from": "gpt",
"value": "blkpr [-c|--command] clear [-k|--key] key path/to/device"
}
] |
[
{
"from": "human",
"value": "Display the current mode of SELinux"
},
{
"from": "gpt",
"value": "getenforce"
}
] |
[
{
"from": "human",
"value": "Decompress a file"
},
{
"from": "gpt",
"value": "lrunzip filename.lrz"
}
] |
[
{
"from": "human",
"value": "Decompress a file using a specific number of processor threads"
},
{
"from": "gpt",
"value": "lrunzip -p 8 filename.lrz"
}
] |
[
{
"from": "human",
"value": "Decompress a file and silently overwrite files if they exist"
},
{
"from": "gpt",
"value": "lrunzip -f filename.lrz"
}
] |
[
{
"from": "human",
"value": "Keep broken or damaged files instead of deleting them when decompressing"
},
{
"from": "gpt",
"value": "lrunzip -K filename.lrz"
}
] |
[
{
"from": "human",
"value": "Specify output file name and/or path"
},
{
"from": "gpt",
"value": "lrunzip -o outfilename filename.lrz"
}
] |
[
{
"from": "human",
"value": "Create an ext2 filesystem in partition 1 of device b (`sdb1`)"
},
{
"from": "gpt",
"value": "mkfs.ext2 /dev/sdb1"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.