Datasets:

messages
listlengths
3
3
system
stringclasses
2 values
user
stringlengths
1
191
response
stringlengths
2
500
metadata
unknown
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
What is the command to see the description of force-meta-prefix below. on Ubuntu?
disable-completion ¶ If set to ‘ On ’, Readline inhibits word completion.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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: See Bash Startup Files . on Ubuntu
BASH_EXECUTION_STRING ¶ The command argument to the -c invocation option. BASH_LINENO ¶ An array variable whose members are the line numbers in source files
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 parsed (e.g., as part of a function definition). on Ubuntu?
The time reserved word may be used by itself as a simple command.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 May also be specified as -e . on Arch Linux?
file File and directory names, similar to Readline’s filename completion.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 in decreasing order of precedence: on Ubuntu
( expression ) Returns the value of expression .
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
does not attempt to read any other startup files. on Arch Linux
When invoked as sh , Bash enters POSIX mode after reading
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 By default, this is not bound to a key. on Arch Linux
quoted-insert (C-q or C-v) ¶ Add the next character typed to the line verbatim.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 $endif on Arch Linux in bash?
application The application construct is used to include
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 zeroth word if there is only one word in the line. on Ubuntu
% The first word matched by the most recent ‘ ? string ? ’ search,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 See Bash Builtin Commands . on Ubuntu
keyname :  function-name  or  macro keyname is the name of a key spelled out in English.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
Show me how to and captures its output, again with trailing newlines removed. on Arch Linux
The character c following the open brace must be a space, tab,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 to do them, and mail diffs or instructions to on Ubuntu
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": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 not just those that precede the command name. on Arch Linux in bash?
When Bash invokes an external command, the variable ‘ $_ ’
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 By default, this is not bound to a key. on Ubuntu?
quoted-insert (C-q or C-v) ¶ Add the next character typed to the line verbatim.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Use select for a menu on Ubuntu?
select opt in 'Option 1' 'Option 2' 'Quit'; do case $opt in Quit) break;; *) echo "You chose $opt";; esac done
{ "row_kind": "nl_to_cmd", "category": "syntax", "source": "embedded", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 option or disable brace expansion with the on Arch Linux?
+B
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 when it was invoked. on Ubuntu
READLINE_LINE ¶ The contents of the Readline
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 (resume) execution of processes. on Arch Linux
metacharacter ¶ A character that, when unquoted, separates words.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
Give me the command for: as verbatim copying in other respects. on Arch Linux
If the required texts for either cover are too voluminous to fit
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
As a special case, if n is omitted, and on Arch Linux
word does not expand to one or more digits or ‘ - ’,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 expansion functions about quoting still in effect from previous lines. on Ubuntu
History expansion takes place in two parts.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 reset on Arch Linux?
Auto "cd" when entering just a path Bash can automatically prepend cd when entering just a path in the shell. For example: $ /etc bash: /etc: Is a directory But after adding one line into .bashrc file: ~/.bashrc ...
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://wiki.archlinux.org/title/Bash", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 imply endorsement of any Modified Version. on Ubuntu in bash?
COMBINING DOCUMENTS You may combine the Document with other documents released under this
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 pattern loses its special meaning of matching any single character. on Arch Linux?
Bracket expressions in regular expressions can be sources of errors as well,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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: important when a shell function calls other functions. on Ubuntu
In the following description, the current scope is a currently-
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 That is, the word on Ubuntu in bash?
-d'' becomes -d after word splitting and
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Create a temporary directory on Ubuntu
tmpdir=$(mktemp -d) trap 'rm -rf "$tmpdir"' EXIT
{ "row_kind": "nl_to_cmd", "category": "scripting", "source": "embedded", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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: Show logs from the last hour on Ubuntu
journalctl --since '1 hour ago'
{ "row_kind": "nl_to_cmd", "category": "command", "source": "embedded", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 If there are no arguments, the positional parameters remain unchanged. on Arch Linux
Using ‘ + ’ rather than ‘ - ’ causes these options to be
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Use the source command to load a file on Ubuntu?
source ~/.bashrc
{ "row_kind": "nl_to_cmd", "category": "builtin", "source": "embedded", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Next: What is a shell? , Up: Introduction   [ Contents ][ Index ] on Ubuntu?
1.1 What is Bash? ¶ Bash is the shell, or command language interpreter,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 which expands to the substring of var ’s value of length on Ubuntu?
length , beginning at offset , is present
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Unless otherwise noted, the values are inherited from the shell. on Arch Linux
The shell’s open files, plus any modifications and additions specified
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
Previous: Executing Commands , Up: Basic Shell Features   [ Contents ][ Index ] on Arch Linux
3.8 Shell Scripts ¶ A shell script is a text file containing shell commands.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 directory does not begin with a slash, on Arch Linux
cd uses it as a search path: cd searches each directory name in CDPATH for directory , with alternative directory names in CDPATH
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Filter rows with awk on Arch Linux?
awk '$3 > 100' data.txt
{ "row_kind": "nl_to_cmd", "category": "command", "source": "embedded", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 When the shell is in POSIX mode (see Bash and POSIX ), on Arch Linux?
fname must be a valid shell name and
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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: The format for arithmetic expansion is: on Ubuntu
$(( expression )) The expression undergoes the same expansions
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 ignores SIGTTIN , SIGTTOU , and SIGTSTP . on Ubuntu?
The trap builtin modifies the shell’s signal handling, as
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 This variable is readonly. on Arch Linux?
BASHPID ¶ Expands to the process ID of the current Bash process.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 some systems, to its children. on Arch Linux
-x The maximum number of file locks. -P The maximum number of pseudoterminals. -R The maximum time a real-time process can run before blocking, in microseconds. -T The maximum number of threads. If limit is supplied, and the -a option is not used, limit is the new value of the specifi...
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Most reserved words introduce shell flow control constructs, such as on Ubuntu in bash?
for and while . return status ¶ A synonym for exit status . signal ¶ A mechanism by which a process may be notified by the kernel
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 from the list by whitespace. on Ubuntu
The exit status of both of these constructs is the exit status of list .
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 another line. on Ubuntu
Here is the list of commands for killing text. C-k Kill the text from the current cursor position to the end of the line. M-d Kill from the cursor to the end of the current word, or, if between
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
Base64 decode a string on Ubuntu
echo 'aGVsbG8=' | base64 -d
{ "row_kind": "nl_to_cmd", "category": "command", "source": "embedded", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 executed, the script displays on Arch Linux?
In func2, var = func1 local func1()
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 expansion of the special parameters ‘ @ ’ and ‘ * ’. on Arch Linux?
${# name [ subscript ]} expands to the length of ${ name [ subscript ]} .
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 each time a shell function or a script executed with the . or on Arch Linux
source builtins finishes executing. If a sigspec is ERR , action
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 select for a menu on Arch Linux
select opt in 'Option 1' 'Option 2' 'Quit'; do case $opt in Quit) break;; *) echo "You chose $opt";; esac done
{ "row_kind": "nl_to_cmd", "category": "syntax", "source": "embedded", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
Write a command that will Next: Shell Parameter Expansion , Previous: Brace Expansion , Up: Shell Expansions   [ Contents ][ Index ] on Ubuntu
3.5.2 Tilde Expansion ¶ If a word begins with an unquoted tilde character (‘ ~ ’), all of the
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 and values simultaneously. on Arch Linux?
The Bash hash builtin allows a name to be associated with
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
Give me the command for: This works with multiple redirection operators. on Arch Linux
Bash can open network connections to arbitrary machines and services
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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: Iterate over arguments on Arch Linux
for arg in "$@"; do echo "Arg: $arg" done
{ "row_kind": "nl_to_cmd", "category": "scripting", "source": "embedded", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 is set to value . on Arch Linux?
When using -a or -A and the compound assignment syntax to
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 is supplied. on Arch Linux?
If the -x option is supplied, jobs replaces any jobspec found in command or arguments with the
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
Write a command that will Next: Locale-Specific Translation , Previous: Double Quotes , Up: Quoting   [ Contents ][ Index ] on Arch Linux
3.1.2.4 ANSI-C Quoting ¶ Character sequences of the form $' string ' are treated as
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 variable to filter the matches, but does not use the on Ubuntu in bash?
GLOBIGNORE shell variable. Next, completion considers
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Previous: What is Bash? , Up: Introduction   [ Contents ][ Index ] on Arch Linux
1.2 What is a shell? ¶ At its base, a shell is simply a macro processor that executes commands.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
What is the command to This builtin is equivalent to source . on Ubuntu?
break ¶ break [ n ] Exit from a for , while , until , or select loop.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Bash Builtin Commands ). on Arch Linux?
Bash performs filename expansion on filenames specified as operands
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 the return status is 0. on Arch Linux
pushd ¶ pushd [-n] [ +N | -N | dir ] Add a directory to the top of the directory stack, or rotate
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 essentials for editing the text of an input line: on Arch Linux?
C-b Move back one character. C-f Move forward one character. DEL or Backspace Delete the character to the left of the cursor. C-d Delete the character underneath the cursor. Printing characters Insert the character into the line at the cursor. C-_ or C-x C-u Undo the last editing command.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 It returns false when it encounters the end of options or if an error occurs. on Arch Linux
hash ¶ hash [-r] [-p filename ] [-dt] [ name ] Each time hash is invoked, it remembers the full filenames of the
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 is not specified. on Arch Linux?
The general format for redirecting input is: [ n ]< word 3.6.2 Redirecting Output ¶ Redirecting output opens the file whose name results from
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
the normal Bash files (see Bash Startup Files . on Arch Linux
Alias expansion is always enabled, even in non-interactive shells. Reserved words appearing in a context where reserved words are recognized
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 above: on Arch Linux
$if editing-mode == emacs
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 cannot affect the shell’s execution environment. on Arch Linux
When the shell is in POSIX mode,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 basename. on Arch Linux
e Remove all but the trailing suffix. p Print the new command but do not execute it. q Quote the substituted words, escaping further substitutions. x Quote the substituted words as with ‘ q ’,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 as if ‘ in "$@" ’ had been specified. on Arch Linux?
select then displays the PS3
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
before attempting the directory change. on Ubuntu
If cd uses a non-empty directory name from CDPATH , or if
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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: with zero. on Ubuntu
popd ¶ popd [-n] [+ N | - N ] Remove elements from the directory stack.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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: conditional command can be expanded more than once. on Ubuntu
The expressions in substring parameter brace expansion can be
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Discard output to /dev/null on Arch Linux?
command > /dev/null 2>&1
{ "row_kind": "nl_to_cmd", "category": "syntax", "source": "embedded", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 job control enabled, jobspec does not specify a valid job or on Ubuntu
jobspec specifies a job that was started without job control. jobs ¶ jobs [-lnprs] [ jobspec ]
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 formats quote the argument string using single quotes. on Ubuntu?
%Q like %q , but applies any supplied precision to the argument
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
Write a command that will The -r flag reverses the order of the listing. on Ubuntu
Otherwise, fc invokes the editor named by ename on a file containing those commands.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 escape sequences expanded as with the $'…' quoting mechanism. on Ubuntu
P The expansion is a string that is the result of expanding the value of parameter as if it were a prompt string (see Controlling the Prompt ). A The expansion is a string in the form of
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 zero if no condition tested true. on Arch Linux
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": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 processed by gprof each time it is executed. on Arch Linux
--enable-separate-helpfiles Use external files for the documentation displayed by the help builtin
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 shell functions, which an external command cannot do easily. on Arch Linux
--enable-cond-command Include support for the [[ conditional command.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 newer. on Arch Linux?
You can remove the program binaries and object files from the
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 regardless of the setting of the on Ubuntu?
mark-symlinked-directories Readline variable. There is some support for dynamically modifying completions.
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 commit log on Arch Linux?
git log --oneline --graph
{ "row_kind": "nl_to_cmd", "category": "command", "source": "embedded", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 or inconvenient to obtain with separate utilities. on Ubuntu
This section briefly describes the builtins which Bash inherits from
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Translate characters on Arch Linux
tr 'a-z' 'A-Z' < file.txt
{ "row_kind": "nl_to_cmd", "category": "command", "source": "embedded", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 option. on Arch Linux?
When the shell is not interactive,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Show lines that do NOT match on Arch Linux
grep -v 'debug' log.txt
{ "row_kind": "nl_to_cmd", "category": "command", "source": "embedded", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 result in an expansion error. on Arch Linux?
force_fignore If set, the suffixes specified by the FIGNORE shell variable
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 lexicographically using the current locale. on Arch Linux?
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": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
How can I for the file in the current directory, and looks in the directories in on Arch Linux in bash?
$PATH if not found there. Bash tries to determine whether the file is a text file or a binary,
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Interactive Shells , for more information. on Ubuntu?
If arguments remain after option processing, and neither the -c nor the -s
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
Append stdout to a file on Arch Linux
echo more >> output.txt
{ "row_kind": "nl_to_cmd", "category": "syntax", "source": "embedded", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 array in turn, and the expansion is the resultant list. on Arch Linux?
The result of the expansion is subject to word splitting and filename
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 It takes the form of on Ubuntu
<( list ) or >( list ) The process list is run asynchronously, and its input or output
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do not add commentary unless asked.
What's the best way to This command is unbound by default. on Arch Linux?
delete-char-or-list () ¶ Deletes the character under the cursor if not at the beginning or
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 Next: Special Builtins , Previous: Bash Builtin Commands , Up: Shell Builtin Commands   [ Contents ][ Index ] on Arch Linux?
4.3 Modifying Shell Behavior ¶ The Set Builtin The Shopt Builtin
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 option. on Arch Linux?
FCEDIT ¶ The editor used as a default by the fc builtin command. FIGNORE ¶ A colon-separated list of suffixes to ignore when performing
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 two-argument test using the second and third arguments. on Ubuntu
If the first argument is exactly ‘ ( ’ and the third argument is
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "ubuntu", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 parameters: on Arch Linux?
$ set -- 1 2 3 4 5 6 7 8 9 0 a b c d e f g h
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }
[ { "role": "system", "content": "You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-compatible syntax where possible. If the task requires multiple commands, join them with && or use a script block. Do...
You are a Bash and Linux command-line expert. Respond with the exact command or script that accomplishes the requested task. Use best-practice flags and POSIX-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 message and returns an exit status of 127. on Arch Linux?
If the search is successful, or if the command name contains
{ "row_kind": "nl_to_cmd", "category": "fetched", "source": "https://www.gnu.org/software/bash/manual/bash.html", "distro": "arch", "augmentation_kind": "distro_slot" }