Datasets:

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 This option cannot be unset once it has been set.?
-t Exit after reading and executing one command. -u Treat unset variables and parameters other than the special parameters
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1104, "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 newer. in bash?
You can remove the program binaries and object files from the
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2109, "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: `For example, if a variable var ...
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: `For example, if a variable var is declared as local in function`
returns..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 552, "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 consistent with that shorthand.
If the reserved word time precedes the pipeline,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 443, "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 implements shel...
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 implements shell-like quoting conventions:`
History expansions may appear anywhere in the input, but do not nest..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2060, "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: when used in redirections (see Redirections ).
--enable-process-substitution This enables process substitution (see Process Substitution ) if
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2183, "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: `sort file.txt | uniq -c | sort -r...
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: `sort file.txt | uniq -c | sort -rn`
Count occurrences of each line.
{ "row_kind": "cmd_to_explain", "category": "command", "source": "embedded", "distro": null, "corpus_index": 162, "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 has multi-character invocati...
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 has multi-character invocation options (see Invoking Bash ).`
differs from traditional sh behavior (see Bash and POSIX )..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2200, "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 can be configured to be POS...
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 can be configured to be POSIX -conformant by default, by specifying`
the echo builtin to be fully conformant..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1595, "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 than by an executable program somewhere in the file system.?
control operator ¶ A token that performs a control function.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 365, "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: `[[ $1 =~ ^[0-9]+$ ]] || { echo 'N...
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: `[[ $1 =~ ^[0-9]+$ ]] || { echo 'Not a number'; exit 1; }`
Validate that an argument is a number.
{ "row_kind": "cmd_to_explain", "category": "scripting", "source": "embedded", "distro": null, "corpus_index": 127, "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: `cp source.txt dest.txt`" }, {...
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: `cp source.txt dest.txt`
Copy a file.
{ "row_kind": "cmd_to_explain", "category": "command", "source": "embedded", "distro": null, "corpus_index": 132, "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 This has implications for conditional commands that test file attributes. in bash?
--enable-direxpand-default Cause the direxpand shell option (see The Shopt Builtin )
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2170, "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 the unset builtin command.
A variable is assigned to using a statement of the form name =[ value ] If value is not given, the variable is assigned the null string.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 563, "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.
List files with human-readable sizes
ls -lh
{ "row_kind": "nl_to_cmd", "category": "command", "source": "embedded", "distro": null, "corpus_index": 131, "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: `GLOBIGNORE shell variable.`" }...
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: `GLOBIGNORE shell variable.`
variable to filter the matches, but does not use the.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1936, "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 Declare an integer variable in bash?
declare -i count=0
{ "row_kind": "nl_to_cmd", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 12, "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 Install a package on Ubuntu
sudo apt install package_name
{ "row_kind": "nl_to_cmd", "category": "ubuntu", "source": "embedded", "distro": "ubuntu", "corpus_index": 306, "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: `possible-hostname-completions (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: `possible-hostname-completions (C-x @) ¶`
it as a hostname..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1895, "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: `[: class :] , where class is on...
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: `[: class :] , where class is one of the`
using the syntax.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 733, "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 Write command output to a file
echo hello > output.txt
{ "row_kind": "nl_to_cmd_alt", "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: `${ parameter :+ word }`" }, {...
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: `${ parameter :+ word }`
123.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 629, "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: `! expression`" }, { "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: `! expression`
This may be used to override the normal precedence of operators..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 515, "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: `It is requested, but not required...
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: `It is requested, but not required, that you contact the authors of the`
edition to the public..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2324, "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 Prompt user for input?
read -p 'Enter name: ' name
{ "row_kind": "nl_to_cmd_alt", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 7, "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: `nohup long_command &> output.log ...
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: `nohup long_command &> output.log &`
Run a command immune to hangup.
{ "row_kind": "cmd_to_explain", "category": "command", "source": "embedded", "distro": null, "corpus_index": 181, "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: `Substring expansion applied to an...
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: `Substring expansion applied to an associative array produces undefined`
$ echo ${array[@]: -7:0}.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 645, "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-help-builtin`" }, { ...
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-help-builtin`
bracket expressions..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2178, "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-extended-glob-default`" ...
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-extended-glob-default`
above under Pattern Matching ..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2175, "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 ${var/old/new}`" }, { ...
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 ${var/old/new}`
Replace first occurrence in variable.
{ "row_kind": "cmd_to_explain", "category": "syntax", "source": "embedded", "distro": null, "corpus_index": 90, "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: This connection is performed before any redirections specified by
command1 . If ‘ |& ’ is the pipeline operator, command1 ’s standard error, in addition to
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 441, "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 Remove comment lines from a file
sed '/^#/d' config.txt
{ "row_kind": "nl_to_cmd_alt", "category": "command", "source": "embedded", "distro": null, "corpus_index": 152, "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 Delete an environment variable?
unset MY_VAR
{ "row_kind": "nl_to_cmd_alt", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 31, "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: `shell-expand-line (M-C-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: `shell-expand-line (M-C-e) ¶`
pathname expansion..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1923, "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 permanently removes jobs fro...
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 permanently removes jobs from the jobs table after notifying the`
completes..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1546, "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 and 35.
Operators are evaluated in precedence order.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1433, "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 The keys and values are quoted in a format that can be reused as input. in bash?
a The expansion is a string consisting of flag values representing parameter ’s attributes. k Like the ‘ K ’ transformation, but expands the keys and values of
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 679, "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 variable when the shell exits, rather than overwriting the file.?
histreedit If set, and Readline is being used,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1160, "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 expand to nothing (i.e., they are removed).?
# ¶ ($#) Expands to the number of positional parameters in decimal. ? ¶ ($?) Expands to the exit status of the most recently executed command. - ¶ ($-, a hyphen.) Expands to the current option flags as specified upon
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 581, "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 SVR4.2 shell exits a script i...
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 SVR4.2 shell exits a script if any builtin fails; Bash exits`
with a ‘ - ’..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2299, "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_REMATCH ¶`" }, { "r...
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_REMATCH ¶`
subsequently reset..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1223, "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: `compgen ¶`" }, { "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: `compgen ¶`
be completed, and two to modify the completion as it is happening..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1957, "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: `ID ) receive keyboard-generated s...
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: `ID ) receive keyboard-generated signals such as SIGINT .`
process group ID is equal to the current terminal process group.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1638, "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: `grep -i 'error' log.txt`" }, ...
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: `grep -i 'error' log.txt`
Search case-insensitively.
{ "row_kind": "cmd_to_explain", "category": "command", "source": "embedded", "distro": null, "corpus_index": 146, "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: `These examples show how you can u...
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: `These examples show how you can use substring expansion with indexed`
It is an expansion error if length evaluates to a number less than zero..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 643, "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: `possible-username-completions (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: `possible-username-completions (C-x ~) ¶`
it as a username..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1891, "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 Bash hash builtin allows 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: `The Bash hash builtin allows a name to be associated with`
and values simultaneously..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2267, "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 (see Shell Parameter Expansion ).
Redirection errors encountered by shell builtins will not cause the
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1407, "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 less than zero, non-zero otherwise. in bash?
test ¶ [ test expr Evaluate a conditional expression expr and return a status of
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 923, "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: `sudo pacman -U package.pkg.tar.zs...
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: `sudo pacman -U package.pkg.tar.zst`
Install a local package file on Arch.
{ "row_kind": "cmd_to_explain", "category": "arch", "source": "embedded", "distro": "arch", "corpus_index": 285, "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: `Non-interactive shells exit if 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: `Non-interactive shells exit if a syntax error in an arithmetic expansion`
not print the function reserved word unless necessary..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1552, "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 a number of ways to ref...
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 a number of ways to refer to a job in the shell.`
send it the SIGSTOP signal using kill ..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1643, "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 a section in the Document is 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: `If a section in the Document is Entitled “Acknowledgements”,`
or disclaimer, the original version will prevail..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2350, "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 This option is on by default in interactive shells.?
ignoreeof An interactive shell will not exit upon reading EOF. keyword Same as -k . monitor Same as -m . noclobber Same as -C . noexec Same as -n . noglob Same as -f . nolog Currently ignored. notify Same as -b . nounset Same as -u . onecmd Same as...
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1099, "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 select for a menu
select opt in 'Option 1' 'Option 2' 'Quit'; do case $opt in Quit) break;; *) echo "You chose $opt";; esac done
{ "row_kind": "nl_to_cmd", "category": "syntax", "source": "embedded", "distro": null, "corpus_index": 105, "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: `vi mode does overwrite different...
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: `vi mode does overwrite differently.`
This command affects only emacs mode;.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1861, "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: `READLINE_ARGUMENT variable.`" ...
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: `READLINE_ARGUMENT variable.`
The shell assigns any numeric argument the user supplied to the.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 970, "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 Declare a read-only variable?
declare -r CONST='immutable'
{ "row_kind": "nl_to_cmd", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 13, "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: `PREFIX/etc/config.site if it exi...
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: `PREFIX/etc/config.site if it exists.`
looks for PREFIX/share/config.site if it exists, then.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2130, "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: `Creating Internationalized Script...
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: `Creating Internationalized Scripts ¶`
[ Contents ][ Index ].
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 413, "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 Compare two files
diff file1.txt file2.txt
{ "row_kind": "nl_to_cmd", "category": "command", "source": "embedded", "distro": null, "corpus_index": 219, "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 Afterwards, you can move the cursor to the right with C-f .
When you add text in the middle of a line, you will notice that characters
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1699, "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 just trapped signals.
The type and command builtins will not report a non-executable
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1585, "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: `diff -u original.txt modified.txt...
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: `diff -u original.txt modified.txt > changes.patch`
Patch a file.
{ "row_kind": "cmd_to_explain", "category": "command", "source": "embedded", "distro": null, "corpus_index": 221, "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: `--cache-file= file`" }, { ...
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: `--cache-file= file`
operates..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2133, "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 argument. in bash?
SECONDS ¶ This variable expands to the number of seconds since the shell was started.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1321, "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 mode.?
compat50 (set using BASH_COMPAT) Bash-5.1 changed the way $RANDOM is generated to introduce slightly
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1616, "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 If any of -D , -E , or -I are supplied, any other?
name arguments are ignored; these completions only apply to the case
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1967, "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 Add text to the end of a file?
echo more >> output.txt
{ "row_kind": "nl_to_cmd_alt", "category": "syntax", "source": "embedded", "distro": null, "corpus_index": 68, "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`" }, { "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: `history`
Show command history.
{ "row_kind": "cmd_to_explain", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 53, "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 Next: Comments , Previous: Shell Operation , Up: Shell Syntax   [ Contents ][ Index ]
3.1.2 Quoting ¶ Quoting is used to remove the special meaning of certain
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 395, "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 following two sets of command...
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 following two sets of commands are not equivalent:`
if they appeared in a quoted portion..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 506, "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: `direxpand`" }, { "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: `direxpand`
versions through 4.2..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1139, "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 Details of an installed package?
pacman -Qi package_name
{ "row_kind": "nl_to_cmd_alt", "category": "arch", "source": "embedded", "distro": "arch", "corpus_index": 277, "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 (see Variable Settings in Readline Init File Syntax ).
\e An escape character. \\ Backslash. \" " , a double quotation mark. \' ' , a single quote or apostrophe. In addition to the GNU Emacs style escape sequences, a second
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1794, "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: `wc -lwc file.txt`" }, { "...
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: `wc -lwc file.txt`
Count words, lines, characters.
{ "row_kind": "cmd_to_explain", "category": "command", "source": "embedded", "distro": null, "corpus_index": 167, "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 60 days after the cessation.
Moreover, your license from a particular copyright holder is
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2353, "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 or there is an error loading a new builtin from a shared object.
help ¶ help [-dms] [ pattern ] Display helpful information about builtin commands.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1010, "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": "assist...
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: `%%`
follows; the brackets denote optional portions..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1327, "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: `while or until reserved word,`...
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: `while or until reserved word,`
command list immediately following a.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1087, "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 This command affects only emacs mode;?
vi mode does overwrite differently.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1861, "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 current behavior.
Bash-4.3 introduced a new shell variable: BASH_COMPAT .
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1600, "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: `HISTFILESIZE ¶`" }, { "r...
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: `HISTFILESIZE ¶`
the shell does not save the command history when it exits..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1280, "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: as timestamps for the following history entry.
The return value is 0 unless an invalid option is encountered, an
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2050, "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 a command in the hash table ...
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 a command in the hash table no longer exists, Bash will re-search`
contains one or more slashes..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1541, "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 esac?
case will selectively execute the command-list corresponding to
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 473, "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: `sudo systemctl start nginx`" },...
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: `sudo systemctl start nginx`
Start a service.
{ "row_kind": "cmd_to_explain", "category": "command", "source": "embedded", "distro": null, "corpus_index": 253, "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: `TERMINATION`" }, { "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: `TERMINATION`
title..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2351, "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.
(a destructive backspace),
SPACE , SPC ,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1788, "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: if input does not arrive within a specified number of seconds, the
-n option will allow reading only a specified number of
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2273, "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 example: in bash?
case "$-" in
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1389, "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 ways to indicate various failure modes.?
When a command terminates on a fatal signal whose number is N ,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 824, "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-word (M-f) ¶`" }, { ...
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-word (M-f) ¶`
This may also be bound to the left arrow key on some keyboards..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1823, "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 each directory of the package (the top directory, the
builtins , doc , po , and support directories,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2099, "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 The default is ‘ (cmd) ’.?
vi-ins-mode-string ¶ If the show-mode-in-prompt variable is enabled,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1778, "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 ade ace abe
A sequence expression takes the form x .. y [.. incr ] ,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 598, "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 for both reading and writing on file descriptor
n , or on file descriptor 0 if n
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 784, "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: `logout ¶`" }, { "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: `logout ¶`
readonly variable..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1021, "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 change from the default Emacs-like key binding to use?
vi line editing commands: set editing-mode vi Variable names and values, where appropriate, are recognized without
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1725, "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 Disown a background job
disown %1
{ "row_kind": "nl_to_cmd", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 51, "augmentation_kind": "none" }