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

From BoxMatrix


BoxMatrix >> Shell-Commands >> cd (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 cd!
cd (bashcmd) Change the shell working directory.
cd (bbcmd) Change the current working directory.

Bash-Command

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

Details

See also cwd in procfs.

Excerpt from:   Bash source   >>   cd command

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

cd [-L|[-P [-e]] [-@]] [dir]

Change the shell working directory.

Change the current directory to DIR.  The default DIR is the value of the
HOME shell variable.

The variable CDPATH defines the search path for the directory containing
DIR.  Alternative directory names in CDPATH are separated by a colon (:).
A null directory name is the same as the current directory.  If DIR begins
with a slash (/), then CDPATH is not used.

If the directory is not found, and the shell option `cdable_vars' is set,
the word is assumed to be  a variable name.  If that variable has a value,
its value is used for DIR.

Options:
  -L    force symbolic links to be followed: resolve symbolic
        links in DIR after processing instances of `..'
  -P    use the physical directory structure without following
        symbolic links: resolve symbolic links in DIR before
        processing instances of `..'
  -e    if the -P option is supplied, and the current working
        directory cannot be determined successfully, exit with
        a non-zero status
#if defined (O_XATTR)
  -@    on systems that support it, present a file with extended
        attributes as a directory containing the file attributes
#endif

The default is to follow symbolic links, as if `-L' were specified.
`..' is processed by removing the immediately previous pathname component
back to a slash or the beginning of DIR.

Exit Status:
Returns 0 if the directory is changed, and if $PWD is set successfully when
-P is used; non-zero otherwise.

Excerpt from:   bashref.info   >>   Bourne Shell Builtins   >>   cd command

cd [-L|[-P [-e]] [-@] [DIRECTORY]

Change the current working directory to DIRECTORY.  If DIRECTORY is
not supplied, the value of the 'HOME' shell variable is used.  Any
additional arguments following DIRECTORY are ignored.  If the shell
variable 'CDPATH' exists, it is used as a search path: each
directory name in 'CDPATH' is searched for DIRECTORY, with
alternative directory names in 'CDPATH' separated by a colon (':').
If DIRECTORY begins with a slash, 'CDPATH' is not used.

The '-P' option means to not follow symbolic links: symbolic links
are resolved while 'cd' is traversing DIRECTORY and before
processing an instance of '..' in DIRECTORY.

By default, or when the '-L' option is supplied, symbolic links in
DIRECTORY are resolved after 'cd' processes an instance of '..' in
DIRECTORY.

If '..' appears in DIRECTORY, it is processed by removing the
immediately preceding pathname component, back to a slash or the
beginning of DIRECTORY.

If the '-e' option is supplied with '-P' and the current working
directory cannot be successfully determined after a successful
directory change, 'cd' will return an unsuccessful status.

On systems that support it, the '-@' option presents the extended
attributes associated with a file as a directory.

If DIRECTORY is '-', it is converted to '$OLDPWD' before the
directory change is attempted.

If a non-empty directory name from 'CDPATH' is used, or if '-' is
the first argument, and the directory change is successful, the
absolute pathname of the new working directory is written to the
standard output.

The return status is zero if the directory is successfully changed,
non-zero otherwise.

GPL-Browser

Daily updated index of all cd code findings on the GPL-Browser. Last update: 2024-05-20 04:03 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-05-20 07: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: 2024-05-20 04:59 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.90 <bash>
FRITZ!Box 6591 Cable (atom) 7.04 - 7.90 <bash>
FRITZ!Box 6660 Cable (arm) 7.14 - 7.90 <bash>
FRITZ!Box 6660 Cable (atom) 7.14 - 7.90 <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.90 <bash>
FRITZ!Box 6690 Cable (atom) 7.28 - 7.90 <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-05-20 07:16 GMT.

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.