conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Add a user-defined rule that assigns a label to a protocol-port pair"
},
{
"from": "gpt",
"value": "sudo semanage port [-a|--add] [-t|--type] ssh_port_t [-p|--proto] tcp 22000"
}
] |
[
{
"from": "human",
"value": "Add a user-defined rule that assigns a label to a protocol-port-range pair"
},
{
"from": "gpt",
"value": "sudo semanage port [-a|--add] [-t|--type] http_port_t [-p|--proto] tcp 80-88"
}
] |
[
{
"from": "human",
"value": "Delete a user-defined rule using its protocol-port pair"
},
{
"from": "gpt",
"value": "sudo semanage port [-d|--delete] [-p|--proto] udp 11940"
}
] |
[
{
"from": "human",
"value": "Create an empty temporary file and print its absolute path"
},
{
"from": "gpt",
"value": "mktemp"
}
] |
[
{
"from": "human",
"value": "Use a custom directory (defaults to `$TMPDIR`, or `/tmp`)"
},
{
"from": "gpt",
"value": "mktemp [-p |--tmpdir=]/path/to/tempdir"
}
] |
[
{
"from": "human",
"value": "Use a custom path template (`X`s are replaced with random alphanumeric characters)"
},
{
"from": "gpt",
"value": "mktemp /tmp/example.XXXXXXXX"
}
] |
[
{
"from": "human",
"value": "Use a custom file name template"
},
{
"from": "gpt",
"value": "mktemp -t example.XXXXXXXX"
}
] |
[
{
"from": "human",
"value": "Create an empty temporary file with the given suffix and print its absolute path"
},
{
"from": "gpt",
"value": "mktemp --suffix .ext"
}
] |
[
{
"from": "human",
"value": "Create an empty temporary directory and print its absolute path"
},
{
"from": "gpt",
"value": "mktemp [-d|--directory]"
}
] |
[
{
"from": "human",
"value": "Print current working directory of a process"
},
{
"from": "gpt",
"value": "pwdx process_id"
}
] |
[
{
"from": "human",
"value": "List the name and status of all services"
},
{
"from": "gpt",
"value": "service --status-all"
}
] |
[
{
"from": "human",
"value": "Start/Stop/Restart/Reload service (start/stop should always be available)"
},
{
"from": "gpt",
"value": "service service_name start|stop|restart|reload"
}
] |
[
{
"from": "human",
"value": "Do a full restart (runs script twice with start and stop)"
},
{
"from": "gpt",
"value": "service service_name --full-restart"
}
] |
[
{
"from": "human",
"value": "Show the current status of a service"
},
{
"from": "gpt",
"value": "service service_name status"
}
] |
[
{
"from": "human",
"value": "Create a virtual machine"
},
{
"from": "gpt",
"value": "qm create 100"
}
] |
[
{
"from": "human",
"value": "Automatically start the machine after creation"
},
{
"from": "gpt",
"value": "qm create 100 --start 1"
}
] |
[
{
"from": "human",
"value": "Specify the type of operating system on the machine"
},
{
"from": "gpt",
"value": "qm create 100 --ostype win10"
}
] |
[
{
"from": "human",
"value": "Replace an existing machine (requires archiving it)"
},
{
"from": "gpt",
"value": "qm create 100 --archive path/to/backup_file.tar --force 1"
}
] |
[
{
"from": "human",
"value": "Specify a script that is executed automatically depending on the state of the virtual machine"
},
{
"from": "gpt",
"value": "qm create 100 --hookscript path/to/script.pl"
}
] |
[
{
"from": "human",
"value": "Capture traffic on a specific interface, port and host:"
},
{
"from": "gpt",
"value": "sudo tcpick [-i|--interface] interface [-C|--colors] -h host -p port"
}
] |
[
{
"from": "human",
"value": "Capture traffic on port 80 (HTTP) of a specific host"
},
{
"from": "gpt",
"value": "sudo tcpick [-i|--interface] eth0 [-C|--colors] -h 192.168.1.100 -p 80"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "tcpick --help"
}
] |
[
{
"from": "human",
"value": "Initialize a LUKS volume with a passphrase"
},
{
"from": "gpt",
"value": "cryptsetup luksFormat /dev/sdXY"
}
] |
[
{
"from": "human",
"value": "Initialize a LUKS volume with a keyfile"
},
{
"from": "gpt",
"value": "cryptsetup luksFormat /dev/sdXY path/to/keyfile"
}
] |
[
{
"from": "human",
"value": "Initialize a LUKS volume with a passphrase and set its label"
},
{
"from": "gpt",
"value": "cryptsetup luksFormat --label label /dev/sdXY"
}
] |
[
{
"from": "human",
"value": "Show all peers on the bus, by their service names"
},
{
"from": "gpt",
"value": "busctl list"
}
] |
[
{
"from": "human",
"value": "Show process information and credentials of a bus service, a process, or the owner of the bus (if no parameter is specified)"
},
{
"from": "gpt",
"value": "busctl status service|pid"
}
] |
[
{
"from": "human",
"value": "Dump messages being exchanged. If no service is specified, show all messages on the bus"
},
{
"from": "gpt",
"value": "busctl monitor service1 service2 ..."
}
] |
[
{
"from": "human",
"value": "Show an object tree of one or more services (or all services if no service is specified)"
},
{
"from": "gpt",
"value": "busctl tree service1 service2 ..."
}
] |
[
{
"from": "human",
"value": "Show interfaces, methods, properties and signals of the specified object on the specified service"
},
{
"from": "gpt",
"value": "busctl introspect service path/to/object"
}
] |
[
{
"from": "human",
"value": "Retrieve the current value of one or more object properties"
},
{
"from": "gpt",
"value": "busctl get-property service path/to/object interface_name property_name"
}
] |
[
{
"from": "human",
"value": "Invoke a method and show the response"
},
{
"from": "gpt",
"value": "busctl call service path/to/object interface_name method_name"
}
] |
[
{
"from": "human",
"value": "Compile a timezone file from a directory"
},
{
"from": "gpt",
"value": "zic -d path/to/directory"
}
] |
[
{
"from": "human",
"value": "Report warnings during compilation of a specific file"
},
{
"from": "gpt",
"value": "zic -v path/to/file.infile"
}
] |
[
{
"from": "human",
"value": "Connect to a GlobalProtect VPN using a portal server"
},
{
"from": "gpt",
"value": "gpclient connect vpn_gateway_url"
}
] |
[
{
"from": "human",
"value": "Disconnect from the currently connected VPN server"
},
{
"from": "gpt",
"value": "gpclient disconnect"
}
] |
[
{
"from": "human",
"value": "Launch the graphical user interface (GUI) for VPN management"
},
{
"from": "gpt",
"value": "gpclient launch-gui"
}
] |
[
{
"from": "human",
"value": "Use OpenSSL workaround to bypass legacy renegotiation errors"
},
{
"from": "gpt",
"value": "gpclient connect --fix-openssl vpn_gateway_url"
}
] |
[
{
"from": "human",
"value": "Ignore TLS errors during connection"
},
{
"from": "gpt",
"value": "gpclient connect --ignore-tls-errors vpn_gateway_url"
}
] |
[
{
"from": "human",
"value": "Display version"
},
{
"from": "gpt",
"value": "gpclient --version"
}
] |
[
{
"from": "human",
"value": "Display help for any command"
},
{
"from": "gpt",
"value": "gpclient help command"
}
] |
[
{
"from": "human",
"value": "Display the most recent login of all users"
},
{
"from": "gpt",
"value": "lastlog"
}
] |
[
{
"from": "human",
"value": "Display the lastlog record of the specified user"
},
{
"from": "gpt",
"value": "lastlog --user username"
}
] |
[
{
"from": "human",
"value": "Display records older than 7 days"
},
{
"from": "gpt",
"value": "lastlog --before 7"
}
] |
[
{
"from": "human",
"value": "Display records more recent than 3 days"
},
{
"from": "gpt",
"value": "lastlog --time 3"
}
] |
[
{
"from": "human",
"value": "Open a text file"
},
{
"from": "gpt",
"value": "gedit path/to/file"
}
] |
[
{
"from": "human",
"value": "Open multiple text files"
},
{
"from": "gpt",
"value": "gedit file1 file2 ..."
}
] |
[
{
"from": "human",
"value": "Open a text file with a specific encoding"
},
{
"from": "gpt",
"value": "gedit --encoding UTF-8 path/to/file"
}
] |
[
{
"from": "human",
"value": "Display a list of supported encodings"
},
{
"from": "gpt",
"value": "gedit --list-encodings"
}
] |
[
{
"from": "human",
"value": "Reverse text typed into terminal"
},
{
"from": "gpt",
"value": "rev"
}
] |
[
{
"from": "human",
"value": "Reverse the text string \"hello\""
},
{
"from": "gpt",
"value": "echo \"hello\" | rev"
}
] |
[
{
"from": "human",
"value": "Reverse an entire file and print to `stdout`"
},
{
"from": "gpt",
"value": "rev path/to/file"
}
] |
[
{
"from": "human",
"value": "Use '\\0' as a line separator (zero termination)"
},
{
"from": "gpt",
"value": "rev [-0|--zero] path/to/file"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "rev [-h|--help]"
}
] |
[
{
"from": "human",
"value": "Display version"
},
{
"from": "gpt",
"value": "rev [-V|--version]"
}
] |
[
{
"from": "human",
"value": "Show information about all active IPC facilities"
},
{
"from": "gpt",
"value": "ipcs"
}
] |
[
{
"from": "human",
"value": "Show information about active shared [m]emory segments, message [q]ueues or [s]empahore sets"
},
{
"from": "gpt",
"value": "ipcs --shmems|--queues|--semaphores"
}
] |
[
{
"from": "human",
"value": "Show full details on the resource with a specific ID"
},
{
"from": "gpt",
"value": "ipcs --shmems|--queues|--semaphores [-i|--id] resource_id"
}
] |
[
{
"from": "human",
"value": "Show limits in [b]ytes or in a human-readable format"
},
{
"from": "gpt",
"value": "ipcs [-l|--limits] --bytes|--human"
}
] |
[
{
"from": "human",
"value": "Show s[u]mmary about current usage"
},
{
"from": "gpt",
"value": "ipcs [-u|--summary]"
}
] |
[
{
"from": "human",
"value": "Show creator's and owner's UIDs and PIDs for all IPC facilities"
},
{
"from": "gpt",
"value": "ipcs [-c|--creator]"
}
] |
[
{
"from": "human",
"value": "Show the PID of the last operators for all IPC facilities"
},
{
"from": "gpt",
"value": "ipcs [-p|--pid]"
}
] |
[
{
"from": "human",
"value": "Show last access times for all IPC facilities"
},
{
"from": "gpt",
"value": "ipcs [-t|--time]"
}
] |
[
{
"from": "human",
"value": "Start `raspi-config`"
},
{
"from": "gpt",
"value": "sudo raspi-config"
}
] |
[
{
"from": "human",
"value": "Download a binary package"
},
{
"from": "gpt",
"value": "dget package"
}
] |
[
{
"from": "human",
"value": "Download and extract a package source from its `.dsc` file"
},
{
"from": "gpt",
"value": "dget http://deb.debian.org/debian/pool/main/h/haskell-tldr/haskell-tldr_0.4.0-2.dsc"
}
] |
[
{
"from": "human",
"value": "Download a package source tarball from its `.dsc` file but don't extract it"
},
{
"from": "gpt",
"value": "dget -d http://deb.debian.org/debian/pool/main/h/haskell-tldr/haskell-tldr_0.4.0-2.dsc"
}
] |
[
{
"from": "human",
"value": "Output a summary of the last 2: months, days, and all-time"
},
{
"from": "gpt",
"value": "vnstati --summary --iface network_interface --output path/to/output.png"
}
] |
[
{
"from": "human",
"value": "Output the 10 most traffic-intensive days of all time"
},
{
"from": "gpt",
"value": "vnstati --top 10 --iface network_interface --output path/to/output.png"
}
] |
[
{
"from": "human",
"value": "Output monthly traffic statistics from the last 12 months"
},
{
"from": "gpt",
"value": "vnstati --months --iface network_interface --output path/to/output.png"
}
] |
[
{
"from": "human",
"value": "Output hourly traffic statistics from the last 24 hours"
},
{
"from": "gpt",
"value": "vnstati --hours --iface network_interface --output path/to/output.png"
}
] |
[
{
"from": "human",
"value": "Initialize the `pacman` keyring"
},
{
"from": "gpt",
"value": "sudo pacman-key --init"
}
] |
[
{
"from": "human",
"value": "Add the default Arch Linux keys"
},
{
"from": "gpt",
"value": "sudo pacman-key --populate archlinux"
}
] |
[
{
"from": "human",
"value": "List keys from the public keyring"
},
{
"from": "gpt",
"value": "pacman-key --list-keys"
}
] |
[
{
"from": "human",
"value": "Add the specified keys"
},
{
"from": "gpt",
"value": "sudo pacman-key --add path/to/keyfile.gpg"
}
] |
[
{
"from": "human",
"value": "Receive a key from a key server"
},
{
"from": "gpt",
"value": "sudo pacman-key --recv-keys \"uid|name|email\""
}
] |
[
{
"from": "human",
"value": "Print the fingerprint of a specific key"
},
{
"from": "gpt",
"value": "pacman-key --finger \"uid|name|email\""
}
] |
[
{
"from": "human",
"value": "Sign an imported key locally"
},
{
"from": "gpt",
"value": "sudo pacman-key --lsign-key \"uid|name|email\""
}
] |
[
{
"from": "human",
"value": "Remove a specific key"
},
{
"from": "gpt",
"value": "sudo pacman-key --delete \"uid|name|email\""
}
] |
[
{
"from": "human",
"value": "Search for a package"
},
{
"from": "gpt",
"value": "eix query"
}
] |
[
{
"from": "human",
"value": "Search for installed packages"
},
{
"from": "gpt",
"value": "eix --installed query"
}
] |
[
{
"from": "human",
"value": "Search in package descriptions"
},
{
"from": "gpt",
"value": "eix --description \"description\""
}
] |
[
{
"from": "human",
"value": "Search by package license"
},
{
"from": "gpt",
"value": "eix --license license"
}
] |
[
{
"from": "human",
"value": "Exclude results from search"
},
{
"from": "gpt",
"value": "eix --not --license license"
}
] |
[
{
"from": "human",
"value": "Show command-line for a specific virtual machine"
},
{
"from": "gpt",
"value": "qm showcmd vm_id"
}
] |
[
{
"from": "human",
"value": "Put each option on a new line to enhance human readability"
},
{
"from": "gpt",
"value": "qm showcmd --pretty true vm_id"
}
] |
[
{
"from": "human",
"value": "Fetch configuration values from a specific snapshot"
},
{
"from": "gpt",
"value": "qm showcmd --snapshot string vm_id"
}
] |
[
{
"from": "human",
"value": "Clear QML cache"
},
{
"from": "gpt",
"value": "latte-dock --clear-cache"
}
] |
[
{
"from": "human",
"value": "Import and load default layout on startup"
},
{
"from": "gpt",
"value": "latte-dock --default-layout"
}
] |
[
{
"from": "human",
"value": "Load a specific layout on startup"
},
{
"from": "gpt",
"value": "latte-dock --layout layout_name"
}
] |
[
{
"from": "human",
"value": "Import and load a specific layout"
},
{
"from": "gpt",
"value": "latte-dock --import-layout path/to/file"
}
] |
[
{
"from": "human",
"value": "Open a given serial port"
},
{
"from": "gpt",
"value": "sudo cu [-l|--line] /dev/ttyXYZ"
}
] |
[
{
"from": "human",
"value": "Open a given serial port with a given baud rate"
},
{
"from": "gpt",
"value": "sudo cu [-l|--line] /dev/ttyXYZ [-s|--speed] 115200"
}
] |
[
{
"from": "human",
"value": "Open a given serial port with a given baud rate and echo characters locally (half-duplex mode)"
},
{
"from": "gpt",
"value": "sudo cu [-l|--line] /dev/ttyXYZ [-s|--speed] 115200 [-h|--halfduplex]"
}
] |
[
{
"from": "human",
"value": "Open a given serial port with a given baud rate, parity, and no hardware or software flow control"
},
{
"from": "gpt",
"value": "sudo cu [-l|--line] /dev/ttyXYZ [-s|--speed] 115200 --parity=even|odd|none [-f|--nortscts] --nostop"
}
] |
[
{
"from": "human",
"value": "Exit the `cu` session when in connection"
},
{
"from": "gpt",
"value": "<Enter><~><.>"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "cu --help"
}
] |
[
{
"from": "human",
"value": "Insert a kernel module into the Linux kernel"
},
{
"from": "gpt",
"value": "sudo insmod path/to/module.ko"
}
] |
[
{
"from": "human",
"value": "Run a builtin command"
},
{
"from": "gpt",
"value": "darling shell uname"
}
] |
[
{
"from": "human",
"value": "Run a specific program in the current path with arguments"
},
{
"from": "gpt",
"value": "darling shell ./program program_argument_1 program_argument_2 ..."
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.