# OS Shell

OS Shell is a self-hosted development app. A minimal general-purpose base image providing a Linux shell and common utilities, designed for helper tasks such as running initialization scripts in Helm initContainers. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/5248/os-shell

## Description

A minimal general-purpose base image providing a Linux shell and common utilities, designed for helper tasks such as running initialization scripts in Helm initContainers.

## Platform availability

Available on 0 of 10 platforms.

## Health score

2/100 (Low), based on 3 of 4 factors.
- Maintained: 0 (last commit 3202 days ago)
- Popular: 0 (0 GitHub stars)
- Easy to install: 10 (0 install platforms, Docker image)

## Links

- Docker Hub: https://hub.docker.com/r/bitnami/os-shell

## Common questions

### Which commands does os-shell execute?

It executes cd, clr, dir, echo, environ, help, pause, and quit. All calls except cd and quit are run as child processes.

### Can I run several commands in one line?

Yes. The parser handles semicolons, background operators, and redirection operators, and it strips extra spaces and tabs.

### How are background processes handled?

A signal handler prevents zombie processes and notifies the shell when a background child has finished. The shell can then indicate that the process has terminated.

### What happens when I quit os-shell?

It frees its memory and waits for any child processes to terminate before exiting.

### Are environment variables passed to launched commands?

The shell uses execve and passes the necessary environment variables when launching a command.

---
Source: Our Local Host (https://ourlocalhost.com/app/5248/os-shell), the self-hosted and open-source app directory.
