conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Focus the given desktop"
},
{
"from": "gpt",
"value": "bspc desktop --focus number"
}
] |
[
{
"from": "human",
"value": "Close the windows rooted at the selected node"
},
{
"from": "gpt",
"value": "bspc node --close"
}
] |
[
{
"from": "human",
"value": "Send the selected node to the given desktop"
},
{
"from": "gpt",
"value": "bspc node --to-desktop number"
}
] |
[
{
"from": "human",
"value": "Toggle full screen mode for the selected node"
},
{
"from": "gpt",
"value": "bspc node --state ~fullscreen"
}
] |
[
{
"from": "human",
"value": "Set the value of a specific setting"
},
{
"from": "gpt",
"value": "bspc config setting_name value"
}
] |
[
{
"from": "human",
"value": "[R]emove a package and its dependencies recur[s]ively"
},
{
"from": "gpt",
"value": "sudo pacman -Rs package"
}
] |
[
{
"from": "human",
"value": "[R]emove a package and its dependencies. Also do [n]ot save backups of configuration files"
},
{
"from": "gpt",
"value": "sudo pacman -Rsn package"
}
] |
[
{
"from": "human",
"value": "[R]emove a package without prompting"
},
{
"from": "gpt",
"value": "sudo pacman -R --noconfirm package"
}
] |
[
{
"from": "human",
"value": "[R]emove orphan packages (installed as [d]ependencies but no[t] required by any package)"
},
{
"from": "gpt",
"value": "sudo pacman -Rsn $(pacman -Qdtq)"
}
] |
[
{
"from": "human",
"value": "[R]emove a package and [c]ascade that to all packages that depend on it"
},
{
"from": "gpt",
"value": "sudo pacman -Rc package"
}
] |
[
{
"from": "human",
"value": "List and [p]rint packages that would be affected (does not [R]emove any packages)"
},
{
"from": "gpt",
"value": "pacman -Rp package"
}
] |
[
{
"from": "human",
"value": "Display [h]elp"
},
{
"from": "gpt",
"value": "pacman -Rh"
}
] |
[
{
"from": "human",
"value": "Mark a package as implicitly installed"
},
{
"from": "gpt",
"value": "sudo pacman -D --asdeps package"
}
] |
[
{
"from": "human",
"value": "Mark a package as explicitly installed"
},
{
"from": "gpt",
"value": "sudo pacman -D --asexplicit package"
}
] |
[
{
"from": "human",
"value": "Chec[k] that all the package dependencies are installed"
},
{
"from": "gpt",
"value": "pacman -Dk"
}
] |
[
{
"from": "human",
"value": "Chec[k] the sync [D]atabase to ensure all specified dependencies of downloadable packages are available"
},
{
"from": "gpt",
"value": "pacman -Dkk"
}
] |
[
{
"from": "human",
"value": "Chec[k] and display in [q]uiet mode (only error messages are displayed)"
},
{
"from": "gpt",
"value": "pacman -Dkq"
}
] |
[
{
"from": "human",
"value": "Display [h]elp"
},
{
"from": "gpt",
"value": "pacman -Dh"
}
] |
[
{
"from": "human",
"value": "List available desktop themes"
},
{
"from": "gpt",
"value": "plasma-apply-desktoptheme --list-themes"
}
] |
[
{
"from": "human",
"value": "Apply a desktop theme"
},
{
"from": "gpt",
"value": "plasma-apply-desktoptheme default"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "plasma-apply-desktoptheme --help"
}
] |
[
{
"from": "human",
"value": "Display a simple message"
},
{
"from": "gpt",
"value": "whiptail --title \"title\" --msgbox \"message\" height_in_chars width_in_chars"
}
] |
[
{
"from": "human",
"value": "Display a boolean choice, returning the result through the exit code"
},
{
"from": "gpt",
"value": "whiptail --title \"title\" --yesno \"message\" height_in_chars width_in_chars"
}
] |
[
{
"from": "human",
"value": "Customise the text on the yes/no buttons"
},
{
"from": "gpt",
"value": "whiptail --title \"title\" --yes-button \"text\" --no-button \"text\" --yesno \"message\" height_in_chars width_in_chars"
}
] |
[
{
"from": "human",
"value": "Display a text input box"
},
{
"from": "gpt",
"value": "result_variable_name=\"$(whiptail --title \"title\" --inputbox \"message\" height_in_chars width_in_chars default_text 3>&1 1>&2 2>&3)\""
}
] |
[
{
"from": "human",
"value": "Display a password input box"
},
{
"from": "gpt",
"value": "result_variable_name=\"$(whiptail --title \"title\" --passwordbox \"message\" height_in_chars width_in_chars 3>&1 1>&2 2>&3)\""
}
] |
[
{
"from": "human",
"value": "Display a multiple-choice menu"
},
{
"from": "gpt",
"value": "result_variable_name=$(whiptail --title \"title\" --menu \"message\" height_in_chars width_in_chars menu_display_height \"value_1\" \"display_text_1\" \"value_n\" \"display_text_n\" ..... 3>&1 1>&2 2>&3)"
... |
[
{
"from": "human",
"value": "Recursively synchronize a directory to another location"
},
{
"from": "gpt",
"value": "fpsync -v /path/to/source/ /path/to/destination/"
}
] |
[
{
"from": "human",
"value": "Recursively synchronize a directory with the final pass (It enables rsync's `--delete` option with each synchronization job)"
},
{
"from": "gpt",
"value": "fpsync -v -E /path/to/source/ /path/to/destination/"
}
] |
[
{
"from": "human",
"value": "Recursively synchronize a directory to a destination using 8 concurrent synchronization jobs"
},
{
"from": "gpt",
"value": "fpsync -v -n 8 -E /path/to/source/ /path/to/destination/"
}
] |
[
{
"from": "human",
"value": "Recursively synchronize a directory to a destination using 8 concurrent synchronization jobs spread over two remote workers (machine1 and machine2)"
},
{
"from": "gpt",
"value": "fpsync -v -n 8 -E -w login@machine1 -w login@machine2 -d /path/to/shared/directory /path... |
[
{
"from": "human",
"value": "Recursively synchronize a directory to a destination using 4 local workers, each one transferring at most 1000 files and 100 MB per synchronization job"
},
{
"from": "gpt",
"value": "fpsync -v -n 4 -f 1000 -s $((100 * 1024 * 1024)) /path/to/source/ /path/to/destinati... |
[
{
"from": "human",
"value": "Recursively synchronize any directories but exclude specific `.snapshot*` files (Note: options and values must be separated by a pipe character)"
},
{
"from": "gpt",
"value": "fpsync -v -O \"-x|.snapshot*\" /path/to/source/ /path/to/destination/"
}
] |
[
{
"from": "human",
"value": "Connect to a remote host"
},
{
"from": "gpt",
"value": "rpcclient --user domain\\username%password ip"
}
] |
[
{
"from": "human",
"value": "Connect to a remote host on a domain without a password"
},
{
"from": "gpt",
"value": "rpcclient --user username --workgroup domain --no-pass ip"
}
] |
[
{
"from": "human",
"value": "Connect to a remote host, passing the password hash"
},
{
"from": "gpt",
"value": "rpcclient --user domain\\username --pw-nt-hash ip"
}
] |
[
{
"from": "human",
"value": "Execute shell commands on a remote host"
},
{
"from": "gpt",
"value": "rpcclient --user domain\\username%password --command semicolon_separated_commands ip"
}
] |
[
{
"from": "human",
"value": "Display domain users"
},
{
"from": "gpt",
"value": "rpcclient $> enumdomusers"
}
] |
[
{
"from": "human",
"value": "Display privileges"
},
{
"from": "gpt",
"value": "rpcclient $> enumprivs"
}
] |
[
{
"from": "human",
"value": "Display information about a specific user"
},
{
"from": "gpt",
"value": "rpcclient $> queryuser username|rid"
}
] |
[
{
"from": "human",
"value": "Create a new user in the domain"
},
{
"from": "gpt",
"value": "rpcclient $> createdomuser username"
}
] |
[
{
"from": "human",
"value": "Lock the screen to a blurred screenshot of the current screen"
},
{
"from": "gpt",
"value": "blurlock"
}
] |
[
{
"from": "human",
"value": "Lock the screen and disable the unlock indicator (removes feedback on keypress)"
},
{
"from": "gpt",
"value": "blurlock --no-unlock-indicator"
}
] |
[
{
"from": "human",
"value": "Lock the screen and don't hide the mouse pointer"
},
{
"from": "gpt",
"value": "blurlock --pointer default"
}
] |
[
{
"from": "human",
"value": "Lock the screen and show the number of failed login attempts"
},
{
"from": "gpt",
"value": "blurlock --show-failed-attempts"
}
] |
[
{
"from": "human",
"value": "Load a default keymap"
},
{
"from": "gpt",
"value": "loadkeys --default"
}
] |
[
{
"from": "human",
"value": "Load default keymap when an unusual keymap is loaded and `-` sign cannot be found"
},
{
"from": "gpt",
"value": "loadkeys defmap"
}
] |
[
{
"from": "human",
"value": "Create a kernel source table"
},
{
"from": "gpt",
"value": "loadkeys --mktable"
}
] |
[
{
"from": "human",
"value": "Create a binary keymap"
},
{
"from": "gpt",
"value": "loadkeys --bkeymap"
}
] |
[
{
"from": "human",
"value": "Search and parse keymap without action"
},
{
"from": "gpt",
"value": "loadkeys --parse"
}
] |
[
{
"from": "human",
"value": "Load the keymap suppressing all output"
},
{
"from": "gpt",
"value": "loadkeys --quiet"
}
] |
[
{
"from": "human",
"value": "Load a keymap from the specified file for the console"
},
{
"from": "gpt",
"value": "loadkeys --console /dev/ttyN /path/to/file"
}
] |
[
{
"from": "human",
"value": "Use standard names for keymaps of different locales"
},
{
"from": "gpt",
"value": "loadkeys --console /dev/ttyN uk"
}
] |
[
{
"from": "human",
"value": "Start monitoring NetworkManager changes"
},
{
"from": "gpt",
"value": "nmcli monitor"
}
] |
[
{
"from": "human",
"value": "Build the package in the current directory and run all tests directly on the system"
},
{
"from": "gpt",
"value": "autopkgtest -- null"
}
] |
[
{
"from": "human",
"value": "Run a specific test for the package in the current directory"
},
{
"from": "gpt",
"value": "autopkgtest --test-name=test_name -- null"
}
] |
[
{
"from": "human",
"value": "Download and build a specific package with `apt-get`, then run all tests"
},
{
"from": "gpt",
"value": "autopkgtest package -- null"
}
] |
[
{
"from": "human",
"value": "Test the package in the current directory using a new root directory"
},
{
"from": "gpt",
"value": "autopkgtest -- chroot path/to/new/root"
}
] |
[
{
"from": "human",
"value": "Test the package in the current directory without rebuilding it"
},
{
"from": "gpt",
"value": "autopkgtest --no-built-binaries -- null"
}
] |
[
{
"from": "human",
"value": "Sleep until all processes whose PIDs have been specified have exited"
},
{
"from": "gpt",
"value": "waitpid pid1 pid2 ..."
}
] |
[
{
"from": "human",
"value": "Sleep for at most `n` seconds"
},
{
"from": "gpt",
"value": "waitpid [-t|--timeout] n pid1 pid2 ..."
}
] |
[
{
"from": "human",
"value": "Do not error if specified PIDs have already exited"
},
{
"from": "gpt",
"value": "waitpid [-e|--exited] pid1 pid2 ..."
}
] |
[
{
"from": "human",
"value": "Sleep until `n` of the specified processes have exited"
},
{
"from": "gpt",
"value": "waitpid [-c|--count] n pid1 pid2 ..."
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "waitpid [-h|--help]"
}
] |
[
{
"from": "human",
"value": "List available scanners to ensure the target device is connected and recognized"
},
{
"from": "gpt",
"value": "scanimage -L"
}
] |
[
{
"from": "human",
"value": "Scan an image and save it to a file"
},
{
"from": "gpt",
"value": "scanimage --format=pnm|tiff|png|jpeg > path/to/new_image"
}
] |
[
{
"from": "human",
"value": "Display a list of known paths and their current values"
},
{
"from": "gpt",
"value": "systemd-path"
}
] |
[
{
"from": "human",
"value": "Query the specified path and display its value"
},
{
"from": "gpt",
"value": "systemd-path \"path_name\""
}
] |
[
{
"from": "human",
"value": "Suffix printed paths with `suffix_string`"
},
{
"from": "gpt",
"value": "systemd-path --suffix suffix_string"
}
] |
[
{
"from": "human",
"value": "Print a short version string and then exit"
},
{
"from": "gpt",
"value": "systemd-path --version"
}
] |
[
{
"from": "human",
"value": "Define group administrators"
},
{
"from": "gpt",
"value": "sudo gpasswd [-A|--administrators] user1,user2 group"
}
] |
[
{
"from": "human",
"value": "Set the list of group members"
},
{
"from": "gpt",
"value": "sudo gpasswd [-M|--members] user1,user2 group"
}
] |
[
{
"from": "human",
"value": "Create a password for the named group"
},
{
"from": "gpt",
"value": "gpasswd group"
}
] |
[
{
"from": "human",
"value": "Add a user to the named group"
},
{
"from": "gpt",
"value": "gpasswd [-a|--add] user group"
}
] |
[
{
"from": "human",
"value": "Remove a user from the named group"
},
{
"from": "gpt",
"value": "gpasswd [-d|--delete] user group"
}
] |
[
{
"from": "human",
"value": "Set policy to complain mode"
},
{
"from": "gpt",
"value": "sudo aa-complain path/to/profile1 path/to/profile2 ..."
}
] |
[
{
"from": "human",
"value": "Set policies to complain mode"
},
{
"from": "gpt",
"value": "sudo aa-complain --dir path/to/profiles"
}
] |
[
{
"from": "human",
"value": "Record a snippet in \"CD\" quality (finish with `<Ctrl c>` when done)"
},
{
"from": "gpt",
"value": "arecord -vv --format=cd path/to/file.wav"
}
] |
[
{
"from": "human",
"value": "Record a snippet in \"CD\" quality, with a fixed duration of 10 seconds"
},
{
"from": "gpt",
"value": "arecord -vv --format=cd --duration=10 path/to/file.wav"
}
] |
[
{
"from": "human",
"value": "Record a snippet and save it as an MP3 (finish with `<Ctrl c>` when done)"
},
{
"from": "gpt",
"value": "arecord -vv --format=cd --file-type raw | lame -r - path/to/file.mp3"
}
] |
[
{
"from": "human",
"value": "List all sound cards and digital audio devices"
},
{
"from": "gpt",
"value": "arecord --list-devices"
}
] |
[
{
"from": "human",
"value": "Allow interactive interface (e.g. use `<Space>` or `<Enter>` to play or pause)"
},
{
"from": "gpt",
"value": "arecord --interactive"
}
] |
[
{
"from": "human",
"value": "Test your microphone by recording a 5 second sample and playing it back"
},
{
"from": "gpt",
"value": "arecord -d 5 test-mic.wav && aplay test-mic.wav && rm test-mic.wav"
}
] |
[
{
"from": "human",
"value": "Show information for IPv4 and IPv6 sockets for both listening and connected sockets"
},
{
"from": "gpt",
"value": "sockstat"
}
] |
[
{
"from": "human",
"value": "Show information for IPv[4]/IPv[6] sockets [l]istening on specific [p]orts using a specific p[R]otocol"
},
{
"from": "gpt",
"value": "sockstat -4|6 -l -R tcp|udp|raw|unix -p port1,port2..."
}
] |
[
{
"from": "human",
"value": "Also show [c]onnected sockets and [u]nix sockets"
},
{
"from": "gpt",
"value": "sockstat -cu"
}
] |
[
{
"from": "human",
"value": "Only show sockets of the specified `pid` or process"
},
{
"from": "gpt",
"value": "sockstat -P pid|process"
}
] |
[
{
"from": "human",
"value": "Only show sockets of the specified `uid` or user"
},
{
"from": "gpt",
"value": "sockstat -U uid|user"
}
] |
[
{
"from": "human",
"value": "Only show sockets of the specified `gid` or group"
},
{
"from": "gpt",
"value": "sockstat -G gid|group"
}
] |
[
{
"from": "human",
"value": "Find out whether the network is connected and print the result to `stdout`"
},
{
"from": "gpt",
"value": "nm-online"
}
] |
[
{
"from": "human",
"value": "Wait `n` seconds for a connection (30 by default)"
},
{
"from": "gpt",
"value": "nm-online --timeout n"
}
] |
[
{
"from": "human",
"value": "Create a block device"
},
{
"from": "gpt",
"value": "sudo mknod path/to/device_file b major_device_number minor_device_number"
}
] |
[
{
"from": "human",
"value": "Create a character device"
},
{
"from": "gpt",
"value": "sudo mknod path/to/device_file c major_device_number minor_device_number"
}
] |
[
{
"from": "human",
"value": "Create a FIFO (queue) device"
},
{
"from": "gpt",
"value": "sudo mknod path/to/device_file p"
}
] |
[
{
"from": "human",
"value": "Create a device file with default SELinux security context"
},
{
"from": "gpt",
"value": "sudo mknod [-Z |--context=]path/to/device_file type major_device_number minor_device_number"
}
] |
[
{
"from": "human",
"value": "Translate IP addresses (IPv4 and IPv6) to the corresponding ARPA name"
},
{
"from": "gpt",
"value": "arpaname ip_address"
}
] |
[
{
"from": "human",
"value": "Remove a logical volume in a volume group"
},
{
"from": "gpt",
"value": "sudo lvremove volume_group/logical_volume"
}
] |
[
{
"from": "human",
"value": "Remove all logical volumes in a volume group"
},
{
"from": "gpt",
"value": "sudo lvremove volume_group"
}
] |
[
{
"from": "human",
"value": "List all ebuild repositories registered on <https://repos.gentoo.org>"
},
{
"from": "gpt",
"value": "eselect repository list"
}
] |
[
{
"from": "human",
"value": "List enabled repositories"
},
{
"from": "gpt",
"value": "eselect repository list -i"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.