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 |
| fish | Smart and user-friendly command line shell |
| Xonsh | Python-powered, cross-platform shell language and command prompt |
| bash | sh-compatible command language interpreter |
| Murex | Intuitive, typed and content aware shell |
| PowerShell | Cross-platform automation and configuration framework |
| Elvsh | Expressive programming language and a versatile interactive shell |
| Oils | Billed as an upgrade to bash. Written in Python. |
| DASH | POSIX-compliant implementation of sh that aims to be as small as possible |
| sh | Shell parser, formatter, and interpreter |
| 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 |
| brush | POSIX- and bash compatible shell |
| Rash | Language, library, and shell REPL for Racket. |
| ion | Modern system shell that features a simple, yet powerful, syntax |
| Cicada | Bash-like command environment with scripting and job control |
| Yash | Yet another shell |
| oksh | Portable OpenBSD ks |
| es | Extensible shell with higher-order functio |
| dune | A shell by the beach |
| cosh | Concatenative command-line she |
| Marcel | Modern command environment combining Python with Unix pipelines |
| Hilbish | Highly extensible command environment configured with Lua |
| gsh | POSIX-compatible generative shell |
| arsh | Statically typed scripting language with shell-like features |
| Sushi shell | Bash clone shell implemented in Rust |
| loksh | Linux port of OpenBSD's Korn-compatible command interpreter |
| fortsh | Shell written in Fortran |
| hsh | Slightly different take on your shell |
| ReShell | Modern shell |
| rash | Rudimentary shell |
| Dax | Custom Unix shell implementation |
| cjsh | POSIX-oriented command environment with modern interactive features |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.