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: `A double quote 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: `A double quote character (‘ " ’) is treated specially when it appears`
double-quoted..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1536, "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 View service logs in bash?
journalctl -u nginx -f
{ "row_kind": "nl_to_cmd", "category": "command", "source": "embedded", "distro": null, "corpus_index": 259, "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='HOME'; echo ${!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: `name='HOME'; echo ${!name}`
Use indirect variable reference.
{ "row_kind": "cmd_to_explain", "category": "syntax", "source": "embedded", "distro": null, "corpus_index": 94, "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: `expand_aliases`" }, { "ro...
You explain Bash 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: `expand_aliases`
An interactive shell does not exit if exec fails..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1143, "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 or in a Readline initialization file.?
-V List current Readline variable names and values. -f filename Read key bindings from filename . -q function Display key sequences that invoke the named Readline function . -u function Unbind all key sequences bound to the named Readline function . -r keyseq Remove any current bind...
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 967, "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 (see Tilde Expansion ).?
IFS ¶ A list of characters that separate fields; used when the shell splits
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1196, "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 Decode base64?
echo 'aGVsbG8=' | base64 -d
{ "row_kind": "nl_to_cmd_alt", "category": "command", "source": "embedded", "distro": null, "corpus_index": 237, "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.
Next: Readline vi Mode , Previous: Readline Init File , Up: Command Line Editing   [ Contents ][ Index ]
8.4 Bindable Readline Commands ¶ This section describes Readline commands that may be bound to key
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1813, "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: `complete-hostname (M-@) ¶`" },...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `complete-hostname (M-@) ¶`
treating it as a shell variable..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1894, "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: `histreedit`" }, { "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: `histreedit`
variable when the shell exits, rather than overwriting the file..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1160, "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: `x - y`" }, { "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: `x - y`
the line..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2082, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
I need to option.
GLOBSORT ¶ Controls how the results of filename expansion are sorted.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1266, "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 specifying key sequences:?
\C- A control prefix. \M- Adding the meta prefix or converting the following character to a meta
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1793, "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: `process group ¶`" }, { "...
You explain Bash 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: `process group ¶`
Operators contain at least one unquoted metacharacter ..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 374, "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 arithmetic for command, similar to the C language (see Looping Constructs ).
Bash includes the select compound command, which allows the
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2216, "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 GNU operating system,`" }...
You explain Bash 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 GNU operating system,`
are retained by the child..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 849, "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 Uninstall a package on Ubuntu?
sudo apt remove package_name
{ "row_kind": "nl_to_cmd_alt", "category": "ubuntu", "source": "embedded", "distro": "ubuntu", "corpus_index": 307, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `time for the definition of Epoch...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `time for the definition of Epoch).`
since the Unix Epoch (see the documentation for the C library function.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1252, "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 Display the last 20 lines?
tail -n 20 file.txt
{ "row_kind": "nl_to_cmd", "category": "command", "source": "embedded", "distro": null, "corpus_index": 169, "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: `RANDOM`" }, { "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: `RANDOM`
Assigning a value to.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1315, "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.
Find a package in Ubuntu repos
apt search search_term
{ "row_kind": "nl_to_cmd_alt", "category": "ubuntu", "source": "embedded", "distro": "ubuntu", "corpus_index": 312, "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 list printed by dirs ), starting with zero, from the stack. in bash?
If the top element of the directory stack is modified, and
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1487, "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 Save current directory and change to another?
pushd /etc
{ "row_kind": "nl_to_cmd_alt", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 34, "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 interpreter and write the rest of the script file in that language.?
The arguments to the interpreter
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 850, "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 bind readline-command-line in bash?
Display current Readline (see Command Line Editing )
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 958, "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: `Table of Contents`" }, { ...
You explain Bash 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: `Table of Contents`
reference on shell behavior..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 348, "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: `Variable Settings`" }, { ...
You explain Bash 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: `Variable Settings`
Other lines denote variable settings and key bindings..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1723, "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 Create a menu in bash
select opt in 'Option 1' 'Option 2' 'Quit'; do case $opt in Quit) break;; *) echo "You chose $opt";; esac done
{ "row_kind": "nl_to_cmd_alt", "category": "syntax", "source": "embedded", "distro": null, "corpus_index": 105, "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 alphabetic characters converted to lowercase.
Q The expansion is a string that is the value of parameter quoted in a
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 675, "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: lexicographically using the current locale.
When the ‘ == ’ and ‘ != ’ operators are used, the string to the
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 492, "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: saving the killed text on the kill-ring.
unix-filename-rubout () ¶ Kill the word behind point, using white space and the slash character
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1871, "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 DEFAULT?
${ parameter :? word } If parameter
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 627, "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 parent in the environment.?
Options enabled at invocation (either by default or with command-line
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 806, "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 subshells invoked with ( command ) inherit the?
ERR trap. extglob If set, enable the extended pattern matching features described above
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1151, "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: Previous: Conditional Init Constructs , Up: Readline Init File   [ Contents ][ Index ]
8.3.3 Sample Init File ¶ Here is an example of an inputrc file. This illustrates key
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1811, "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 as primaries.
When used with [[ , the ‘ < ’ and ‘ > ’ operators sort
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 491, "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 iterate over an array??
arr=(one two three) for item in "${arr[@]}"; do echo "$item" done
{ "row_kind": "nl_to_cmd_alt", "category": "scripting", "source": "embedded", "distro": null, "corpus_index": 121, "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 extra/mariadb 10.1.9-4 10.1.10-1 0.26 MiB 13.80 MiB?
Parallel downloads The number of packages being downloaded in parallel (at the same time) are configured in /etc/pacman.conf with the ParallelDownloads option under [options] . The /etc/pacman.conf shipped with the pacman package sets it to 5 . If the option is unset, packages will be downloaded sequentiall...
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://wiki.archlinux.org/title/Pacman", "distro": null, "corpus_index": 2386, "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: refer to shell functions; otherwise the names refer to shell variables.
The -n option means to unexport each name: no longer mark
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 890, "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: `complete when the compspec was 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: `complete when the compspec was defined,`
and the -o default option was supplied to.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1949, "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: `eval ¶`" }, { "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: `eval ¶`
The return status is zero unless n is not greater than or equal to 1..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 883, "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 unless otherwise noted, no characters are required to isolate it.?
mode The mode= form of the $if directive is used to test
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1800, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `sudo hostnamectl set-hostname myh...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `sudo hostnamectl set-hostname myhost`
Set hostname on Arch.
{ "row_kind": "cmd_to_explain", "category": "arch", "source": "embedded", "distro": "arch", "corpus_index": 299, "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 Conditional Constructs ).
--enable-coprocesses Include support for coprocesses and the coproc reserved word
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2168, "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: Use caller for debugging
caller 0
{ "row_kind": "nl_to_cmd", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 57, "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.
Make nested directories
mkdir -p /path/to/deep/dir
{ "row_kind": "nl_to_cmd_alt", "category": "command", "source": "embedded", "distro": null, "corpus_index": 137, "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: be) implemented as builtin commands, such as
read and test . POSIX also specifies aspects of the shell’s interactive
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1520, "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: `sed '/^#/d' config.txt`" }, {...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `sed '/^#/d' config.txt`
Delete lines matching a pattern with sed.
{ "row_kind": "cmd_to_explain", "category": "command", "source": "embedded", "distro": null, "corpus_index": 152, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `echo -n 'hello' | base64`" }, ...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `echo -n 'hello' | base64`
Base64 encode a string.
{ "row_kind": "cmd_to_explain", "category": "command", "source": "embedded", "distro": null, "corpus_index": 236, "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 Update all installed packages
sudo apt upgrade
{ "row_kind": "nl_to_cmd_alt", "category": "ubuntu", "source": "embedded", "distro": "ubuntu", "corpus_index": 310, "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 Unset a variable?
unset MY_VAR
{ "row_kind": "nl_to_cmd", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 31, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `The following options can be used...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `The following options can be used to restrict output to variables with`
If there is no existing variable, the local variable is initially unset..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 988, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
What's the best way to Next: Exit Status , Previous: Command Execution Environment , Up: Executing Commands   [ Contents ][ Index ]?
3.7.4 Environment ¶ When a program is invoked it is given an array of strings
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 817, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
How do I The cdspell option is only effective in interactive shells.?
The shell will check the value of the TMOUT variable and exit
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1411, "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.
not give you any rights to use it.
FUTURE REVISIONS OF THIS LICENSE The Free Software Foundation may publish new, revised versions
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2355, "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 do I make a variable available to subprocesses? in bash?
export MY_VAR='value'
{ "row_kind": "nl_to_cmd_alt", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 10, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
List all processes
ps aux
{ "row_kind": "nl_to_cmd_alt", "category": "command", "source": "embedded", "distro": null, "corpus_index": 174, "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: `file1 -ot file2`" }, { ...
You explain Bash 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: `file1 -ot file2`
than file2 , or if file1 exists and file2 does not..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1420, "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 Capture command output in a variable
today=$(date +%Y-%m-%d)
{ "row_kind": "nl_to_cmd_alt", "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.
Can you help me Previous: Programmable Completion Builtins , Up: Command Line Editing   [ Contents ][ Index ]?
8.8 A Programmable Completion Example ¶ The most common way to obtain additional completion functionality beyond
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2007, "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.
Find files and execute a command on each
find . -name '*.log' -exec gzip {} \;
{ "row_kind": "nl_to_cmd", "category": "command", "source": "embedded", "distro": null, "corpus_index": 144, "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.
this uses the history expansion facilities to extract the
n th word, as if the
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1844, "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 do them, and mail diffs or instructions to?
bash-maintainers@gnu.org so they can be
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2106, "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 documentation into directories within
/fs1/bash-install/usr/local/share , the example loadable builtins into /fs1/bash-install/usr/local/lib/bash , and so on.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2124, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `export displays a list of names ...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `export displays a list of names of all exported`
the -p option is given,.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 891, "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 Or, you can set the?
CONFIG_SITE environment variable to the location of the site
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2131, "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: Interactive shells are described in Interactive Shells .
-l Make this shell act as if it had been directly invoked by login.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1353, "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 greater than 128, immediately after which the shell executes the trap.?
When job control is not enabled, and Bash is waiting for a foreground
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 837, "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 Declare an associative array
declare -A colors=([red]='#ff0000' [green]='#00ff00')
{ "row_kind": "nl_to_cmd", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 15, "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 command is not found, the ch...
You explain Bash 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 command is not found, the child process created to`
Bash uses the value 128+ N as the exit status..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 825, "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 echo ${var/abc/$rep}
will both output ‘ \abcxyzdef ’. It should rarely be necessary to enclose only string in double
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 665, "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: `until ping -c1 google.com &>/dev/...
You explain Bash 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: `until ping -c1 google.com &>/dev/null; do`
Write an until loop.
{ "row_kind": "cmd_to_explain", "category": "syntax", "source": "embedded", "distro": null, "corpus_index": 103, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
Give me the command for: How to add a help message to a script?
usage() { echo "Usage: $0 [-h] [-v] [-o file] args..." exit 1 }
{ "row_kind": "nl_to_cmd_alt", "category": "scripting", "source": "embedded", "distro": null, "corpus_index": 111, "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 embedded newlines rather than using semicolon separators where possible.?
localvar_inherit If set, local variables inherit the value and attributes of a variable of
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1168, "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.3 Double Quotes ¶`" }, ...
You explain Bash 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.3 Double Quotes ¶`
Next: ANSI-C Quoting , Previous: 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": 403, "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 places the next option in the shell variable name , initializing?
name if it does not exist,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 897, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
I need to Next: Arithmetic Expansion , Previous: Shell Parameter Expansion , Up: Shell Expansions   [ Contents ][ Index ]
3.5.4 Command Substitution ¶ Command substitution allows the output of a command to replace
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 681, "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 treating it as a filename.?
complete-username (M-~) ¶ Attempt completion on the text before point, treating
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1890, "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 Show file metadata?
stat file.txt
{ "row_kind": "nl_to_cmd", "category": "command", "source": "embedded", "distro": null, "corpus_index": 213, "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 and while .`" }, { ...
You explain Bash 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 and while .`
Most reserved words introduce shell flow control constructs, such as.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 377, "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: subsequently reset.
LINES ¶ Used by the select command to determine the column length
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1299, "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: `sourcepath`" }, { "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: `sourcepath`
number of positional parameters..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1183, "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 continuing the case statement execution as if the pattern list had not matched.?
The return status is zero if no pattern matches.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 480, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `!!:$`" }, { "role": "assi...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `!!:$`
When you type this, the preceding command is repeated in toto..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2077, "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 Use ripgrep for fast searching
rg 'pattern' --type py
{ "row_kind": "nl_to_cmd", "category": "command", "source": "embedded", "distro": null, "corpus_index": 150, "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 Edit a file in-place with sed?
sed -i 's/old/new/g' file.txt
{ "row_kind": "nl_to_cmd", "category": "command", "source": "embedded", "distro": null, "corpus_index": 154, "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 ^ 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: `${ parameter ^ pattern }`
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": 668, "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 extdebug shell option has additional effects on the?
DEBUG trap. The trap builtin (see Bourne Shell Builtins ) allows an ERR pseudo-signal specification, similar to EXIT and DEBUG .
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2282, "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: `An additional binary operator, ‘ ...
You explain Bash 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: `An additional binary operator, ‘ =~ ’, is available, with the same`
instead of having any special pattern matching meaning..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 494, "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 and quote removal.
On systems that can support it, there is an additional expansion
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 588, "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-readline`" }, { ...
You explain Bash 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-readline`
string escape sequences..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2186, "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: `An interactive shell is one sta...
You explain Bash 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: `An interactive shell is one started without non-option arguments,`
‘ - ’, or one invoked with the --login option..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1360, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `{ echo a; echo b; } > out.txt`" ...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `{ echo a; echo b; } > out.txt`
Group commands in the current shell.
{ "row_kind": "cmd_to_explain", "category": "syntax", "source": "embedded", "distro": null, "corpus_index": 81, "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 below (see Pattern Matching ).
See the description of shopt in The Shopt Builtin ,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 719, "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: `-v`" }, { "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: `-v`
line..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1479, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `sudo apt autoremove`" }, { ...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `sudo apt autoremove`
Remove unused packages on Ubuntu.
{ "row_kind": "cmd_to_explain", "category": "ubuntu", "source": "embedded", "distro": "ubuntu", "corpus_index": 319, "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 The standard is freely available on the web at?
https://pubs.opengroup.org/onlinepubs/9799919799/utilities/contents.html . Bash is concerned with the aspects of the shell’s behavior defined
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1517, "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: `ss -tulnp`" }, { "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: `ss -tulnp`
Show open ports.
{ "row_kind": "cmd_to_explain", "category": "command", "source": "embedded", "distro": null, "corpus_index": 202, "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 lastpipe option is enabl...
You explain Bash 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 lastpipe option is enabled, and job control is not active,`
only for certain failures, as enumerated in the POSIX standard..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2300, "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 Suspend the current shell in bash?
suspend
{ "row_kind": "nl_to_cmd", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 44, "augmentation_kind": "none" }