conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Create a new user with a default home directory and prompt the user to set a password"
},
{
"from": "gpt",
"value": "adduser username"
}
] |
[
{
"from": "human",
"value": "Create a new user without a home directory"
},
{
"from": "gpt",
"value": "adduser --no-create-home username"
}
] |
[
{
"from": "human",
"value": "Create a new user with a home directory at the specified path"
},
{
"from": "gpt",
"value": "adduser --home path/to/home username"
}
] |
[
{
"from": "human",
"value": "Create a new user with the specified shell set as the login shell"
},
{
"from": "gpt",
"value": "adduser --shell path/to/shell username"
}
] |
[
{
"from": "human",
"value": "Create a new user belonging to the specified group"
},
{
"from": "gpt",
"value": "adduser --ingroup group username"
}
] |
[
{
"from": "human",
"value": "List VMs on current tenant"
},
{
"from": "gpt",
"value": "nova list"
}
] |
[
{
"from": "human",
"value": "List VMs of all tenants (admin user only)"
},
{
"from": "gpt",
"value": "nova list --all-tenants"
}
] |
[
{
"from": "human",
"value": "Boot a VM on a specific host"
},
{
"from": "gpt",
"value": "nova boot --nic net-id=net_id --image image_id --flavor flavor --availability-zone nova:host_name vm_name"
}
] |
[
{
"from": "human",
"value": "Start a server"
},
{
"from": "gpt",
"value": "nova start server"
}
] |
[
{
"from": "human",
"value": "Stop a server"
},
{
"from": "gpt",
"value": "nova stop server"
}
] |
[
{
"from": "human",
"value": "Attach a network interface to a specific VM"
},
{
"from": "gpt",
"value": "nova interface-attach --net-id net_id server"
}
] |
[
{
"from": "human",
"value": "Show a summary of services and their status"
},
{
"from": "gpt",
"value": "rc-status"
}
] |
[
{
"from": "human",
"value": "Include services in all runlevels in the summary"
},
{
"from": "gpt",
"value": "rc-status [-a|--all]"
}
] |
[
{
"from": "human",
"value": "List services that have crashed"
},
{
"from": "gpt",
"value": "rc-status [-c|--crashed]"
}
] |
[
{
"from": "human",
"value": "List manually started services"
},
{
"from": "gpt",
"value": "rc-status [-m|--manual]"
}
] |
[
{
"from": "human",
"value": "List supervised services"
},
{
"from": "gpt",
"value": "rc-status [-S|--supervised]"
}
] |
[
{
"from": "human",
"value": "Display the current runlevel"
},
{
"from": "gpt",
"value": "rc-status [-r|--runlevel]"
}
] |
[
{
"from": "human",
"value": "List all runlevels"
},
{
"from": "gpt",
"value": "rc-status [-l|--list]"
}
] |
[
{
"from": "human",
"value": "Make a package"
},
{
"from": "gpt",
"value": "makepkg"
}
] |
[
{
"from": "human",
"value": "Make a package and install its dependencies"
},
{
"from": "gpt",
"value": "makepkg [-s|--syncdeps]"
}
] |
[
{
"from": "human",
"value": "Make a package, install its dependencies then install it to the system"
},
{
"from": "gpt",
"value": "makepkg [-s|--syncdeps] [-i|--install]"
}
] |
[
{
"from": "human",
"value": "Make a package, but skip checking the source's hashes"
},
{
"from": "gpt",
"value": "makepkg --skipchecksums"
}
] |
[
{
"from": "human",
"value": "Clean up work directories after a successful build"
},
{
"from": "gpt",
"value": "makepkg [-c|--clean]"
}
] |
[
{
"from": "human",
"value": "Verify the hashes of the sources"
},
{
"from": "gpt",
"value": "makepkg --verifysource"
}
] |
[
{
"from": "human",
"value": "Generate and save the source information into `.SRCINFO`"
},
{
"from": "gpt",
"value": "makepkg --printsrcinfo > .SRCINFO"
}
] |
[
{
"from": "human",
"value": "Verify `PKGBUILD` integrity, generate `.SRCINFO`, create a commit message template, and publish the package to the AUR"
},
{
"from": "gpt",
"value": "aurpublish package_name"
}
] |
[
{
"from": "human",
"value": "Add githooks to the current repository"
},
{
"from": "gpt",
"value": "aurpublish setup"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "aurpublish [-h|--help]"
}
] |
[
{
"from": "human",
"value": "Run a command as root"
},
{
"from": "gpt",
"value": "run0 command"
}
] |
[
{
"from": "human",
"value": "Run a command as another user and/or group"
},
{
"from": "gpt",
"value": "run0 [-u|--user] username|uid [-g|--group] group_name|gid command"
}
] |
[
{
"from": "human",
"value": "Format the output of a command for a 30 characters wide display"
},
{
"from": "gpt",
"value": "printf \"header1 header2\\nbar foo\\n\" | column [-c|--output-width] 30"
}
] |
[
{
"from": "human",
"value": "Split columns automatically and auto-align them in a tabular format"
},
{
"from": "gpt",
"value": "printf \"header1 header2\\nbar foo\\n\" | column [-t|--table]"
}
] |
[
{
"from": "human",
"value": "Specify the column delimiter character for the `--table` option (e.g. \",\" for CSV) (defaults to whitespace)"
},
{
"from": "gpt",
"value": "printf \"header1,header2\\nbar,foo\\n\" | column [-t|--table] [-s|--separator] ,"
}
] |
[
{
"from": "human",
"value": "Fill rows before filling columns"
},
{
"from": "gpt",
"value": "printf \"header1\\nbar\\nfoobar\\n\" | column [-c|--output-width] 30 [-x|--fillrows]"
}
] |
[
{
"from": "human",
"value": "Display the size of sections in a given object or executable file"
},
{
"from": "gpt",
"value": "size path/to/file"
}
] |
[
{
"from": "human",
"value": "Display the size of sections in a given object or executable file in [o]ctal"
},
{
"from": "gpt",
"value": "size [-o|--radix=8] path/to/file"
}
] |
[
{
"from": "human",
"value": "Display the size of sections in a given object or executable file in [d]ecimal"
},
{
"from": "gpt",
"value": "size [-d|--radix=10] path/to/file"
}
] |
[
{
"from": "human",
"value": "Display the size of sections in a given object or executable file in he[x]adecimal"
},
{
"from": "gpt",
"value": "size [-x|--radix=16] path/to/file"
}
] |
[
{
"from": "human",
"value": "List available cameras"
},
{
"from": "gpt",
"value": "cam [-l|--list]"
}
] |
[
{
"from": "human",
"value": "List controls of a camera"
},
{
"from": "gpt",
"value": "cam [-c|--camera] camera_index --list-controls"
}
] |
[
{
"from": "human",
"value": "Write frames to a folder"
},
{
"from": "gpt",
"value": "cam [-c|--camera] camera_index [-C|--capture=]frames_to_capture [-F|--file]"
}
] |
[
{
"from": "human",
"value": "Display camera feed in a window"
},
{
"from": "gpt",
"value": "cam [-c|--camera] camera_index [-C|--capture] [-S|--sdl]"
}
] |
[
{
"from": "human",
"value": "Trace all program executions occurring on the system"
},
{
"from": "gpt",
"value": "sudo extrace"
}
] |
[
{
"from": "human",
"value": "Run a command and only trace descendants of this command"
},
{
"from": "gpt",
"value": "sudo extrace command"
}
] |
[
{
"from": "human",
"value": "Print the current working directory of each process"
},
{
"from": "gpt",
"value": "sudo extrace -d"
}
] |
[
{
"from": "human",
"value": "Resolve the full path of each executable"
},
{
"from": "gpt",
"value": "sudo extrace -l"
}
] |
[
{
"from": "human",
"value": "Display the user running each process"
},
{
"from": "gpt",
"value": "sudo extrace -u"
}
] |
[
{
"from": "human",
"value": "Interactively search for and install a package"
},
{
"from": "gpt",
"value": "paru package_name_or_search_term"
}
] |
[
{
"from": "human",
"value": "Synchronize and update all packages"
},
{
"from": "gpt",
"value": "paru"
}
] |
[
{
"from": "human",
"value": "Upgrade AUR packages"
},
{
"from": "gpt",
"value": "paru -Sua"
}
] |
[
{
"from": "human",
"value": "Get information about a package"
},
{
"from": "gpt",
"value": "paru -Si package"
}
] |
[
{
"from": "human",
"value": "Download `PKGBUILD` and other package source files from the AUR or ABS"
},
{
"from": "gpt",
"value": "paru --getpkgbuild package"
}
] |
[
{
"from": "human",
"value": "Display the `PKGBUILD` file of a package"
},
{
"from": "gpt",
"value": "paru --getpkgbuild --print package"
}
] |
[
{
"from": "human",
"value": "Choose the server with the lowest latency"
},
{
"from": "gpt",
"value": "sudo netselect host_1 host_2"
}
] |
[
{
"from": "human",
"value": "Display nameserver resolution and statistics"
},
{
"from": "gpt",
"value": "sudo netselect -vv host_1 host_2"
}
] |
[
{
"from": "human",
"value": "Define maximum TTL (time to live)"
},
{
"from": "gpt",
"value": "sudo netselect -m 10 host_1 host_2"
}
] |
[
{
"from": "human",
"value": "Print `n` fastest servers among the hosts"
},
{
"from": "gpt",
"value": "sudo netselect -s n host_1 host_2 host_3"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "netselect"
}
] |
[
{
"from": "human",
"value": "List all captured core dumps"
},
{
"from": "gpt",
"value": "coredumpctl"
}
] |
[
{
"from": "human",
"value": "List captured core dumps for a program"
},
{
"from": "gpt",
"value": "coredumpctl list program"
}
] |
[
{
"from": "human",
"value": "Show information about the core dumps matching a program with `PID`"
},
{
"from": "gpt",
"value": "coredumpctl info PID"
}
] |
[
{
"from": "human",
"value": "Invoke debugger using the last core dump"
},
{
"from": "gpt",
"value": "coredumpctl debug"
}
] |
[
{
"from": "human",
"value": "Invoke debugger using the last core dump of a program"
},
{
"from": "gpt",
"value": "coredumpctl debug program"
}
] |
[
{
"from": "human",
"value": "Extract the last core dump of a program to a file"
},
{
"from": "gpt",
"value": "coredumpctl --output path/to/file dump program"
}
] |
[
{
"from": "human",
"value": "Skip debuginfod and pagination prompts and then print the backtrace when using `gdb`"
},
{
"from": "gpt",
"value": "coredumpctl debug --debugger-arguments \"-iex 'set debuginfod enabled on' -iex 'set pagination off' -ex bt\""
}
] |
[
{
"from": "human",
"value": "Enable ufw"
},
{
"from": "gpt",
"value": "ufw enable"
}
] |
[
{
"from": "human",
"value": "Disable ufw"
},
{
"from": "gpt",
"value": "ufw disable"
}
] |
[
{
"from": "human",
"value": "Show ufw rules, along with their numbers"
},
{
"from": "gpt",
"value": "ufw status numbered"
}
] |
[
{
"from": "human",
"value": "Allow incoming traffic on port 5432 on this host with a comment identifying the service"
},
{
"from": "gpt",
"value": "ufw allow 5432 comment \"Service\""
}
] |
[
{
"from": "human",
"value": "Allow only TCP traffic from 192.168.0.4 to any address on this host, on port 22"
},
{
"from": "gpt",
"value": "ufw allow proto tcp from 192.168.0.4 to any port 22"
}
] |
[
{
"from": "human",
"value": "Deny traffic on port 80 on this host"
},
{
"from": "gpt",
"value": "ufw deny 80"
}
] |
[
{
"from": "human",
"value": "Deny all UDP traffic to ports in range 8412:8500"
},
{
"from": "gpt",
"value": "ufw deny proto udp from any to any port 8412:8500"
}
] |
[
{
"from": "human",
"value": "Delete a particular rule. The rule number can be retrieved from the `ufw status numbered` command"
},
{
"from": "gpt",
"value": "ufw delete rule_number"
}
] |
[
{
"from": "human",
"value": "Build and switch to the new configuration, making it the boot default"
},
{
"from": "gpt",
"value": "sudo nixos-rebuild switch"
}
] |
[
{
"from": "human",
"value": "Build and switch to the new configuration, making it the boot default and naming the boot entry"
},
{
"from": "gpt",
"value": "sudo nixos-rebuild switch -p name"
}
] |
[
{
"from": "human",
"value": "Build and switch to the new configuration, making it the boot default and installing updates"
},
{
"from": "gpt",
"value": "sudo nixos-rebuild switch --upgrade"
}
] |
[
{
"from": "human",
"value": "Rollback changes to the configuration, switching to the previous generation"
},
{
"from": "gpt",
"value": "sudo nixos-rebuild switch --rollback"
}
] |
[
{
"from": "human",
"value": "Build the new configuration and make it the boot default without switching to it"
},
{
"from": "gpt",
"value": "sudo nixos-rebuild boot"
}
] |
[
{
"from": "human",
"value": "Build and activate the new configuration, but don't make a boot entry (for testing purposes)"
},
{
"from": "gpt",
"value": "sudo nixos-rebuild test"
}
] |
[
{
"from": "human",
"value": "Build the configuration and open it in a virtual machine"
},
{
"from": "gpt",
"value": "sudo nixos-rebuild build-vm"
}
] |
[
{
"from": "human",
"value": "Install a new package"
},
{
"from": "gpt",
"value": "sudo pacman -S package"
}
] |
[
{
"from": "human",
"value": "[S]ynchronize and refresh ([y]) the package database along with a sys[u]pgrade (add `--downloadonly` to only download the packages and not update them)"
},
{
"from": "gpt",
"value": "sudo pacman -Syu"
}
] |
[
{
"from": "human",
"value": "Update and [u]pgrade all packages and install a new one without prompting"
},
{
"from": "gpt",
"value": "sudo pacman -Syu --noconfirm package"
}
] |
[
{
"from": "human",
"value": "[s]earch the package database for a regular expression or keyword"
},
{
"from": "gpt",
"value": "pacman -Ss \"search_pattern\""
}
] |
[
{
"from": "human",
"value": "Display [i]nformation about a package"
},
{
"from": "gpt",
"value": "pacman -Si package"
}
] |
[
{
"from": "human",
"value": "Overwrite conflicting files during a package update"
},
{
"from": "gpt",
"value": "sudo pacman -Syu --overwrite path/to/file"
}
] |
[
{
"from": "human",
"value": "Remove not installed packages and unused repositories from the cache (use the flags `Sc` to [c]lean all packages)"
},
{
"from": "gpt",
"value": "sudo pacman -Sc"
}
] |
[
{
"from": "human",
"value": "Specify the package version that should be installed"
},
{
"from": "gpt",
"value": "sudo pacman -S package=version"
}
] |
[
{
"from": "human",
"value": "Display signatures for specified device"
},
{
"from": "gpt",
"value": "sudo wipefs /dev/sdX"
}
] |
[
{
"from": "human",
"value": "Wipe all available signature types for a specific device with no recursion into partitions"
},
{
"from": "gpt",
"value": "sudo wipefs [-a|--all] /dev/sdX"
}
] |
[
{
"from": "human",
"value": "Wipe all available signature types for the device and partitions using a glob pattern"
},
{
"from": "gpt",
"value": "sudo wipefs [-a|--all] /dev/sdX*"
}
] |
[
{
"from": "human",
"value": "Perform dry run"
},
{
"from": "gpt",
"value": "sudo wipefs [-a|--all] [-n|--no-act] /dev/sdX"
}
] |
[
{
"from": "human",
"value": "Force wipe, even if the filesystem is mounted"
},
{
"from": "gpt",
"value": "sudo wipefs [-a|--all] [-f|--force] /dev/sdX"
}
] |
[
{
"from": "human",
"value": "Create an ISO image from the given source directory"
},
{
"from": "gpt",
"value": "genisoimage -o myimage.iso path/to/source_directory"
}
] |
[
{
"from": "human",
"value": "Create an ISO image with files larger than 2GiB by reporting a smaller apparent size for ISO9660 filesystems"
},
{
"from": "gpt",
"value": "genisoimage -o -allow-limited-size myimage.iso path/to/source_directory"
}
] |
[
{
"from": "human",
"value": "List leftover files and interactively choose what to do with each of them"
},
{
"from": "gpt",
"value": "sudo rpmconf --all"
}
] |
[
{
"from": "human",
"value": "Delete orphaned RPMNEW and RPMSAVE files"
},
{
"from": "gpt",
"value": "sudo rpmconf --all --clean"
}
] |
[
{
"from": "human",
"value": "Create a `toolbox` container for a specific distribution"
},
{
"from": "gpt",
"value": "toolbox create --distro distribution"
}
] |
[
{
"from": "human",
"value": "Create a `toolbox` container for a specific release of the current distribution"
},
{
"from": "gpt",
"value": "toolbox create --release release"
}
] |
[
{
"from": "human",
"value": "Create a `toolbox` container with a custom image"
},
{
"from": "gpt",
"value": "toolbox create --image name"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.