messages listlengths 3 3 | system stringclasses 2
values | user stringlengths 1 191 | response stringlengths 2 500 | metadata unknown |
|---|---|---|---|---|
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | What's the best way to For instance,? | ${FUNCNAME[$i]} | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1261,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `SIGHUP to a job when the shell e... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `SIGHUP to a job when the shell exits as the result of a` | job table (see Job Control Builtins ) or suppress sending. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 2263,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | What is the command to "\e[B": history-search-forward? | History customization
The HISTCONTROL variable can prevent certain commands from being logged to the history.
To stop logging of consecutive identical commands:
~/.bashrc
export HISTCONTROL=ignoredups
To remove all but the last identical command:
~/.bashrc
export HISTCONTROL=erasedups
To avoid saving... | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://wiki.archlinux.org/title/Bash",
"distro": null,
"corpus_index": 2374,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | Change permissions on a directory tree | chmod -R 644 /path/to/dir/ | {
"row_kind": "nl_to_cmd_alt",
"category": "command",
"source": "embedded",
"distro": null,
"corpus_index": 185,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `echo $((5 + 3 * 2))`"
},
{
... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `echo $((5 + 3 * 2))` | Use arithmetic expansion. | {
"row_kind": "cmd_to_explain",
"category": "syntax",
"source": "embedded",
"distro": null,
"corpus_index": 62,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | How do I Show network config on Ubuntu with netplan? | cat /etc/netplan/*.yaml | {
"row_kind": "nl_to_cmd",
"category": "ubuntu",
"source": "embedded",
"distro": "ubuntu",
"corpus_index": 336,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `$ ¶`"
},
{
"role": "assi... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `$ ¶` | (such as the -i option).. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 582,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | beyond the simple generation of completions. | comp-option may be one of:
bashdefault
Perform the rest of the default Bash completions if the compspec | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1971,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `exec /bin/zsh`"
},
{
"rol... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `exec /bin/zsh` | Execute a command replacing the shell. | {
"row_kind": "cmd_to_explain",
"category": "builtin",
"source": "embedded",
"distro": null,
"corpus_index": 18,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | How can I (see Bash Variables ). in bash? | Bash expands and displays PS1 before reading the first line | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1396,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `bg returns zero unless it is ru... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `bg returns zero unless it is run when job control is not` | notion of the current job.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1652,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `. (a period) ¶`"
},
{
... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `. (a period) ¶` | The return status is zero.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 861,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | How can I Redirect stdout to a file in bash? | echo hello > output.txt | {
"row_kind": "nl_to_cmd",
"category": "syntax",
"source": "embedded",
"distro": null,
"corpus_index": 67,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `UID ¶`"
},
{
"role": "as... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `UID ¶` | Bash creates temporary files for the shell’s use.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1334,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `history-expand-line (M-^) ¶`"
... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `history-expand-line (M-^) ¶` | An explicit argument suppresses command and process substitution.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1924,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | What is the command to List installed Arch groups? | pacman -Qg | {
"row_kind": "nl_to_cmd",
"category": "arch",
"source": "embedded",
"distro": "arch",
"corpus_index": 303,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | How do I Check for sudo in a script? | if [[ $EUID -ne 0 ]]; then
echo 'This script must be run as root'
exit 1
fi | {
"row_kind": "nl_to_cmd_alt",
"category": "scripting",
"source": "embedded",
"distro": null,
"corpus_index": 112,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | Write a command that will Next: The Directory Stack , Previous: Aliases , Up: Bash Features [ Contents ][ Index ] | 6.7 Arrays ¶
Bash | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1443,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | What's the best way to next paragraph.? | If you do not have a Meta or ALT key, or another key working as | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1690,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `-A action`"
},
{
"role":... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `-A action` | matches to the results of the other actions.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1978,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `Variables local to the function a... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `Variables local to the function are declared with the` | before the return .. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 548,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `When you enter a line in vi mod... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `When you enter a line in vi mode, you are already placed in` | The Readline default is emacs mode.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1929,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | How do I more memory (sometimes many times more, depending on how sparse an array is).? | --enable-arith-for-command
Include support for the alternate form of the for command | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 2159,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `export ¶`"
},
{
"role": ... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `export ¶` | Any trap on EXIT is executed before the shell terminates.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 889,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | Show me how to use file instead of ~/.bashrc . | So, typically, your ~/.bash_profile contains the line
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
after (or before) any login-specific initializations.
Invoked non-interactively ¶
When Bash is started non-interactively, to run a shell script, | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1369,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `cd ¶`"
},
{
"role": "ass... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `cd ¶` | The return status is zero unless n is not greater than or equal to 1.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 869,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | Can you help me The special limit values hard , soft , and? | unlimited stand for the current hard limit, the current soft limit, | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1074,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | How can I Write a while loop in bash? | while read -r line; do
echo "$line"
done < file.txt | {
"row_kind": "nl_to_cmd",
"category": "syntax",
"source": "embedded",
"distro": null,
"corpus_index": 101,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | How can I GNU Parallel is a tool to do just that. in bash? | GNU Parallel, as its name suggests, can be used to build and run commands | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 531,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `A shell allows execution of GNU ... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `A shell allows execution of GNU commands, both synchronously and` | from a file or a string.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 357,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | What is the command to of it. In addition, you must do these things in the Modified Version:? | Use in the Title Page (and on the covers, if any) a title distinct | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 2326,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | I need to parameter expansion. | Each of the shell metacharacters (see Definitions ) | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 396,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `command executes, and restores ... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `command executes, and restores REPLY to the value it had` | Bash creates REPLY as an initially-unset local variable when. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 690,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `The parser does not recognize ti... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `The parser does not recognize time as a reserved word if the next` | The TIMEFORMAT variable controls the format of the timing information.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1528,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `If the login name is invalid, or ... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `If the login name is invalid, or the tilde expansion fails, the` | the replacement is not subject to word splitting and filename expansion.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 612,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | I need to regardless of the setting of the | mark-symlinked-directories Readline variable.
There is some support for dynamically modifying completions. | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1953,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `pwd`"
},
{
"role": "assis... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `pwd` | Print the current working directory. | {
"row_kind": "cmd_to_explain",
"category": "builtin",
"source": "embedded",
"distro": null,
"corpus_index": 3,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | Use a pipe to chain commands | ls -la | grep '.txt' | {
"row_kind": "nl_to_cmd",
"category": "syntax",
"source": "embedded",
"distro": null,
"corpus_index": 76,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `REPLY ¶`"
},
{
"role": "... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `REPLY ¶` | ‘ bind -x ’ (see Bash Builtin Commands ).. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1320,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | How can I for possible completions when completion is attempted on an empty line. in bash? | nocaseglob
If set, Bash matches filenames in a case-insensitive fashion when | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1173,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `There are several single-characte... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `There are several single-character options that may be supplied at` | Bash on the standard output and exit successfully.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1350,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | What is the command to Read a file line by line? | while read -r line; do
echo "$line"
done < file.txt | {
"row_kind": "nl_to_cmd_alt",
"category": "syntax",
"source": "embedded",
"distro": null,
"corpus_index": 101,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `transpose-words (M-t) ¶`"
},
... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `transpose-words (M-t) ¶` | Negative arguments have no effect.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1855,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `source builtins finishes executi... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `source builtins finishes executing.` | each time a shell function or a script executed with the . or. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 946,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `time prints three digits after t... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `time prints three digits after the decimal point.` | If p is not specified,. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1329,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `Redirection allows commands’ fil... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `Redirection allows commands’ file handles to be` | using a special notation interpreted by the shell.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 747,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | What's the best way to It returns false when it encounters the end of options or if an error occurs.? | hash ¶
hash [-r] [-p filename ] [-dt] [ name ]
Each time hash is invoked, it remembers the full filenames of the | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 908,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | Give me the command for: function has been given the trace attribute or the | functrace option has been enabled using the shopt builtin.
The Bash type builtin is more extensive and gives more information | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 2285,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | Can you help me Return to previous directory? | cd - | {
"row_kind": "nl_to_cmd_alt",
"category": "builtin",
"source": "embedded",
"distro": null,
"corpus_index": 2,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `n must be a non-negative number ... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `n must be a non-negative number less than or equal to $# .` | are unset.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 922,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `ps auxf`"
},
{
"role": "a... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `ps auxf` | Show processes in a tree. | {
"row_kind": "cmd_to_explain",
"category": "command",
"source": "embedded",
"distro": null,
"corpus_index": 175,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `getopts 'hv:o:' opt`"
},
{
... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `getopts 'hv:o:' opt` | Parse command-line options. | {
"row_kind": "cmd_to_explain",
"category": "builtin",
"source": "embedded",
"distro": null,
"corpus_index": 37,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | Show me how to How to monitor a log? | tail -f /var/log/syslog | {
"row_kind": "nl_to_cmd_alt",
"category": "command",
"source": "embedded",
"distro": null,
"corpus_index": 170,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `pacman -Ss search_term`"
},
{... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `pacman -Ss search_term` | Search for a package on Arch. | {
"row_kind": "cmd_to_explain",
"category": "arch",
"source": "embedded",
"distro": "arch",
"corpus_index": 274,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | How do I does not attempt to read any other startup files.? | When invoked as sh , Bash enters POSIX mode after reading | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1379,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | Write a command that will Hex dump a file | xxd file.bin | head | {
"row_kind": "nl_to_cmd_alt",
"category": "command",
"source": "embedded",
"distro": null,
"corpus_index": 227,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | special pattern characters where that’s necessary. | The array variable BASH_REMATCH records which parts of the string | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 511,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | Give me the command for: reference on shell behavior. | Table of Contents
1 Introduction
1.1 What is Bash?
1.2 What is a shell?
2 Definitions
3 Basic Shell Features
3.1 Shell Syntax
3.1.1 Shell Operation
3.1.2 Quoting
3.1.2.1 Escape Character
3.1.2.2 Single Quotes
3.1... | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 348,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | Write a command that will The default is ‘ (ins) ’. | visible-stats ¶
If set to ‘ on ’, a character denoting a file’s type | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1779,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | Can you help me /usr/local? | -T
If set, any traps on DEBUG and RETURN are inherited by | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1114,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `Simply naming a job can be used t... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `Simply naming a job can be used to bring it into the foreground:` | previous job with a ‘ - ’.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1646,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | Write a command that will Install an older version of a package | sudo pacman -U /var/cache/pacman/pkg/package-old.pkg.tar.zst | {
"row_kind": "nl_to_cmd_alt",
"category": "arch",
"source": "embedded",
"distro": "arch",
"corpus_index": 284,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `PS0 ¶`"
},
{
"role": "as... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `PS0 ¶` | Characters removed are replaced with an ellipsis.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1312,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | How do I to the variable whose name was passed as $1 .? | If the control variable in a for loop has the nameref attribute, | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 570,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | I need to When the shell is in | POSIX mode (see Bash and POSIX ), | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 404,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `includedir and libdir , which a... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `includedir and libdir , which are subdirectories of prefix` | supplied, configure uses the values of the make variables. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 2144,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `DEBUG and RETURN traps.`"
},... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `DEBUG and RETURN traps.` | subshells invoked with ( command ) inherit the. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1150,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | Write a command that will These commands are implemented as specified by the POSIX standard. | : (a colon) ¶
: [ arguments ]
Do nothing beyond expanding arguments and performing redirections. | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 860,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | executing any editing commands. | Bracketed paste sets the region (the characters between point and the mark) | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1853,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | How can I being closed. in bash? | CHILD_MAX ¶
Set the number of exited child status values for the shell to remember. | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1232,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `History expansion is enabled by d... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `History expansion is enabled by default for interactive shells,` | history information.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 2053,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `If the required texts for either ... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `If the required texts for either cover are too voluminous to fit` | as verbatim copying in other respects.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 2322,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `/etc/profile and ~/.profile ,`"... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `/etc/profile and ~/.profile ,` | and execute commands from. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1375,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | Show me how to Global search and replace in a variable | echo ${var//old/new} | {
"row_kind": "nl_to_cmd_alt",
"category": "syntax",
"source": "embedded",
"distro": null,
"corpus_index": 91,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | Show me how to do | echo you picked $fname \($REPLY\)
break; | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 487,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | Can you help me The --noprofile option inhibits this behavior.? | When invoked as an interactive shell with the name sh , Bash | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1376,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `The format is reused as necessa... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `The format is reused as necessary to consume all of the arguments .` | the following character, using the current locale.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1043,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `3.2.2 Simple Commands ¶`"
},
... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `3.2.2 Simple Commands ¶` | Next: Pipelines , Previous: Reserved Words , Up: Shell Commands [ Contents ][ Index ]. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 437,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | can appear in the prompt variables PS0 , PS1 , PS2 , and | PS4 :
\a
A bell character.
\d
The date, in "Weekday Month Date" format (e.g., "Tue May 26").
\D{ format }
The format is passed to strftime (3) and the result is inserted | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1498,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | What is the command to place later.? | When you use a kill command, the text is saved in a kill-ring . | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1705,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | Run a container | docker run -d -p 8080:80 --name web nginx | {
"row_kind": "nl_to_cmd",
"category": "command",
"source": "embedded",
"distro": null,
"corpus_index": 263,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | I need to option. | When the shell is not interactive, | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 948,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `This is happening because pacman... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `This is happening because pacman has detected a file conflict, and by design, will not overwrite files for you. This is by design, not a flaw.` | Errors occurred, no packages were upgraded.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://wiki.archlinux.org/title/Pacman",
"distro": null,
"corpus_index": 2388,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `If the value of IFS consists so... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `If the value of IFS consists solely of IFS whitespace,` | then splits the remaining words.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 709,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `systemctl list-units --type=servi... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `systemctl list-units --type=service --state=running` | Show all running services. | {
"row_kind": "cmd_to_explain",
"category": "command",
"source": "embedded",
"distro": null,
"corpus_index": 258,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | What's the best way to Encode text as base64? | echo -n 'hello' | base64 | {
"row_kind": "nl_to_cmd_alt",
"category": "command",
"source": "embedded",
"distro": null,
"corpus_index": 236,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `<( list ) form is used, reading ... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `<( list ) form is used, reading the file` | If the. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 701,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `log() {`"
},
{
"role": "a... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `log() {` | Log messages with timestamps. | {
"row_kind": "cmd_to_explain",
"category": "scripting",
"source": "embedded",
"distro": null,
"corpus_index": 117,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | I need to This is intended to be a count of how deeply your Bash shells are nested. | SRANDOM ¶
This variable expands to a 32-bit pseudo-random number each time it is | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1325,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `character-search (C-]) ¶`"
},
... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `character-search (C-]) ¶` | then set the mark to the old cursor position.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1910,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | Give me the command for: How to add timestamps to log output? | log() {
echo "[$(date '+%Y-%m-%d %H:%M:%S')] $*"
} | {
"row_kind": "nl_to_cmd_alt",
"category": "scripting",
"source": "embedded",
"distro": null,
"corpus_index": 117,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `9.3.3 Modifiers ¶`"
},
{
... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `9.3.3 Modifiers ¶` | Previous: Word Designators , Up: History Expansion [ Contents ][ Index ]. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 2085,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | Prevent a package from being upgraded | sudo apt-mark hold package_name | {
"row_kind": "nl_to_cmd_alt",
"category": "ubuntu",
"source": "embedded",
"distro": "ubuntu",
"corpus_index": 338,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | I need to Next: Shell Parameter Expansion , Previous: Brace Expansion , Up: Shell Expansions [ Contents ][ Index ] | 3.5.2 Tilde Expansion ¶
If a word begins with an unquoted tilde character (‘ ~ ’), all of the | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 608,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `Bash implements extended pattern ... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `Bash implements extended pattern matching features when the extglob` | collating symbols (see Filename Expansion ).. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 2242,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `6.4 Bash Conditional Expressions ... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `6.4 Bash Conditional Expressions ¶` | Next: Shell Arithmetic , Previous: Interactive Shells , Up: Bash Features [ Contents ][ Index ]. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1412,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `--enable-brace-expansion`"
},
... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `--enable-brace-expansion` | array variable.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 2163,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences."
},
{
"role": "user",
"content": "Explain this bash command: `forward-backward-delete-char () ... | You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences. | Explain this bash command: `forward-backward-delete-char () ¶` | instead of deleting them.. | {
"row_kind": "cmd_to_explain",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 1850,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | Write a command that will the source code in /usr/local/src/bash-4.4 : | mkdir /usr/local/build/bash-4.4 | {
"row_kind": "nl_to_cmd",
"category": "fetched",
"source": "https://www.gnu.org/software/bash/manual/bash.html",
"distro": null,
"corpus_index": 2103,
"augmentation_kind": "none"
} |
[
{
"role": "system",
"content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do... | You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked. | What's the best way to Remove carriage returns? | tr -d '\r' < file.txt | {
"row_kind": "nl_to_cmd_alt",
"category": "command",
"source": "embedded",
"distro": null,
"corpus_index": 165,
"augmentation_kind": "none"
} |
End of preview. Expand in Data Studio
Bash & Linux CLI Dataset
What This Dataset Is
A supervised fine-tuning (SFT) dataset that teaches a language model to produce correct Bash commands, shell scripts, and Linux CLI operations — including Arch Linux and Ubuntu/Debian specifics. The assistant responses are executable commands or scripts that directly accomplish the user's stated task. Explanatory rows describe what a given command does, its key flags, and caveats.
Sources (provenance-tracked)
| Source | Type | Content |
|---|---|---|
| Embedded corpus (345 entries) | Static | Bash builtins ( |
| GNU Bash Reference Manual | Fetched + cached | Official Bash 5.3 reference (builtins, expansions, syntax) |
| Arch Wiki — Bash | Fetched + cached | Arch-specific Bash configuration and tips |
| Arch Wiki — Pacman | Fetched + cached | Package management operations |
| Greg's Wiki — BashPitfalls | Fetched + cached | Common scripting mistakes and correct alternatives |
| Greg's Wiki — BashFAQ | Fetched + cached | Frequently asked Bash scripting questions |
Embedded corpus categories
| Category | Count | Description |
|---|---|---|
builtin |
~55 | All major Bash builtins (cd, echo, read, export, trap, set, declare, getopts, history, etc.) |
syntax |
~40 | Quoting, expansion, redirection, pipes, heredocs, process substitution, globbing, parameter expansion, control flow (if, for, while, case, select) |
command |
~100 | grep, sed, awk, find, xargs, sort, cut, tr, curl, rsync, ssh, tar, chmod, git, docker, systemctl, journalctl, etc. |
scripting |
~25 | Strict mode, functions, argument parsing, temp files, lock files, retry patterns, arrays, associative arrays |
arch |
~35 | pacman operations, AUR (yay/paru), makepkg, mkinitcpio, reflector, NetworkManager, kernel management |
ubuntu |
~35 | apt/dpkg, Snaps, PPAs, ufw, netplan, do-release-upgrade, update-alternatives, Flatpak |
System prompts
SYSTEM_CMD— Produce the exact command or script. Use best-practice flags, POSIX-compatible syntax where possible,&&for chaining. No commentary unless asked.SYSTEM_EXPLAIN— Explain what a command does, its key flags, and caveats, in 1–3 sentences.SYSTEM_SCRIPT— Write a complete runnable script with#!/usr/bin/env bash,set -euo pipefail, and proper error handling.
Row kinds
nl_to_cmd— Natural language task → exact command(s).nl_to_cmd_alt— Alternative phrasing of the same task → same command.cmd_to_explain— Command string → plain-English description.
Augmentation kinds
none— Direct from embedded or fetched corpus.distro_slot— Generic command reframed with "on Arch Linux" or "on Ubuntu" suffix in the user prompt; same assistant answer.oversample— Same assistant answer, user prompt rewritten with a different NL template from a bank of 10 phrasings.
Scale
| Mode | Typical Row Count |
|---|---|
Base (no --augment) |
~5,100 |
--augment --target-rows 1000000 |
1,000,000 |
What This Dataset Is NOT
- Not a Bash tutorial or course. Rows are isolated Q&A pairs, not sequential lessons. There is no curriculum ordering or prerequisite tracking.
- Not shell-agnostic. Commands target Bash specifically. Zsh, Fish, and POSIX
shmay diverge on syntax ([[ ]], arrays,shopt, process substitution). The dataset does not flag Bash-only constructs. - Not a complete man-page replacement. Coverage prioritizes commonly used flags and patterns. Obscure options and corner-case behaviors of each command are not exhaustively documented.
- Not distro-neutral. Arch and Ubuntu rows use distro-specific package managers (
pacman,apt), init systems, and config paths. They will produce incorrect commands on Fedora, Alpine, or other distributions. - Not a system administration runbook. It teaches individual commands and short scripts, not multi-step infrastructure deployment, monitoring strategy, or incident response procedures.
- Not validated against a specific Bash version. Most syntax targets Bash 4.4+ / 5.x. Some constructs (
${var,,},${var^^},declare -A,mapfile) require Bash 4.0 or later and will fail on older systems. - Not safety-filtered. Destructive commands (
rm -rf,dd,mkfs) appear as valid answers. No refusal patterns or warnings are included. Apply your own safety layer if needed.
- Downloads last month
- 32