Images of shells by the sea

fortsh – shell written in Fortran

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
zshAdvanced and programmable command interpreter
NushellAdopts the Unix philosophy of shells where pipes connect command together
XonshPython-powered, cross-platform shell language and command prompt
fishSmart and user-friendly command line shell
bashsh-compatible command language interpreter
MurexIntuitive, typed and content aware shell
ElvshExpressive programming language and a versatile interactive shell
DASHPOSIX-compliant implementation of sh that aims to be as small as possible
OilsBilled as an upgrade to bash. Written in Python.
tcshC shell with file name completion and command line editing
mkshMirBSD Korn shell
ksh Unix shell which was developed by David Korn at Bell Labs
duneA shell by the beach
RashLanguage, library, and shell REPL for Racket.
ionModern system shell that features a simple, yet powerful, syntax
YashYet another shell
okshPortable OpenBSD ks
esExtensible shell with higher-order functio
coshConcatenative command-line she
arshStatically typed scripting language with shell-like features

Read our verdict in the software roundup.


Best Free and Open Source Software 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.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments