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.

0
U

Property:type (bashcmd)

From BoxMatrix


BoxMatrix >> Shell-Commands >> type (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

Info
  
Name-Collision - multiple objects in this wiki use the name type!
type (bashcmd) Display information about command type.
type (bbcmd) Print a description of command type.

Bash-Command

Goto:   GPL-Browser  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

Excerpt from:   Bash source   >>   type command

Possible #if / #endif blocks are compile options. There is no mechanism yet on BoxMatrix to detect which of these are set per model.

type [-afptP] name [name ...]

Display information about command type.

For each NAME, indicate how it would be interpreted if used as a
command name.

Options:
  -a    display all locations containing an executable named NAME;
        includes aliases, builtins, and functions, if and only if
        the `-p' option is not also used
  -f    suppress shell function lookup
  -P    force a PATH search for each NAME, even if it is an alias,
        builtin, or function, and returns the name of the disk file
        that would be executed
  -p    returns either the name of the disk file that would be executed,
        or nothing if `type -t NAME' would not return `file'
  -t    output a single word which is one of `alias', `keyword',
        `function', `builtin', `file' or `', if NAME is an alias,
        shell reserved word, shell function, shell builtin, disk file,
        or not found, respectively

Arguments:
  NAME    Command name to be interpreted.

Exit Status:
Returns success if all of the NAMEs are found; fails if any are not found.

Excerpt from:   bashref.info   >>   Bash Builtins   >>   type command

type [-afptP] [NAME ...]

For each NAME, indicate how it would be interpreted if used as a
command name.

If the '-t' option is used, 'type' prints a single word which is
one of 'alias', 'function', 'builtin', 'file' or 'keyword', if NAME
is an alias, shell function, shell builtin, disk file, or shell
reserved word, respectively.  If the NAME is not found, then
nothing is printed, and 'type' returns a failure status.

If the '-p' option is used, 'type' either returns the name of the
disk file that would be executed, or nothing if '-t' would not
return 'file'.

The '-P' option forces a path search for each NAME, even if '-t'
would not return 'file'.

If a command is hashed, '-p' and '-P' print the hashed value, which
is not necessarily the file that appears first in '$PATH'.

If the '-a' option is used, 'type' returns all of the places that
contain an executable named FILE.  This includes aliases and
functions, if and only if the '-p' option is not also used.

If the '-f' option is used, 'type' does not attempt to find shell
functions, as with the 'command' builtin.

The return status is zero if all of the NAMES are found, non-zero
if any are not found.

GPL-Browser

Daily updated index of all type code findings on the GPL-Browser. Last update: 2024-11-21 05:11 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.

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-11-21 07:52 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-21 05:56 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-21 07:52 GMT.

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.