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: `When invoked as sh , Bash enters...
You explain Bash 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 invoked as sh , Bash enters POSIX mode after reading`
does not attempt to read any other startup files..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1379, "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 OR list has the form`" }, ...
You explain Bash 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 OR list has the form`
returns an exit status of zero (success)..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 455, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 List previous commands?
history
{ "row_kind": "nl_to_cmd_alt", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 53, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
What's the best way to List explicitly installed packages on Arch?
pacman -Qe
{ "row_kind": "nl_to_cmd", "category": "arch", "source": "embedded", "distro": "arch", "corpus_index": 280, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 argument to command .?
If command
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 886, "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 the shell is in 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: `When the shell is in POSIX mode,`
cannot affect the shell’s execution environment..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 815, "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 -t option is supplied, ...
You explain Bash 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 -t option is supplied, hash prints the full pathname`
of each name ..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 911, "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 --fix-broken install`" ...
You explain Bash 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 --fix-broken install`
Fix broken dependencies on Ubuntu.
{ "row_kind": "cmd_to_explain", "category": "ubuntu", "source": "embedded", "distro": "ubuntu", "corpus_index": 318, "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: `emacs-mode-string ¶`" }, { ...
You explain Bash 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: `emacs-mode-string ¶`
This variable can be set to either ‘ emacs ’ or ‘ vi ’..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1747, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 strings preceded by a ‘ $ ’ (see Locale-Specific Translation ).
LC_NUMERIC ¶ This variable determines the locale category used for number formatting. LC_TIME ¶ This variable determines the locale category used for data and time
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1297, "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: `menu-complete-backward () ¶`" ...
You explain Bash 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: `menu-complete-backward () ¶`
by default..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1883, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 match a prefix of the word being completed.?
-X filterpat filterpat is a pattern as used for filename expansion.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1999, "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 substitution is supported...
You explain Bash 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 substitution is supported on systems that support named`
as a redirection..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 702, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `Bash History Facilities`" }, ...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `Bash History Facilities`
see the GNU Readline Library Manual..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2020, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
Break a large file into smaller parts
split -l 1000 bigfile.txt chunk_
{ "row_kind": "nl_to_cmd_alt", "category": "command", "source": "embedded", "distro": null, "corpus_index": 232, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 are not special within double-quoted word expansions.
compat43 Word expansion errors are considered non-fatal errors that cause the
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1611, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
What is the command to of a file into an indexed array variable (see Bash Builtin Commands ).?
The printf builtin is available to display formatted output
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2270, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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: zero if no condition tested true.
case ¶ The syntax of the case command is: case word in [ [(] pattern [| pattern ]...) command-list ;;]...
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 472, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Use printf for formatted output in bash?
printf '%-10s %5d\n' 'item' 42
{ "row_kind": "nl_to_cmd", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 27, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Compress all log files with find -exec?
find . -name '*.log' -exec gzip {} \;
{ "row_kind": "nl_to_cmd_alt", "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.
How can I sequences that are expanded before PS1 is displayed. in bash?
PS2 ¶ The secondary prompt string.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1201, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `3.2.6 Coprocesses ¶`" }, { ...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `3.2.6 Coprocesses ¶`
Next: GNU Parallel , Previous: Compound Commands , Up: Shell Commands   [ Contents ][ Index ].
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 521, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 current version is also a valid value.?
BASH_ENV ¶ If this variable is set when Bash is invoked to execute a shell
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1217, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
How do I The default index is 0.?
-s Discard the first count lines read. -t Remove a trailing delim (default newline) from each line read. -u Read lines from file descriptor fd instead of the standard input. -C Evaluate callback each time quantum lines are read.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1026, "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: `spell-correct-word (C-x s) ¶`" ...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `spell-correct-word (C-x s) ¶`
argument to the function it executes..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1919, "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 \"Home is $HOME\"`" }, {...
You explain Bash 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 "Home is $HOME"`
Use double quotes to allow variable expansion.
{ "row_kind": "cmd_to_explain", "category": "syntax", "source": "embedded", "distro": null, "corpus_index": 59, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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: Indexes , Previous: Major Differences From The Bourne Shell , Up: Bash Features   [ Contents ][ Index ]
Appendix C GNU Free Documentation License ¶ Version 1.3, 3 November 2008 Copyright © 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. http://fsf.org/
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2301, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 are interpreted as described above.?
-a Append the "new" history lines to the history file.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2044, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `3.2.7 GNU Parallel ¶`" }, { ...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `3.2.7 GNU Parallel ¶`
Previous: Coprocesses , Up: Shell Commands   [ Contents ][ Index ].
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 530, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Check if input is numeric
[[ $1 =~ ^[0-9]+$ ]] || { echo 'Not a number'; exit 1; }
{ "row_kind": "nl_to_cmd_alt", "category": "scripting", "source": "embedded", "distro": null, "corpus_index": 127, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `FCEDIT ¶`" }, { "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: `FCEDIT ¶`
option..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1256, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `cat urls.txt | xargs -P 4 -I{} cu...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `cat urls.txt | xargs -P 4 -I{} curl -O {}`
Run parallel commands with xargs.
{ "row_kind": "cmd_to_explain", "category": "command", "source": "embedded", "distro": null, "corpus_index": 218, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 search string may match anywhere in a history line.?
non-incremental-forward-search-history (M-n) ¶ Search forward starting at the current line and moving ‘down’
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1838, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 in a redirection unless the shell is interactive. in bash?
Redirection operators do not perform word splitting on the word in a
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1531, "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 -n is supplied, the name s ...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `If -n is supplied, the name s are disabled.`
even though the shell normally searches for builtins before files..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1005, "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: `popd ¶`" }, { "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: `popd ¶`
with zero..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1482, "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 shell will check the value 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: `The shell will check the value of the TMOUT variable and exit`
The cdspell option is only effective in interactive shells..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1411, "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: `C-b`" }, { "role": "assis...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `C-b`
essentials for editing the text of an input line:.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1700, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
Check if a command is an alias, function, or binary
type ls
{ "row_kind": "nl_to_cmd_alt", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 23, "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 active, t...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `When job control is not active, the kill and wait`
is not supplied..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1680, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 the standard input (file descriptor 0) if n is not specified.?
digit is closed after being duplicated to n . Similarly, the redirection operator [ n ]>& digit - moves the file descriptor digit to file descriptor n ,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 782, "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: `stat file.txt`" }, { "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: `stat file.txt`
Show file metadata.
{ "row_kind": "cmd_to_explain", "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: `When assigning to indexed arrays,...
You explain Bash 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 assigning to indexed arrays, if`
variable assignments..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1451, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `Bash provides the { var }< 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: `Bash provides the { var }< word capability to have the`
used in redirection operators (see Redirections )..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2250, "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: `LC_ALL ¶`" }, { "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: `LC_ALL ¶`
selected with a variable starting with LC_ ..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1294, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 default increment is 1 or -1 as appropriate.
Brace expansion is performed before any other expansions,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 600, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
If the posix shell option (see The Set Builtin ) is also enabled,
echo does not interpret any options.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1186, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Uncompress a tar.gz
tar -xzf archive.tar.gz
{ "row_kind": "nl_to_cmd_alt", "category": "command", "source": "embedded", "distro": null, "corpus_index": 187, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Shell Parameter Expansion ).?
The POSIX $() form of command substitution
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2231, "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: `builtin and command builtins (...
You explain Bash 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: `builtin and command builtins (see Bash Builtin Commands ).`
access to that builtin’s functionality within the function via the.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2258, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 variables.?
active-region-start-color ¶ A string variable that controls the text color and background when displaying
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1729, "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 you picked $fname \\($REPLY\...
You explain Bash 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 you picked $fname \($REPLY\)`
do.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 487, "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 you need to do unusual things ...
You explain Bash 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 you need to do unusual things to compile Bash, please`
about building in a directory separate from the source..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2105, "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: `signal`" }, { "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: `signal`
(see Bash Builtin Commands )..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1991, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 ‘ off ’. in bash?
completion-prefix-display-length ¶ The maximum
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1741, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 This variable is ‘ on ’ by default.
prefer-visible-bell See bell-style . print-completions-horizontally If set to ‘ on ’, Readline displays completions with matches
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1770, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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: These timestamps are optionally displayed depending on the value of the
HISTTIMEFORMAT variable (see Bash Variables ).
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2024, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 array in turn, and the expansion is the resultant list.
${ parameter ^ pattern } ${ parameter ^^ pattern } ${ parameter , pattern } ${ parameter ,, pattern } This expansion modifies the case of alphabetic characters in parameter .
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 668, "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 double quote may be quoted with...
You explain Bash 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 may be quoted within double quotes by preceding it with`
special meaning are left unmodified..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 405, "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: `h`" }, { "role": "assista...
You explain Bash 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: `h`
These modify, or edit, the word or words selected from the history event..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2086, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Clean up unneeded packages?
sudo apt autoremove
{ "row_kind": "nl_to_cmd_alt", "category": "ubuntu", "source": "embedded", "distro": "ubuntu", "corpus_index": 319, "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-process-substitution`" ...
You explain Bash 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-process-substitution`
when used in redirections (see Redirections )..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2183, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `The Document may include Warranty...
You explain Bash 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 Document may include Warranty Disclaimers next to the notice which`
section “Entitled XYZ” according to this definition..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2318, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 readonly variable.
logout ¶ logout [ n ] Exit a login shell, returning a status of n to the shell’s
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1021, "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 substitutions don’t set t...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `Command substitutions don’t set the ‘ ? ’ special parameter.`
character will escape it and the backslash will be removed..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1537, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 expansion. in bash?
The basic form of parameter expansion is ${ parameter },
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 618, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 infinite loop
while true; do echo 'running' sleep 1 done
{ "row_kind": "nl_to_cmd", "category": "syntax", "source": "embedded", "distro": null, "corpus_index": 102, "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: `dpkg -L package_name`" }, { ...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `dpkg -L package_name`
List files installed by a package on Ubuntu.
{ "row_kind": "cmd_to_explain", "category": "ubuntu", "source": "embedded", "distro": "ubuntu", "corpus_index": 315, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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: In this case, N will include the first line with the common prefix.
The user or application
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1887, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Get compiler and build tools on Ubuntu
sudo apt install build-essential
{ "row_kind": "nl_to_cmd_alt", "category": "ubuntu", "source": "embedded", "distro": "ubuntu", "corpus_index": 334, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Make an HTTP POST request?
curl -X POST -H 'Content-Type: application/json' -d '{"key":"value"}' https://api.example.com/
{ "row_kind": "nl_to_cmd", "category": "command", "source": "embedded", "distro": null, "corpus_index": 194, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 enable strict mode??
#!/usr/bin/env bash set -euo pipefail IFS=$'\n\t'
{ "row_kind": "nl_to_cmd_alt", "category": "scripting", "source": "embedded", "distro": null, "corpus_index": 108, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
What is the command to shell functions instead.?
The -p option will display the attributes and values of each name .
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 982, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 array in turn, and the expansion is the resultant list. in bash?
${ parameter / pattern / string } ${ parameter // pattern / string } ${ parameter /# pattern / string } ${ parameter /% pattern / string } The pattern is expanded to produce a pattern
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 654, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Bash creates REPLY as an initially-unset local variable when
command executes, and restores REPLY to the value it had
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 690, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `-B`" }, { "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: `-B`
the command and its expanded arguments..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1106, "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: `touch newfile.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: `touch newfile.txt`
Create an empty file or update timestamp.
{ "row_kind": "cmd_to_explain", "category": "command", "source": "embedded", "distro": null, "corpus_index": 138, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
Show me how to Use double quotes to allow variable expansion
echo "Home is $HOME"
{ "row_kind": "nl_to_cmd", "category": "syntax", "source": "embedded", "distro": null, "corpus_index": 59, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 If that file does not exist or cannot be read, Readline looks for in bash?
/etc/inputrc .
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1718, "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 , compgen , and compop...
You explain Bash 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 , compgen , and compopt , to`
(see Programmable Completion ), and builtin commands.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2203, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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: current function scope.
login_shell The shell sets this option if it is started as a login shell
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1170, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
Format text output in bash
printf '%-10s %5d\n' 'item' 42
{ "row_kind": "nl_to_cmd_alt", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 27, "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 using the -F or -C optio...
You explain Bash 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 using the -F or -C options, the various shell variables`
them to the standard output..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1961, "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: `iconv -f ISO-8859-1 -t UTF-8 inpu...
You explain Bash 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: `iconv -f ISO-8859-1 -t UTF-8 input.txt > output.txt`
Convert between character encodings.
{ "row_kind": "cmd_to_explain", "category": "command", "source": "embedded", "distro": null, "corpus_index": 234, "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: `\\M- C or Meta- C to the two-c...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `\M- C or Meta- C to the two-character sequence`
by converting a key sequence of the form.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1754, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Read a file into an array
mapfile -t lines < file.txt
{ "row_kind": "nl_to_cmd_alt", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 43, "augmentation_kind": "none" }
[ { "role": "system", "content": "You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences." }, { "role": "user", "content": "Explain this bash command: `forward-search-history (C-s) ¶`"...
You explain Bash commands and shell concepts clearly and concisely. Describe what the command does, its key flags, and any important caveats, in one to three sentences.
Explain this bash command: `forward-search-history (C-s) ¶`
This command sets the region to the matched text and activates the region..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1836, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 When you type this, the preceding command is repeated in toto.?
!!:$ designates the last word of the preceding command.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 2077, "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 mail in mailfile has been...
You explain Bash 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 mail in mailfile has been read" .`
accessed since the last time it was checked, Bash displays the message.
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1172, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
I need to The -v option assigns the output to the variable
var rather than printing it to the standard output. The format is a character string which contains three types of objects:
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1032, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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: restore the current signal dispositions.
If action is not present and -p has been supplied, trap displays the trap commands associated with each sigspec ,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 941, "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 the shell’s purposes, a comma...
You explain Bash 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 the shell’s purposes, a command which exits with a`
indicate specific failure modes..
{ "row_kind": "cmd_to_explain", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 823, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
How can I Print the PATH variable in bash?
echo $PATH
{ "row_kind": "nl_to_cmd_alt", "category": "command", "source": "embedded", "distro": null, "corpus_index": 208, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Shell Functions ) instead.?
Aliases are not expanded when the shell is not interactive,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1440, "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: `tar -czf archive.tar.gz directory...
You explain Bash 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: `tar -czf archive.tar.gz directory/`
Create a tar archive.
{ "row_kind": "cmd_to_explain", "category": "command", "source": "embedded", "distro": null, "corpus_index": 186, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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: described below (see Bourne Shell Builtins .
Non-builtin commands Bash executes have signal handlers set to the
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 833, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 exits the shell).?
This type of command substitution superficially resembles executing an
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 687, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
How can I This variable can be set to either ‘ emacs ’ or ‘ vi ’. in bash?
emacs-mode-string ¶ If the show-mode-in-prompt variable is enabled,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 1747, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
Use the source command to load a file
source ~/.bashrc
{ "row_kind": "nl_to_cmd", "category": "builtin", "source": "embedded", "distro": null, "corpus_index": 41, "augmentation_kind": "none" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Shell Arithmetic ).
If offset evaluates to a number less than zero, the value
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": null, "corpus_index": 635, "augmentation_kind": "none" }