Datasets:

messages
listlengths
3
3
system
stringclasses
2 values
user
stringlengths
1
191
response
stringlengths
2
500
metadata
unknown
[ { "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: `awk '{sum += $1} END {print sum}'...
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: `awk '{sum += $1} END {print sum}' numbers.txt`
Sum a column with awk.
{ "row_kind": "cmd_to_explain", "category": "command", "source": "embedded", "distro": null, "corpus_index": 156, "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.1.2.1 Escape Character ¶`" }...
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.1.2.1 Escape Character ¶`
Next: Single Quotes , Up: Quoting   [ Contents ][ Index ].
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 401, "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 pattern is used for filena...
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 pattern is used for filename expansion, the character ‘ . ’`
without regard to the case of alphabetic characters..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 716, "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: Change file encoding to UTF-8
iconv -f ISO-8859-1 -t UTF-8 input.txt > output.txt
{ "row_kind": "nl_to_cmd_alt", "category": "command", "source": "embedded", "distro": null, "corpus_index": 234, "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 to exit).?
When executing a shell function, the loop state (while/until/etc.)
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1612, "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 shell with history enabled...
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 shell with history enabled exits, Bash copies the last`
multi-line entries possible..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2025, "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 a Meta key, you can generally achieve the latter effect by typing ESC
first , and then typing k .
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1691, "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 pathname expansion patterns (see Filename Expansion ), and so on.?
Once installed using complete , _comp_cd will be called every
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2016, "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 subsequently reset.?
BASH_TRAPSIG ¶ Set to the signal number corresponding to the trap action being executed
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1227, "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 How to return an error from a script??
exit 1
{ "row_kind": "nl_to_cmd_alt", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 21, "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: `!ssh`" }, { "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: `!ssh`
Run the last command starting with 'ssh'.
{ "row_kind": "cmd_to_explain", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 56, "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 If-then-else on one line?
((x > 5)) && echo big || echo small
{ "row_kind": "nl_to_cmd_alt", "category": "syntax", "source": "embedded", "distro": null, "corpus_index": 95, "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-multibyte`" }, { ...
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-multibyte`
if the operating system supports them..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2181, "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 may be shortened to !$ .?
!fi:2 designates the second argument of the most recent command starting with
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2078, "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: `Reads its input from a file (see ...
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: `Reads its input from a file (see Shell Scripts ), from a string`
Basically, the shell does the following:.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 389, "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 may not be included in the Modified Version.
Do not retitle any existing section to be Entitled “Endorsements” or
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2337, "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 (see History Expansion ).?
Bash supports the $'…' quoting syntax, which expands ANSI-C
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2208, "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: Bash attempts to read
/etc/hosts
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1289, "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 using a special notation interpreted by the shell.
Redirection allows commands’ file handles to be
{ "row_kind": "nl_to_cmd", "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.
How can I publisher of the version it refers to gives permission. in bash?
For any section Entitled “Acknowledgements” or “Dedications”, Preserve
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2334, "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 To turn off the default use of a package, use?
--without- package .
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2138, "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 array variable BASH_REMATCH ...
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 array variable BASH_REMATCH records which parts of the string`
special pattern characters where that’s necessary..
{ "row_kind": "cmd_to_explain", "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.
How can I to be used in an expression. in bash?
Integer constants follow the C language definition, without suffixes or
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1432, "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_CMDS ¶`" }, { "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: `BASH_CMDS ¶`
subsequently reset..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1214, "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 options or allow them to be specified. in bash?
Invoked with unequal effective and real UID/GID s ¶ If Bash is started with the effective user (group) id not equal to the
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1384, "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 local variables in bash
local result=0
{ "row_kind": "nl_to_cmd_alt", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 11, "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 ‘ > output ’ into the line).?
This key binding syntax recognizes a number of symbolic character names: DEL , ESC , ESCAPE , LFD , NEWLINE , RET , RETURN , RUBOUT
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1787, "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 enclosed as follows: in bash?
$( command ) or (deprecated) ` command `. Bash performs command substitution by executing command in a subshell
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 682, "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: `exit ¶`" }, { "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: `exit ¶`
otherwise the return status is non-zero..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 888, "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 Documentation and other data files will still use the regular prefix.?
If you would like to change the installation locations for a single run,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2119, "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 synonym for mapfile .`" }, ...
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 synonym for mapfile .`
if the -u option is supplied..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1060, "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 If the cd fails, pushd returns a non-zero value.?
Otherwise, if no arguments are supplied, pushd returns zero
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1495, "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 Show current directory?
pwd
{ "row_kind": "nl_to_cmd_alt", "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.
What is the command to is supported (see Shell Parameter Expansion ).?
The expansion ${var: offset [: length ]} ,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2225, "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: `. and .. never match, even if ...
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: `. and .. never match, even if the pattern begins`
If the globskipdots shell option is enabled, the filenames.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 717, "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 indicate specific failure modes.
For the shell’s purposes, a command which exits with a
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 823, "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 subsequent commands.?
-b Cause the status of terminated background jobs to be reported
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1085, "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: Pin a package version on Ubuntu
sudo apt-mark hold package_name
{ "row_kind": "nl_to_cmd", "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.
Give me the command for: list printed by dirs ), starting with zero, from the stack.
- N Remove the N th directory (counting from the right of the
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1486, "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 th...
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 there is a syntax error in a script read`
is not found..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1557, "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 Kill process by command pattern?
pkill -f 'python server'
{ "row_kind": "nl_to_cmd_alt", "category": "command", "source": "embedded", "distro": null, "corpus_index": 179, "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 indication of whether or not a history entry has been modified.?
The default editor used by fc is ed . fc treats extra arguments as an error instead of ignoring them. If there are too many arguments supplied to fc -s , fc prints
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1571, "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 How do I catch Ctrl+C?
trap 'echo caught SIGINT' INT
{ "row_kind": "nl_to_cmd_alt", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 19, "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 attribute itself, are perform...
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 attribute itself, are performed on the variable referenced by`
to name , except for those using or changing the.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 992, "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 (e.g., unset ’a[4]’).
The declare , local , and readonly
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1472, "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: `bashbug into /bin instead of 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: `bashbug into /bin instead of the default /usr/local/bin .`
‘ make install exec_prefix=/ ’ will install bash and.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2120, "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: `HISTSIZE ¶`" }, { "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: `HISTSIZE ¶`
provides the functionality of ignoreboth ..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1286, "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 the nocaseglob option is set, the matching against the patterns in
GLOBIGNORE is performed without regard to case.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 722, "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 Indexing starts at zero.
When assigning to an associative array, the words in a compound assignment
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1452, "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: `compound-command is executed whe...
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: `compound-command is executed whenever fname is specified`
a ‘ & ’, or a newline..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 542, "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 Change the system default editor?
sudo update-alternatives --config editor
{ "row_kind": "nl_to_cmd_alt", "category": "ubuntu", "source": "embedded", "distro": "ubuntu", "corpus_index": 331, "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: `Include, immediately after the co...
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: `Include, immediately after the copyright notices, a license notice`
adjacent to the other copyright notices..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2330, "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 $ ln -sv /dev/null "$HISTFILE"?
Mimic Zsh run-help ability Zsh can invoke the manual for the command preceding the cursor by pressing Alt+h .
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://wiki.archlinux.org/title/Bash", "distro": null, "corpus_index": 2376, "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: `undo (C-_ or C-x C-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: `undo (C-_ or C-x C-u) ¶`
Typing ‘ ESC f ’ is equivalent to typing M-f ..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1907, "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 (( expr1 ; expr2 ; expr3...
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 (( expr1 ; expr2 ; expr3 )) [;] do commands ; done`
C language:.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 467, "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.1 Bash History Facilities ¶`" ...
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.1 Bash History Facilities ¶`
Next: Bash History Builtins , Up: Using History Interactively   [ Contents ][ Index ].
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2021, "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 conformance.
string1 != string2 True if the strings are not equal. string1 < string2 True if string1 sorts before string2 lexicographically. string1 > string2 True if string1 sorts after string2 lexicographically. arg1 OP arg2 OP is one of
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1425, "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 variable is ‘ off ’ by default.
mark-symlinked-directories ¶ If set to ‘ on ’, completed names which are symbolic links to directories
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1765, "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: `-d`" }, { "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: `-d`
Options, if supplied, have the following meanings:.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1023, "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: `arrayvar`" }, { "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: `arrayvar`
May also be specified as -a ..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1980, "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 command.?
When the coprocess is executed, the shell creates an array variable
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 527, "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 no arguments are given, or if ...
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 no arguments are given, or if only -l is supplied,`
The -l option displays output in a format that may be reused as input..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 912, "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: `--with-curses`" }, { "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: `--with-curses`
option automatically for a number of systems..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2142, "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 match succeeds if the 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: `The match succeeds if the pattern matches any part of the string.`
expansion forces the entire pattern to be matched literally..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 496, "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: `kill-word (M-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: `kill-word (M-d) ¶`
By default, this is unbound..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1866, "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 command is unbound by default.
complete-filename (M-/) ¶ Attempt filename completion on the text before point. possible-filename-completions (C-x /) ¶ List the possible completions of the text before point,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1889, "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 or a numeric value less than zero, the history file is not truncated.?
When the history file is read,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2023, "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 Show newest files first
ls -lt
{ "row_kind": "nl_to_cmd_alt", "category": "command", "source": "embedded", "distro": null, "corpus_index": 130, "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 result of the expansion is su...
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 result of the expansion is subject to word splitting and filename`
array in turn, and the expansion is the resultant list..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 680, "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 Previous: Filename Expansion , Up: Shell Expansions   [ Contents ][ Index ]
3.5.9 Quote Removal ¶ After the preceding expansions, all unquoted occurrences of the
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 745, "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 errors encountered by...
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 errors encountered by shell builtins will not cause the`
(see Shell Parameter Expansion )..
{ "row_kind": "cmd_to_explain", "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 do I How to copy a file in Linux??
cp source.txt dest.txt
{ "row_kind": "nl_to_cmd_alt", "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.
Show me how to selected words.
History expansions are introduced by the appearance of the
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2059, "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: `mode`" }, { "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: `mode`
unless otherwise noted, no characters are required to isolate it..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1800, "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 export attribute.?
The return status is zero unless an invalid option is supplied, one of
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 893, "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: `git checkout -b feature-branch`" ...
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: `git checkout -b feature-branch`
Create and switch to a new branch.
{ "row_kind": "cmd_to_explain", "category": "command", "source": "embedded", "distro": null, "corpus_index": 247, "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: `git status`" }, { "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: `git status`
Show git status.
{ "row_kind": "cmd_to_explain", "category": "command", "source": "embedded", "distro": null, "corpus_index": 242, "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: `Each value in the list undergoe...
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: `Each value in the list undergoes the shell expansions`
Indexed array assignments do not require anything but string ..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1450, "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 operating system on which ...
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 operating system on which Bash is running supports`
which, unless caught, suspends the process..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1641, "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 send it the SIGSTOP signal using kill .?
There are a number of ways to refer to a job in the shell.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1643, "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 Use arrays?
arr=(one two three) for item in "${arr[@]}"; do echo "$item" done
{ "row_kind": "nl_to_cmd", "category": "scripting", "source": "embedded", "distro": null, "corpus_index": 121, "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 -Ql package_name`" }, ...
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 -Ql package_name`
List files installed by a package on Arch.
{ "row_kind": "cmd_to_explain", "category": "arch", "source": "embedded", "distro": "arch", "corpus_index": 278, "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 How do I use if-else in bash??
if [[ -f file.txt ]]; then echo 'exists' else echo 'not found' fi
{ "row_kind": "nl_to_cmd_alt", "category": "syntax", "source": "embedded", "distro": null, "corpus_index": 96, "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: `TEXTDOMAIN=example`" }, { ...
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: `TEXTDOMAIN=example`
local directory you use for custom translation files, you could run.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 427, "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 be completed, and two to modify the completion as it is happening.
compgen ¶ compgen [-V varname ] [ option ] [ word ] Generate possible completion matches for word according to
{ "row_kind": "nl_to_cmd", "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: `--enable-coprocesses`" }, { ...
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-coprocesses`
(see Conditional Constructs )..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2168, "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 Introduction ¶`" }, { ...
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 Introduction ¶`
Next: Definitions , 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": 349, "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: Redirect stderr to stdout
command 2>&1
{ "row_kind": "nl_to_cmd", "category": "syntax", "source": "embedded", "distro": null, "corpus_index": 71, "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 modifications and/or translated into another language.?
A “Secondary Section” is a named appendix or a front-matter section
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2307, "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 symbols ‘ %% ’ and ‘ %+ ’ re...
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 symbols ‘ %% ’ and ‘ %+ ’ refer to the shell’s notion of the`
Bash reports an error..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1645, "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 provides optional case-insen...
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 provides optional case-insensitive matching for the case and`
optional regular expression matching..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2218, "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: `cat <<EOF`" }, { "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: `cat <<EOF`
Use a here document.
{ "row_kind": "cmd_to_explain", "category": "syntax", "source": "embedded", "distro": null, "corpus_index": 73, "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 general format for appending ...
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 general format for appending output is:`
If the file does not exist it is created..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 764, "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: `name at a surrounding scope.`" ...
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: `name at a surrounding scope.`
and value of any existing variable with the same.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 987, "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 shell’s parent, and traps ignored by the shell are ignored.?
A command invoked in this separate environment cannot affect the
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 812, "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: `docker exec -it web bash`" }, ...
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: `docker exec -it web bash`
Execute a command in a running container.
{ "row_kind": "cmd_to_explain", "category": "command", "source": "embedded", "distro": null, "corpus_index": 268, "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 Empty strings cannot be used as associative array keys.?
Bash automatically creates an indexed array
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1445, "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 Get first 5 characters of a variable?
echo ${mystring:0:5}
{ "row_kind": "nl_to_cmd_alt", "category": "syntax", "source": "embedded", "distro": null, "corpus_index": 87, "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 expand positional parame...
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 expand positional parameters beyond $9 using`
command..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2222, "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: `local var='func1 local'`" }, ...
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: `local var='func1 local'`
{.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 555, "augmentation_kind": "none" }