conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Delete a rule"
},
{
"from": "gpt",
"value": "sudo nft delete rule inet filter input handle 3"
}
] |
[
{
"from": "human",
"value": "Save current configuration"
},
{
"from": "gpt",
"value": "sudo nft list ruleset > /etc/nftables.conf"
}
] |
[
{
"from": "human",
"value": "Display the `main` routing table"
},
{
"from": "gpt",
"value": "ip [r|route]"
}
] |
[
{
"from": "human",
"value": "Add a default route using gateway forwarding"
},
{
"from": "gpt",
"value": "sudo ip [r|route] [a|add] default via gateway_ip"
}
] |
[
{
"from": "human",
"value": "Add a default route using `eth0`"
},
{
"from": "gpt",
"value": "sudo ip [r|route] [a|add] default dev eth0"
}
] |
[
{
"from": "human",
"value": "Add a static route"
},
{
"from": "gpt",
"value": "sudo ip [r|route] [a|add] destination_ip via gateway_ip dev eth0"
}
] |
[
{
"from": "human",
"value": "Delete a static route"
},
{
"from": "gpt",
"value": "sudo ip [r|route] [d|delete] destination_ip dev eth0"
}
] |
[
{
"from": "human",
"value": "Change or replace a static route"
},
{
"from": "gpt",
"value": "sudo ip [r|route] change|replace destination_ip via gateway_ip dev eth0"
}
] |
[
{
"from": "human",
"value": "Show which route will be used by the kernel to reach an IP address"
},
{
"from": "gpt",
"value": "ip [r|route] [g|get] destination_ip"
}
] |
[
{
"from": "human",
"value": "Display a specific routing table"
},
{
"from": "gpt",
"value": "ip [r|route] [l|list] [t|table] table_number"
}
] |
[
{
"from": "human",
"value": "Print the current status"
},
{
"from": "gpt",
"value": "sestatus"
}
] |
[
{
"from": "human",
"value": "Print the current states of all policy booleans"
},
{
"from": "gpt",
"value": "sestatus -b"
}
] |
[
{
"from": "human",
"value": "Print the current file and process contexts"
},
{
"from": "gpt",
"value": "sestatus -v"
}
] |
[
{
"from": "human",
"value": "Connect to a FreeRDP server"
},
{
"from": "gpt",
"value": "xfreerdp /u:username /p:password /v:ip_address"
}
] |
[
{
"from": "human",
"value": "Connect to a FreeRDP server and activate audio output redirection using `sys:alsa` device"
},
{
"from": "gpt",
"value": "xfreerdp /u:username /p:password /v:ip_address /sound:sys:alsa"
}
] |
[
{
"from": "human",
"value": "Connect to a FreeRDP server with dynamic resolution"
},
{
"from": "gpt",
"value": "xfreerdp /v:ip_address /u:username /p:password /dynamic-resolution"
}
] |
[
{
"from": "human",
"value": "Connect to a FreeRDP server with clipboard redirection"
},
{
"from": "gpt",
"value": "xfreerdp /v:ip_address /u:username /p:password +clipboard"
}
] |
[
{
"from": "human",
"value": "Connect to a FreeRDP server ignoring any certificate checks"
},
{
"from": "gpt",
"value": "xfreerdp /v:ip_address /u:username /p:password /cert:ignore"
}
] |
[
{
"from": "human",
"value": "Connect to a FreeRDP server with a shared directory"
},
{
"from": "gpt",
"value": "xfreerdp /v:ip_address /u:username /p:password /drive:path/to/directory,share_name"
}
] |
[
{
"from": "human",
"value": "Retrieve all extended attributes of a file and display them in a detailed format"
},
{
"from": "gpt",
"value": "getfattr -d path/to/file"
}
] |
[
{
"from": "human",
"value": "Get a specific attribute of a file"
},
{
"from": "gpt",
"value": "getfattr -n user.attribute_name path/to/file"
}
] |
[
{
"from": "human",
"value": "Run a `toolbox` subcommand"
},
{
"from": "gpt",
"value": "toolbox subcommand"
}
] |
[
{
"from": "human",
"value": "Display help for a specific subcommand (such as `create`, `enter`, `rm`, `rmi`, etc.)"
},
{
"from": "gpt",
"value": "toolbox help subcommand"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "toolbox --help"
}
] |
[
{
"from": "human",
"value": "Display version"
},
{
"from": "gpt",
"value": "toolbox --version"
}
] |
[
{
"from": "human",
"value": "Print the time and memory usage of a command"
},
{
"from": "gpt",
"value": "runlim command command_arguments"
}
] |
[
{
"from": "human",
"value": "Log statistics to a file instead of `stdout`"
},
{
"from": "gpt",
"value": "runlim --output-file=path/to/file command command_arguments"
}
] |
[
{
"from": "human",
"value": "Limit time to an upper bound (in seconds)"
},
{
"from": "gpt",
"value": "runlim --time-limit=number command command_arguments"
}
] |
[
{
"from": "human",
"value": "Limit real-time to an upper bound (in seconds)"
},
{
"from": "gpt",
"value": "runlim --real-time-limit=number command command_arguments"
}
] |
[
{
"from": "human",
"value": "Limit space to an upper bound (in MB)"
},
{
"from": "gpt",
"value": "runlim --space-limit=number command command_arguments"
}
] |
[
{
"from": "human",
"value": "Synchronize list of packages and versions available"
},
{
"from": "gpt",
"value": "zypper refresh"
}
] |
[
{
"from": "human",
"value": "Install a new package"
},
{
"from": "gpt",
"value": "zypper install package"
}
] |
[
{
"from": "human",
"value": "Remove a package"
},
{
"from": "gpt",
"value": "zypper remove package"
}
] |
[
{
"from": "human",
"value": "Upgrade installed packages to the newest available versions"
},
{
"from": "gpt",
"value": "zypper update"
}
] |
[
{
"from": "human",
"value": "Search package via keyword"
},
{
"from": "gpt",
"value": "zypper search keyword"
}
] |
[
{
"from": "human",
"value": "Show information related to configured repositories"
},
{
"from": "gpt",
"value": "zypper repos --sort-by-priority"
}
] |
[
{
"from": "human",
"value": "Reset a specific key value"
},
{
"from": "gpt",
"value": "dconf reset /path/to/key"
}
] |
[
{
"from": "human",
"value": "Reset a specific directory"
},
{
"from": "gpt",
"value": "dconf reset -f /path/to/directory/"
}
] |
[
{
"from": "human",
"value": "Launch a VNC Server on next available display"
},
{
"from": "gpt",
"value": "vncserver"
}
] |
[
{
"from": "human",
"value": "Launch a VNC Server with specific screen geometry"
},
{
"from": "gpt",
"value": "vncserver --geometry widthxheight"
}
] |
[
{
"from": "human",
"value": "Kill an instance of VNC Server running on a specific display"
},
{
"from": "gpt",
"value": "vncserver --kill :display_number"
}
] |
[
{
"from": "human",
"value": "List available portable service images discovered in the portable image search paths"
},
{
"from": "gpt",
"value": "portablectl list"
}
] |
[
{
"from": "human",
"value": "Attach a portable service image to the host system"
},
{
"from": "gpt",
"value": "portablectl attach path/to/image"
}
] |
[
{
"from": "human",
"value": "Detach a portable service image from the host system"
},
{
"from": "gpt",
"value": "portablectl detach path/to/image|image_name"
}
] |
[
{
"from": "human",
"value": "Display details and metadata about a specified portable service image"
},
{
"from": "gpt",
"value": "portablectl inspect path/to/image"
}
] |
[
{
"from": "human",
"value": "Check if a portable service image is attached to the host system"
},
{
"from": "gpt",
"value": "portablectl is-attached path/to/image|image_name"
}
] |
[
{
"from": "human",
"value": "Create a new empty subvolume"
},
{
"from": "gpt",
"value": "sudo btrfs subvolume create path/to/new_subvolume"
}
] |
[
{
"from": "human",
"value": "List all subvolumes and snapshots in the specified filesystem"
},
{
"from": "gpt",
"value": "sudo btrfs subvolume list path/to/btrfs_filesystem"
}
] |
[
{
"from": "human",
"value": "Delete a subvolume"
},
{
"from": "gpt",
"value": "sudo btrfs subvolume delete path/to/subvolume"
}
] |
[
{
"from": "human",
"value": "Create a read-only snapshot of an existing subvolume"
},
{
"from": "gpt",
"value": "sudo btrfs subvolume snapshot -r path/to/source_subvolume path/to/target"
}
] |
[
{
"from": "human",
"value": "Create a read-write snapshot of an existing subvolume"
},
{
"from": "gpt",
"value": "sudo btrfs subvolume snapshot path/to/source_subvolume path/to/target"
}
] |
[
{
"from": "human",
"value": "Show detailed information about a subvolume"
},
{
"from": "gpt",
"value": "sudo btrfs subvolume show path/to/subvolume"
}
] |
[
{
"from": "human",
"value": "Upgrade a container using the container's native package manager"
},
{
"from": "gpt",
"value": "distrobox-upgrade container_name"
}
] |
[
{
"from": "human",
"value": "Upgrade all containers using the container's native package managers"
},
{
"from": "gpt",
"value": "distrobox-upgrade --all"
}
] |
[
{
"from": "human",
"value": "Upgrade specific containers via the container's native package manager"
},
{
"from": "gpt",
"value": "distrobox-upgrade container1 container2 ..."
}
] |
[
{
"from": "human",
"value": "Specify the range of pages to convert (`n` - first page, `m` - last page)"
},
{
"from": "gpt",
"value": "pdftoppm -f n -l m path/to/file.pdf image_name_prefix"
}
] |
[
{
"from": "human",
"value": "Convert only the first page of a PDF"
},
{
"from": "gpt",
"value": "pdftoppm -singlefile path/to/file.pdf image_name_prefix"
}
] |
[
{
"from": "human",
"value": "Generate a monochrome PBM file (instead of a color PPM file)"
},
{
"from": "gpt",
"value": "pdftoppm -mono path/to/file.pdf image_name_prefix"
}
] |
[
{
"from": "human",
"value": "Generate a grayscale PGM file (instead of a color PPM file)"
},
{
"from": "gpt",
"value": "pdftoppm -gray path/to/file.pdf image_name_prefix"
}
] |
[
{
"from": "human",
"value": "Generate a PNG file instead a PPM file"
},
{
"from": "gpt",
"value": "pdftoppm -png path/to/file.pdf image_name_prefix"
}
] |
[
{
"from": "human",
"value": "Move `/proc`, `/dev`, `/sys` and `/run` to the specified filesystem, use this filesystem as the new root and start the specified init process"
},
{
"from": "gpt",
"value": "switch_root new_root /sbin/init"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "switch_root [-h|--help]"
}
] |
[
{
"from": "human",
"value": "Print superblock's information"
},
{
"from": "gpt",
"value": "sudo btrfs inspect-internal dump-super path/to/partition"
}
] |
[
{
"from": "human",
"value": "Print superblock's and all of its copies' information"
},
{
"from": "gpt",
"value": "sudo btrfs inspect-internal dump-super --all path/to/partition"
}
] |
[
{
"from": "human",
"value": "Print filesystem's metadata information"
},
{
"from": "gpt",
"value": "sudo btrfs inspect-internal dump-tree path/to/partition"
}
] |
[
{
"from": "human",
"value": "Print list of files in inode `n`-th"
},
{
"from": "gpt",
"value": "sudo btrfs inspect-internal inode-resolve n path/to/btrfs_mount"
}
] |
[
{
"from": "human",
"value": "Print list of files at a given logical address"
},
{
"from": "gpt",
"value": "sudo btrfs inspect-internal logical-resolve logical_address path/to/btrfs_mount"
}
] |
[
{
"from": "human",
"value": "Print stats of root, extent, csum and fs trees"
},
{
"from": "gpt",
"value": "sudo btrfs inspect-internal tree-stats path/to/partition"
}
] |
[
{
"from": "human",
"value": "Disable interface eth0"
},
{
"from": "gpt",
"value": "ifdown eth0"
}
] |
[
{
"from": "human",
"value": "Disable all interfaces which are enabled"
},
{
"from": "gpt",
"value": "ifdown -a"
}
] |
[
{
"from": "human",
"value": "Rename files using a Perl Common Regular Expression (substitute 'foo' with 'bar' wherever found)"
},
{
"from": "gpt",
"value": "rename 's/foo/bar/' *"
}
] |
[
{
"from": "human",
"value": "Dry-run - display which renames would occur without performing them"
},
{
"from": "gpt",
"value": "rename -n 's/foo/bar/' *"
}
] |
[
{
"from": "human",
"value": "Force renaming even if the operation would remove existing destination files"
},
{
"from": "gpt",
"value": "rename -f 's/foo/bar/' *"
}
] |
[
{
"from": "human",
"value": "Convert filenames to lower case (use `-f` in case-insensitive filesystems to prevent \"already exists\" errors)"
},
{
"from": "gpt",
"value": "rename 'y/A-Z/a-z/' *"
}
] |
[
{
"from": "human",
"value": "Replace whitespace with underscores"
},
{
"from": "gpt",
"value": "rename 's/\\s+/_/g' *"
}
] |
[
{
"from": "human",
"value": "Remove a user"
},
{
"from": "gpt",
"value": "sudo deluser username"
}
] |
[
{
"from": "human",
"value": "Remove a user and their home directory"
},
{
"from": "gpt",
"value": "sudo deluser --remove-home username"
}
] |
[
{
"from": "human",
"value": "Remove a user and their home, but backup their files into a `.tar.gz` file in the specified directory"
},
{
"from": "gpt",
"value": "sudo deluser --backup-to path/to/backup_directory --remove-home username"
}
] |
[
{
"from": "human",
"value": "Remove a user, and all files owned by them"
},
{
"from": "gpt",
"value": "sudo deluser --remove-all-files username"
}
] |
[
{
"from": "human",
"value": "Convert a specific installation file to Debian format (`.deb` extension)"
},
{
"from": "gpt",
"value": "sudo alien --to-deb path/to/file"
}
] |
[
{
"from": "human",
"value": "Convert a specific installation file to Red Hat format (`.rpm` extension)"
},
{
"from": "gpt",
"value": "sudo alien --to-rpm path/to/file"
}
] |
[
{
"from": "human",
"value": "Convert a specific installation file to a Slackware installation file (`.tgz` extension)"
},
{
"from": "gpt",
"value": "sudo alien --to-tgz path/to/file"
}
] |
[
{
"from": "human",
"value": "Convert a specific installation file to Debian format and install on the system"
},
{
"from": "gpt",
"value": "sudo alien --to-deb --install path/to/file"
}
] |
[
{
"from": "human",
"value": "Open a file"
},
{
"from": "gpt",
"value": "more path/to/file"
}
] |
[
{
"from": "human",
"value": "Display a specific line"
},
{
"from": "gpt",
"value": "more +line_number path/to/file"
}
] |
[
{
"from": "human",
"value": "Go to the next page"
},
{
"from": "gpt",
"value": "<Space>"
}
] |
[
{
"from": "human",
"value": "Search for a string (press `<n>` to go to the next match)"
},
{
"from": "gpt",
"value": "</>something<Enter>"
}
] |
[
{
"from": "human",
"value": "Exit"
},
{
"from": "gpt",
"value": "<q>"
}
] |
[
{
"from": "human",
"value": "Display help about interactive commands"
},
{
"from": "gpt",
"value": "<h>"
}
] |
[
{
"from": "human",
"value": "Copy unstaged files to a specific remote"
},
{
"from": "gpt",
"value": "git scp remote_name"
}
] |
[
{
"from": "human",
"value": "Copy staged and unstaged files to a remote"
},
{
"from": "gpt",
"value": "git scp remote_name HEAD"
}
] |
[
{
"from": "human",
"value": "Copy files that has been changed in the last commit and any staged or unstaged files to a remote"
},
{
"from": "gpt",
"value": "git scp remote_name HEAD~1"
}
] |
[
{
"from": "human",
"value": "Copy specific files to a remote"
},
{
"from": "gpt",
"value": "git scp remote_name path/to/file1 path/to/file2 ..."
}
] |
[
{
"from": "human",
"value": "Copy a specific directory to a remote"
},
{
"from": "gpt",
"value": "git scp remote_name path/to/directory"
}
] |
[
{
"from": "human",
"value": "Run a `doctl databases firewalls` command with an access token"
},
{
"from": "gpt",
"value": "doctl databases firewalls command --access-token access_token"
}
] |
[
{
"from": "human",
"value": "Retrieve a list of firewall rules for a given database"
},
{
"from": "gpt",
"value": "doctl databases firewalls list"
}
] |
[
{
"from": "human",
"value": "Add a database firewall rule to a given database"
},
{
"from": "gpt",
"value": "doctl databases firewalls append database_id --rule droplet|k8s|ip_addr|tag|app:value"
}
] |
[
{
"from": "human",
"value": "Remove a firewall rule for a given database"
},
{
"from": "gpt",
"value": "doctl databases firewalls remove database_id rule_uuid"
}
] |
[
{
"from": "human",
"value": "Display the JSON object with full path to the `Cargo.toml` manifest"
},
{
"from": "gpt",
"value": "cargo locate-project"
}
] |
[
{
"from": "human",
"value": "Display the project path in the specified format"
},
{
"from": "gpt",
"value": "cargo locate-project --message-format plain|json"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.