Content deleted Content added
Blush30720 (talk | contribs) Undid revision 1307857444 by OceanLoop Reverting disruptive edit from yesterday. Work on the prose is in-process. |
m fix quot; repair |
||
(15 intermediate revisions by 6 users not shown) | |||
Line 1:
{{Short description
{{multiple issues|
{{More refs|date=August 2025}}
{{
}}
▲{{More refs|date=August 2025}}
{{Use dmy dates|date=March 2014}}
{{Infobox software
Line 451 ⟶ 449:
[x] Terminal emulator as separate from shell
-->
This functionality is provided by a program called [[GNU Readline]] and is available in interactive mode only.
Certain keypress combinations allow a user to operate Bash to use tab completion and to search the command history.
Line 503 ⟶ 499:
| website = hypexr.org
}}</ref>
=== Syntax <span class="anchor" id="Syntax"></span><span class="anchor" id="Tokens"></span><span class="anchor" id="Metacharacters"></span><span class="anchor" id="Operators"></span><span class="anchor" id="Words"></span><span class="anchor" id="Names"></span> ===
Line 687 ⟶ 663:
All data is stored in memory as a string.
'''Syntax common among data structures in Bash:'''
Beginnning a word with a dollar character signifies that the word is the name of a variable or array.
Surrounding the dollar / variable name syntax in double quotes is always advised.
Line 1,185 ⟶ 1,162:
[ ] scripts execute the contents of a file in a subshell
-->
With the {{code| source}}, or synonymous {{code| .}} command, Bash reads and executes shell commands from any text file by name.<ref>
{{Cite web
| access-date = 26 August 2025
| publisher = [[Free Software Foundation, Inc.]]
| title = 4.1 Bourne Shell Builtins
| website = gnu.org
}}
</ref>
=== Login and non-login shells <span class="anchor" id="Login and non-login shells"></span><span class="anchor" id="Login shells"></span><span class="anchor" id="Non-login shells"></span> ===
Line 2,171 ⟶ 2,157:
| publisher = [[GNU Project]]
| title = Bash Reference Manual: 4.3.1: The Set Builtin
| url = https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
▲/software/bash/manual/html_node/The-Set-Builtin.html
| website = [[Free Software Foundation, Inc.]]
}}</ref>
Line 2,350 ⟶ 2,335:
-->
{{Blockquote
| ITERATION: Sometimes programs are repeated indefinitely or until a specific outcome is reached. Each execution of the instructions is an
{{Cite web
| access-date = 15 August 2025
|