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: `readarray ¶`" }, { "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: `readarray ¶`
or an invalid file descriptor is supplied as the argument to -u ..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1059, "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: `We install the completion functio...
You explain Bash 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: `We install the completion function using the -F option to`
}.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2014, "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: `-r`" }, { "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: `-r`
The nameref attribute cannot be applied to array variables..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 993, "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 }`
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": 652, "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: `today=$(date +%Y-%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: `today=$(date +%Y-%m-%d)`
Use command substitution.
{ "row_kind": "cmd_to_explain", "category": "syntax", "source": "embedded", "distro": null, "corpus_index": 61, "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 Enable and start a service in bash?
sudo systemctl enable apache2 sudo systemctl start apache2
{ "row_kind": "nl_to_cmd_alt", "category": "ubuntu", "source": "embedded", "distro": "ubuntu", "corpus_index": 335, "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: builtins (see Aliases ).
Bash implements the ! reserved word to negate the return value of
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2212, "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 Bash Builtin Commands , for a description of the escape sequences that
echo recognizes. The file config-top.h contains C Preprocessor
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2192, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `command 2> errors.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: `command 2> errors.log`
Redirect stderr to a file.
{ "row_kind": "cmd_to_explain", "category": "syntax", "source": "embedded", "distro": null, "corpus_index": 69, "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 : offset }`" }, ...
You explain Bash 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 : offset }`
$.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 632, "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 inserts the first three ...
You explain Bash 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 inserts the first three items automatically into`
to reproduce it..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2196, "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: by converting a key sequence of the form
\M- C or Meta- C to the two-character sequence ESC C (adding the meta prefix).
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1754, "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: `Arrays are assigned using compoun...
You explain Bash 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: `Arrays are assigned using compound assignments of the form`
Each attribute applies to all members of an array..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1449, "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 through a pipe.?
-D Print a list of all double-quoted strings preceded by ‘ $ ’
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1355, "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 sigspec`" }, { "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: `If a sigspec`
list of valid signal names..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 944, "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 maximum number of history entries will be set to 500. in bash?
horizontal-scroll-mode ¶ Setting this variable to ‘ on ’ means that the text of the lines
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1757, "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 system provides the necessary support.?
--enable-net-redirections This enables the special handling of filenames of the form /dev/tcp/ host / port and /dev/udp/ host / port
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2182, "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 subexpressions when given five or more arguments.?
If the -p or -P option is supplied to the bind builtin, bind treats any arguments remaining after option processing
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1628, "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 The Readline vi mode behaves as specified in the
sh description in the POSIX standard. You can use the ‘ set -o emacs ’ and ‘ set -o vi ’
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1928, "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: `set ¶`" }, { "role": "as...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `set ¶`
parameters, or to display the names and values of shell variables..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1081, "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 versions through 4.2. in bash?
direxpand If set, Bash
{ "row_kind": "nl_to_cmd", "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.
How do I Ping a host?
ping -c 4 google.com
{ "row_kind": "nl_to_cmd_alt", "category": "command", "source": "embedded", "distro": null, "corpus_index": 203, "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 # pacman -Syu mkinitcpio systemd linux
Note If you do not have a current release or if you only have some other "live" Linux distribution laying around, you can chroot using the old fashioned way. Obviously, there will be more typing than simply running the arch-chroot script. If pacman fails with Could not resolve host , please check your inte...
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://wiki.archlinux.org/title/Pacman", "distro": null, "corpus_index": 2389, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `When you have the translations 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: `When you have the translations and PO files complete, you’ll use the`
This has to be done manually..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 418, "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 and OR lists are sequences...
You explain Bash 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 and OR lists are sequences of one or more pipelines`
The return status is the exit status of the last command executed..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 453, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
Write a command that will Next: Quote Removal , Previous: Word Splitting , Up: Shell Expansions   [ Contents ][ Index ]
3.5.8 Filename Expansion ¶ After word splitting, unless the -f option has been set
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 714, "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: `string undergoes tilde expansion...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `string undergoes tilde expansion, parameter and variable expansion,`
in the expanded value is replaced with string ..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 655, "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.
(see Arrays ).
Brace Expansion Tilde Expansion Shell Parameter Expansion Command Substitution Arithmetic Expansion Process Substitution Word Splitting Filename Expansion Quote Removal
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 592, "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 Do inline math in bash in bash?
echo $((5 + 3 * 2))
{ "row_kind": "nl_to_cmd_alt", "category": "syntax", "source": "embedded", "distro": null, "corpus_index": 62, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
(see Bourne Shell Builtins ).
Parser syntax errors will not cause the shell to exit. If the cdspell shell option is enabled, the shell will attempt
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1410, "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 package groups
pacman -Qg
{ "row_kind": "nl_to_cmd_alt", "category": "arch", "source": "embedded", "distro": "arch", "corpus_index": 303, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
Show me how to token begins with a ‘ - ’.
When parsing and expanding a ${…} expansion that appears within
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1529, "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 first form is used, the 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: `If the first form is used, the return value is zero unless an invalid`
and typing ‘ r ’ re-executes the last command (see Aliases )..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2038, "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 lines as described above.
If the HISTTIMEFORMAT
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2026, "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 the two-argument test using the second and third arguments.?
If the first argument is exactly ‘ ( ’ and the third argument is
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 931, "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 clears the -e option in such subshells.
Enabling POSIX mode has the effect of setting the shift_verbose option, so numeric arguments to shift
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1562, "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 name, rather than on all assignment statements on the line.?
While variable indirection is available, it may not be applied to the
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1534, "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 default value is -1. in bash?
completion-ignore-case ¶ If set to ‘ on ’, Readline performs filename matching and completion
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1739, "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: preceding options and arguments, and each completion matching
filterpat is removed from the list.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2000, "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 If it expands to more than one word, Bash reports an error.?
The order of redirections is significant.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 752, "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 Set timezone on Arch?
sudo timedatectl set-timezone America/New_York
{ "row_kind": "nl_to_cmd", "category": "arch", "source": "embedded", "distro": "arch", "corpus_index": 298, "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 to run cleanup on script exit?
trap 'rm -f /tmp/myapp_$$' EXIT
{ "row_kind": "nl_to_cmd_alt", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 20, "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 variable in a for statement or the selection variable in a
select statement is a readonly variable or has an invalid name. Non-interactive shells exit if filename in . filename
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1556, "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.
Redirect output of multiple commands
{ echo a; echo b; } > out.txt
{ "row_kind": "nl_to_cmd_alt", "category": "syntax", "source": "embedded", "distro": null, "corpus_index": 81, "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: `$0 is set to the name of that fi...
You explain Bash 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: `$0 is set to the name of that file.`
If Bash is invoked with a file of commands (see Shell Scripts ),.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 585, "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.
facilities (see Programmable Completion Builtins ).
Many of the builtins have been extended by POSIX or Bash. Unless otherwise noted, each builtin command documented as accepting
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 856, "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 Get file extension in bash?
echo ${filename#*.}
{ "row_kind": "nl_to_cmd_alt", "category": "syntax", "source": "embedded", "distro": null, "corpus_index": 88, "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 How to see all env vars? in bash?
env
{ "row_kind": "nl_to_cmd_alt", "category": "command", "source": "embedded", "distro": null, "corpus_index": 207, "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 Copy files to a remote server
rsync -avz -e ssh src/ user@host:/dest/
{ "row_kind": "nl_to_cmd_alt", "category": "command", "source": "embedded", "distro": null, "corpus_index": 196, "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: `Functions may be recursive.`" }...
You explain Bash 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: `Functions may be recursive.`
deletes a function definition..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 560, "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: `You can quote any part of the pat...
You explain Bash 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: `You can quote any part of the pattern`
of alphabetic characters..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 495, "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 instead of deleting them.?
forward-backward-delete-char () ¶ Delete the character under the cursor, unless the cursor is at the
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1850, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
What's the best way to generate a list of matching file names for possible completions.?
glob-expand-word (C-x *) ¶ Treat the word before point as a pattern for pathname expansion,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1921, "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 This can be the cause of some hard-to-find errors.?
The SVR4.2 shell uses a baroque memory management scheme based on
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2294, "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: `readonly ¶`" }, { "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: `readonly ¶`
is supplied..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 915, "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 to the command are set to the arguments supplied, if any.?
If this execution fails because the file is not in executable
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 798, "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: appended to the variable’s value.
A variable can be assigned the nameref attribute using the -n option to the declare or local builtin commands
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 568, "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 Set up unattended upgrades on Ubuntu
sudo apt install unattended-upgrades sudo dpkg-reconfigure unattended-upgrades
{ "row_kind": "nl_to_cmd", "category": "ubuntu", "source": "embedded", "distro": "ubuntu", "corpus_index": 330, "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 This option is only used by interactive shells.
bash_source_fullpath If set, filenames added to the BASH_SOURCE array variable are
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1129, "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 How to repeat the last command?
!!
{ "row_kind": "nl_to_cmd_alt", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 55, "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 its original state.?
previous-history (C-p) ¶ Move ‘back’ through the history list, fetching the previous command.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1832, "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 an error occurs, and the command exits with a non-zero status.?
If no command name results, redirections are performed, but do not
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 791, "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 Bash (e.g., 5.2.37(3)-release). in bash?
BASH_XTRACEFD ¶ If set to an integer corresponding to a valid file descriptor,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1230, "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 sort specifier of ‘ nosort ’ di...
You explain Bash 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 sort specifier of ‘ nosort ’ disables sorting completely;`
the all-digit names and are sorted by name using the traditional behavior..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1270, "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 one invoked with the --login option.
An interactive shell is one started without non-option arguments,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1360, "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 history list and history file.
fc ¶ fc [-e ename ] [-lnr] [ first ] [ last ] fc -s [ pat = rep ] [ command ] The first form selects a range of commands from first to last
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2029, "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 following classes defined in the?
POSIX
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 734, "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 Line editing can be enabled at any time using the -o emacs or
-o vi options to the set builtin command
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1684, "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 information about parameter itself, depending on the value of?
operator . Each operator is a single letter: U The expansion is a string that is the value of parameter with lowercase
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 672, "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 By default, this command is unbound. in bash?
copy-region-as-kill () ¶ Copy the text in the region to the kill buffer, so it can be yanked
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1874, "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 Both first and?
last may be specified as a string (to locate the most recent
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2030, "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`" }...
You explain Bash 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`
the eval builtin..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1558, "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: value of the HISTTIMEFORMAT variable to display it.
Bash implements csh -like history expansion
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2207, "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: `nocaseglob`" }, { "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: `nocaseglob`
for possible completions when completion is attempted on an empty line..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1173, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `In most cases a list of commands ...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `In most cases a list of commands in a compound command’s description may be`
apply to all commands within that compound command unless explicitly overridden..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 458, "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 disk usage of directories?
du -sh */
{ "row_kind": "nl_to_cmd", "category": "command", "source": "embedded", "distro": null, "corpus_index": 171, "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 execute a string as bash code??
eval "$cmd"
{ "row_kind": "nl_to_cmd_alt", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 17, "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 -x ’ commands. in bash?
If any parameter assignment statements,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 819, "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: (it turns on job control).
The SVR4.2 shell has two privilege-related builtins
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2290, "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 principally for works whose purpose is instruction or reference.?
APPLICABILITY AND DEFINITIONS This License applies to any manual or other work, in any medium, that
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2305, "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: `fc ¶`" }, { "role": "ass...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `fc ¶`
history list and history file..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2029, "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 Prevent duplicate script execution?
LOCKFILE=/tmp/myscript.lock if ! mkdir "$LOCKFILE" 2>/dev/null; then echo 'Already running' exit 1 fi trap 'rmdir "$LOCKFILE"' EXIT
{ "row_kind": "nl_to_cmd_alt", "category": "scripting", "source": "embedded", "distro": null, "corpus_index": 116, "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.3 Parameter and Variable Index ...
You explain Bash 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.3 Parameter and Variable Index ¶`
Next: Function Index , Previous: Index of Shell Reserved Words , Up: Indexes   [ Contents ][ Index ].
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2368, "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: `You can specify separate installa...
You explain Bash 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: `You can specify separate installation prefixes for`
other variables used when installing Bash..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2117, "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 (see Invoking Bash ), or from the user’s terminal.?
Breaks the input into words and operators, obeying the quoting rules
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 390, "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 an until loop
until ping -c1 google.com &>/dev/null; do sleep 5 done echo 'Network is up'
{ "row_kind": "nl_to_cmd", "category": "syntax", "source": "embedded", "distro": null, "corpus_index": 103, "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: `POSIX Shell and Tools portion of...
You explain Bash 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: `POSIX Shell and Tools portion of the IEEE POSIX`
It is intended to be a conformant implementation of the IEEE.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 352, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
Write a command that will The default value is ‘ off ’.
completion-map-case ¶ If set to ‘ on ’, and completion-ignore-case is enabled, Readline
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1740, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `6.11.2 Bash POSIX Mode ¶`" }, ...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `6.11.2 Bash POSIX Mode ¶`
emacs editing commands were left out due to objections..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1521, "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 filename expansion bracket ex...
You explain Bash 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 filename expansion bracket expression code uses ‘ ! ’ and ‘ ^ ’`
This closes a longstanding shell security hole..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2240, "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 Evaluate a string as a command?
eval "$cmd"
{ "row_kind": "nl_to_cmd", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 17, "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 value is ‘ .o:~ ’
FUNCNAME ¶ An array variable containing the names of all shell functions
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1258, "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: `‘ = ’ should be used with the te...
You explain Bash 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: `‘ = ’ should be used with the test command for`
described above (see Conditional Constructs )..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1424, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
Write a command that will Next: Reporting Bugs , Previous: Using History Interactively , Up: Bash Features   [ Contents ][ Index ]
10 Installing Bash ¶ This chapter provides basic instructions for installing Bash on
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2091, "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 last expression evaluates to 0,?
let returns 1;
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1015, "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 Bash clears the hostname list. in bash?
HOSTNAME ¶ The name of the current host. HOSTTYPE ¶ A string describing the machine Bash is running on. IGNOREEOF ¶ Controls the action of the shell on receipt of an EOF character
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1290, "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 of the shell metacharacters ...
You explain Bash 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 of the shell metacharacters (see Definitions )`
parameter expansion..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 396, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `When job control is not 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 job control is not enabled, and Bash receives SIGINT`
See Job Control , for a more in-depth discussion of process groups..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 839, "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 returning its status, instead of returning when it changes status.?
If none of the id s specify one of the shell’s an active child
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1674, "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 resources (see Bash Builtin Commands ).?
The Bash umask builtin uses the -p option to display
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2287, "augmentation_kind": "none" }