recsh Command

Purpose

Invokes the recovery shell.

Syntax

recsh

Description

When the libc.a library is moved or renamed, an error message Killed will be displayed from the shell as there is no libc.a library available for the system to load and run the utilities. The recsh command invokes recovery shell, which provides the ability to rename libc.a library if it is accidently moved. It uses an alternative libc.a library that is shipped with the system.

Note: This is a recovery shell and users should not use recsh as default shell.

Examples

  1. If libc.a is renamed accidentally then the system will be in an unstable state where in execution of any utility will not be possible. To recover at this point, type:
    recsh; cp -p  libc.a.new /usr/lib/libc.a; exit

Location

/usr/bin/recsh

Files

Item Description
/usr/bin/recsh Specifies the path name to the recovery shell.