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:fc (bashcmd)

From BoxMatrix


BoxMatrix >> Shell-Commands >> fc (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 fc!
fc (bashcmd) Display or execute commands from the history list.
fc (chipcmd) Alias for fcctl.

Bash-Command

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

Details

Excerpt from:   Bash source   >>   fc command

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

fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]

Display or execute commands from the history list.

fc is used to list or edit and re-execute commands from the history list.
FIRST and LAST can be numbers specifying the range, or FIRST can be a
string, which means the most recent command beginning with that
string.

Options:
  -e ENAME    select which editor to use.  Default is FCEDIT, then EDITOR,
        then vi
  -l     list lines instead of editing
  -n    omit line numbers when listing
  -r    reverse the order of the lines (newest listed first)

With the `fc -s [pat=rep ...] [command]' format, COMMAND is
re-executed after the substitution OLD=NEW is performed.

A useful alias to use with this is r='fc -s', so that typing `r cc'
runs the last command beginning with `cc' and typing `r' re-executes
the last command.

Exit Status:
Returns success or status of executed command; non-zero if an error occurs.

Excerpt from:   bashref.info   >>   Bash History Builtins   >>   fc command

fc [-e ENAME] [-lnr] [FIRST] [LAST]
     fc -s [PAT=REP] [COMMAND]

The first form selects a range of commands from FIRST to LAST from
the history list and displays or edits and re-executes them.  Both
FIRST and LAST may be specified as a string (to locate the most
recent command beginning with that string) or as a number (an index
into the history list, where a negative number is used as an offset
from the current command number).  If LAST is not specified it is
set to FIRST.  If FIRST is not specified it is set to the previous
command for editing and -16 for listing.  If the '-l' flag is
given, the commands are listed on standard output.  The '-n' flag
suppresses the command numbers when listing.  The '-r' flag
reverses the order of the listing.  Otherwise, the editor given by
ENAME is invoked on a file containing those commands.  If ENAME is
not given, the value of the following variable expansion is used:
'${FCEDIT:-${EDITOR:-vi}}'.  This says to use the value of the
'FCEDIT' variable if set, or the value of the 'EDITOR' variable if
that is set, or 'vi' if neither is set.  When editing is complete,
the edited commands are echoed and executed.

In the second form, COMMAND is re-executed after each instance of
PAT in the selected command is replaced by REP.  COMMAND is
intepreted the same as FIRST above.

A useful alias to use with the 'fc' command is 'r='fc -s, so that
typing 'r cc' runs the last command beginning with 'cc' and typing
'r' re-executes the last command (*note Aliases::).

GPL-Browser

Daily updated index of all fc code findings on the GPL-Browser. Last update: 2024-04-20 04:15 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-04-20 07:33 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-04-20 05:16 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) label in the Model column shows which CPU is meant for models with multiple Linux instances.
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 4020 7.39 <bash>
FRITZ!Box 4040 7.39 <bash>
FRITZ!Box 4060 7.39 <bash>
FRITZ!Box 5530 Fiber (main) 7.39 <bash>
FRITZ!Box 5590 Fiber (arm) 7.39 <bash>
FRITZ!Box 6430 Cable (arm) 7.57 <bash>
FRITZ!Box 6490 Cable (arm) 7.39 - 7.57 <bash>
FRITZ!Box 6590 Cable (arm) 7.39 - 7.57 <bash>
FRITZ!Box 6591 Cable (arm) 7.04 - 7.57 <bash>
FRITZ!Box 6591 Cable (atom) 7.04 - 7.57 <bash>
FRITZ!Box 6660 Cable (arm) 7.14 - 7.57 <bash>
FRITZ!Box 6660 Cable (atom) 7.14 - 7.57 <bash>
FRITZ!Box 6670 Cable (arm) 7.57 - 7.62 <bash>
FRITZ!Box 6670 Cable (atom) 7.61 - 7.62 <bash>
FRITZ!Box 6690 Cable (arm) 7.28 - 7.57 <bash>
FRITZ!Box 6690 Cable (atom) 7.28 - 7.57 <bash>
FRITZ!Box 6820 LTE v1 7.39 <bash>
FRITZ!Box 6820 LTE v2 7.39 <bash>
FRITZ!Box 6840 LTE 7.39 <bash>
FRITZ!Box 6850 LTE 7.39 <bash>
FRITZ!Box 6850 5G 7.39 <bash>
FRITZ!Box 6890 LTE 7.39 <bash>
FRITZ!Box 6890 LTE v1 7.39 <bash>
FRITZ!Box 6890 LTE v2 7.39 <bash>
FRITZ!Box 7272 7.39 <bash>
FRITZ!Box 7430 7.39 <bash>
FRITZ!Box 7490 (main) 7.39 - 7.57 <bash>
FRITZ!Box 7520 7.39 <bash>
FRITZ!Box 7520 v2 (arm) 7.39 <bash>
FRITZ!Box 7530 7.39 <bash>
FRITZ!Box 7530 AX 7.39 <bash>
FRITZ!Box 7560 7.39 <bash>
FRITZ!Box 7590 7.39 <bash>
FRITZ!Box 7590 AX 7.39 <bash>
FRITZ!Repeater 600 7.39 <bash>
FRITZ!Repeater 1200 7.39 <bash>
FRITZ!WLAN Repeater 1750E 7.39 <bash>
FRITZ!Repeater 2400 7.39 <bash>
FRITZ!Repeater 3000 7.39 <bash>
FRITZ!Repeater 3000 AX 7.39 <bash>
FRITZ!Powerline 1260E 7.39 <bash>
41 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-04-20 07:33 GMT.

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.