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:history (bashcmd)
| BoxMatrix >> Shell-Commands >> history (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 history!
|
Bash-Command
| Command: | history (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 - 7.90 | ||||||
| Function: | Display or manipulate the history list. | ||||||
Goto: GPL-Browser - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
Excerpt from: Bash source >> history command
Possible #if / #endif blocks are compile options. There is no mechanism yet on BoxMatrix to detect which of these are set per model.
history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg [arg...]
Display or manipulate the history list.
Display the history list with line numbers, prefixing each modified
entry with a `*'. An argument of N lists only the last N entries.
Options:
-c clear the history list by deleting all of the entries
-d offset delete the history entry at position OFFSET.
-a append history lines from this session to the history file
-n read all history lines not already read from the history file
and append them to the history list
-r read the history file and append the contents to the history
list
-w write the current history to the history file
-p perform history expansion on each ARG and display the result
without storing it in the history list
-s append the ARGs to the history list as a single entry
If FILENAME is given, it is used as the history file. Otherwise,
if HISTFILE has a value, that is used, else ~/.bash_history.
If the HISTTIMEFORMAT variable is set and not null, its value is used
as a format string for strftime(3) to print the time stamp associated
with each displayed history entry. No time stamps are printed otherwise.
Exit Status:
Returns success unless an invalid option is given or an error occurs.
Excerpt from: bashref.info >> Bash History Builtins >> history command
history [N]
history -c
history -d OFFSET
history [-anrw] [FILENAME]
history -ps ARG
With no options, display the history list with line numbers. Lines
prefixed with a '*' have been modified. An argument of N lists
only the last N lines. If the shell variable 'HISTTIMEFORMAT' is
set and not null, it is used as a format string for STRFTIME to
display the time stamp associated with each displayed history
entry. No intervening blank is printed between the formatted time
stamp and the history line.
Options, if supplied, have the following meanings:
-c
Clear the history list. This may be combined with the other
options to replace the history list completely.
-d OFFSET
Delete the history entry at position OFFSET. OFFSET should be
specified as it appears when the history is displayed.
-a
Append the new history lines to the history file. These are
history lines entered since the beginning of the current Bash
session, but not already appended to the history file.
-n
Append the history lines not already read from the history
file to the current history list. These are lines appended to
the history file since the beginning of the current Bash
session.
-r
Read the history file and append its contents to the history
list.
-w
Write out the current history list to the history file.
-p
Perform history substitution on the ARGs and display the
result on the standard output, without storing the results in
the history list.
-s
The ARGs are added to the end of the history list as a single
entry.
When any of the '-w', '-r', '-a', or '-n' options is used, if
FILENAME is given, then it is used as the history file. If not,
then the value of the 'HISTFILE' variable is used.
GPL-Browser
Daily updated index of all history code findings on the GPL-Browser. Last update: 2025-05-26 04:00 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 history source code | |||||||
Dependencies
Daily updated index of all dependencies of this command. Last update: 2025-05-26 06:16 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: 2025-05-26 04:32 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 - 7.90 | <bash> | |
| FRITZ!Box 6660 Cable (atom) | 7.14 - 7.90 | <bash> | |
| FRITZ!Box 6670 Cable (atom) | 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: 2025-05-26 06:16 GMT.
| Firmware | Symbol |
|---|---|
| 0 symbols for this command | |