fortsh is an experimental POSIX-compatible command shell written in modern Fortran. The project explores the feasibility of implementing a practical interactive shell using Fortran while maintaining compatibility with established Unix shell behaviour. It demonstrates that modern Fortran can be used to develop complex system utilities traditionally written in languages such as C.
The shell aims to implement the standard POSIX shell feature set while also supporting a number of commonly used features found in popular shells. fortsh provides an interactive environment for running commands, managing jobs, and navigating the filesystem, making it both a functional shell and an interesting demonstration of modern Fortran capabilities.
This is free and open source software.
Key Features
- POSIX-compatible command shell implemented in modern Fortran.
- Supports standard POSIX shell behaviour for command execution and scripting.
- Includes commonly used features inspired by shells such as Bash.
- Real-time highlighting
- Fish-like features.
- Interactive command history with reverse search support.
- Tab completion for commands and arguments.
- Job control for managing foreground and background processes.
- vi mode.
- 60+ built.s
- 99% Bash compatible.
- Demonstrates development of practical system software using modern Fortran.
Website: github.com/FortranGoingOnForty/fortsh
Support:
Developer: FortranGoingOnForty
License: MIT License
fortsh is written in Fortran. Learn Fortran with our recommended free books and free tutorials.
Related Software
| Shells | |
|---|---|
| zsh | Advanced and programmable command interpreter |
| Nushell | Adopts the Unix philosophy of shells where pipes connect command together |
| Xonsh | Python-powered, cross-platform shell language and command prompt |
| fish | Smart and user-friendly command line shell |
| bash | sh-compatible command language interpreter |
| Murex | Intuitive, typed and content aware shell |
| Elvsh | Expressive programming language and a versatile interactive shell |
| DASH | POSIX-compliant implementation of sh that aims to be as small as possible |
| Oils | Billed as an upgrade to bash. Written in Python. |
| tcsh | C shell with file name completion and command line editing |
| mksh | MirBSD Korn shell |
| ksh | Unix shell which was developed by David Korn at Bell Labs |
| dune | A shell by the beach |
| Rash | Language, library, and shell REPL for Racket. |
| ion | Modern system shell that features a simple, yet powerful, syntax |
| Yash | Yet another shell |
| oksh | Portable OpenBSD ks |
| es | Extensible shell with higher-order functio |
| cosh | Concatenative command-line she |
| arsh | Statically typed scripting language with shell-like features |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Know a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

