If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.
Property:alias (bashcmd)
BoxMatrix >> Shell-Commands >> alias (bashcmd) | @ BoxMatrix - IRC-Chat - Translate: de es fr it nl pl |
News | Selectors | Models | Accessories | Components | Environment | Config | Commands | System | Webif | Software | Develop | Lexicon | Community | Project | Media |
Startup-Scr | Hotplug-Scr | BusyBox-Cmds | Bash-Cmds | AVM-Cmds | Chipset-Cmds | Linux-Cmds | Shared-Libs | Kernel-Mods | Research |
Name-Collision - multiple objects in this wiki use the name alias!
|
Bash-Command
Command: | alias (bashcmd) - type bash | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> Bash-Commands - Origin: Bash | ||||||
Path: | Release: <bash> Lab+Rel: <bash> | ||||||
Properties: | Size: - Firmware: 7.04 - 8.00 | ||||||
Function: | Define or display aliases. |
Goto: GPL-Browser - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
Excerpt from: Bash source >> alias command
Possible #if / #endif blocks are compile options. There is no mechanism yet on BoxMatrix to detect which of these are set per model.
alias [-p] [name[=value] ... ] Define or display aliases. Without arguments, `alias' prints the list of aliases in the reusable form `alias NAME=VALUE' on standard output. Otherwise, an alias is defined for each NAME whose VALUE is given. A trailing space in VALUE causes the next word to be checked for alias substitution when the alias is expanded. Options: -p print all defined aliases in a reusable format Exit Status: alias returns true unless a NAME is supplied for which no alias has been defined.
Excerpt from: bashref.info >> Bash Builtins >> alias command
alias [-p] [NAME[=VALUE] ...] Without arguments or with the '-p' option, 'alias' prints the list of aliases on the standard output in a form that allows them to be reused as input. If arguments are supplied, an alias is defined for each NAME whose VALUE is given. If no VALUE is given, the name and value of the alias is printed. Aliases are described in *note Aliases::.
Excerpt from: bashref.info >> Aliases >> alias command
Aliases ALIASES allow a string to be substituted for a word when it is used as the first word of a simple command. The shell maintains a list of aliases that may be set and unset with the 'alias' and 'unalias' builtin commands. The first word of each simple command, if unquoted, is checked to see if it has an alias. If so, that word is replaced by the text of the alias. The characters '/', '$', '`', '=' and any of the shell metacharacters or quoting characters listed above may not appear in an alias name. The replacement text may contain any valid shell input, including shell metacharacters. The first word of the replacement text is tested for aliases, but a word that is identical to an alias being expanded is not expanded a second time. This means that one may alias 'ls' to ls -F, for instance, and Bash does not try to recursively expand the replacement text. If the last character of the alias value is a BLANK, then the next command word following the alias is also checked for alias expansion. Aliases are created and listed with the 'alias' command, and removed with the 'unalias' command. There is no mechanism for using arguments in the replacement text, as in 'csh'. If arguments are needed, a shell function should be used (*note Shell Functions::). Aliases are not expanded when the shell is not interactive, unless the 'expand_aliases' shell option is set using 'shopt' (*note The Shopt Builtin::). The rules concerning the definition and use of aliases are somewhat confusing. Bash always reads at least one complete line of input before executing any of the commands on that line. Aliases are expanded when a command is read, not when it is executed. Therefore, an alias definition appearing on the same line as another command does not take effect until the next line of input is read. The commands following the alias definition on that line are not affected by the new alias. This behavior is also an issue when functions are executed. Aliases are expanded when a function definition is read, not when the function is executed, because a function definition is itself a command. As a consequence, aliases defined in a function are not available until after that function is executed. To be safe, always put alias definitions on a separate line, and do not use 'alias' in compound commands. For almost every purpose, shell functions are preferred over aliases.
GPL-Browser
Daily updated index of all alias code findings on the GPL-Browser. Last update: 2024-11-17 05:19 GMT.
The Browse
column points to the Path
containing the respective source code on the gpl.boxmatrix.info service.
The SoC
column lists the Chip-Codenames, the Model
column lists the nicks of the Box-Models.
The Diff
column links the comparison of the AVM Kernel to the pristine original from Kernel.org.
The Download
column links the full tarball the respective directory content is extracted from.
The presence of the source does not mean it fits the respective model and architecture. See the Model-Matrix where it's used.
Browse | Path | SoC | Arch | Model | Firmw | Diff | Download |
---|---|---|---|---|---|---|---|
puma7-atom-6591-750 | packages/bash-4.4.18/builtins | Puma7 | ATOM | 6591 | 7.50 | 4.9.279 | Download |
puma7-atom-6670-761 | packages/bash-5.1.16/builtins | Puma7 | ATOM | 6670 | 7.61 | 5.15.111 | Download |
2 directories containing alias source code |
Dependencies
Daily updated index of all dependencies of this command. Last update: 2024-11-17 07:59 GMT.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
0 dependencies for this command |
Model-Matrix
Daily updated index of the presence, path and size of this command for each model. Last update: 2024-11-17 06:05 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl)
label in the Model
column shows which CPU is meant for Multi-Linux models.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.
Model | Firmware | Path | Size |
---|---|---|---|
FRITZ!Box 6591 Cable (atom) | 7.04 - 8.00 | <bash> | |
FRITZ!Box 6660 Cable (atom) | 7.14 - 8.00 | <bash> | |
FRITZ!Box 6670 Cable (atom) | 7.61 - 7.90 | <bash> | |
FRITZ!Box 6690 Cable (atom) | 7.28 - 7.90 | <bash> | |
4 models use this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2024-11-17 07:59 GMT.
Firmware | Symbol |
---|---|
0 symbols for this command |