Lunduke
News • Science & Tech
The History of the First Computer Shell
BASH? PowerShell? It all traces back to 1963. And the work of an amazing Frenchman, CTTS, and Multics.
October 07, 2022
post photo preview

Powerful, “Command Line” computer interfaces have been around for — what seems like — forever. Interfaces where you can run multiple commands, one after another (in a batch)… where you can have simple “scripts” to tie those commands together.

That sort of “Shell” comes in so many forms… from SH and BASH on UNIX-like (and Linux) systems… to COMMAND.COM and PowerShell on Windows.

The text “Shell” is everywhere. And has been for longer than most can even remember.

But it had to start somewhere. Someone had to make the first “Shell”.

This is that story.

And that story starts… with a man. His name is Louis Pouzin.

The Man

Louis Pouzin was born, in 1931, in a small town in almost the smack-dab-middle of France: Chantenay-Saint-Imbert.

Louis Pouzin. With a sweet mustache. Photo credit: Jérémie Bernard

In the 1960’s Pouzin would move from France — and his job managing programmers at Bull (a French computer company) — to Massachusetts. His new job would put him working on an ambitious computing project at the Massachusetts Institute of Technology…

The Compatible Time-Sharing System

In 1961, the world’s first, general purpose, time sharing operating system was demonstrated at MIT.

That system — the “Compatible Time-Sharing System”… or “CTTS” — was originally developed on an IBM 709. And oh, what a beautiful machine it was.

The IBM 709

The IBM 709 was an absolute beast. Capable of adding 42,000 numbers per second, and multiplying two 36-bit integers together at a (then) blinding speed: 5,000 per second.

All contained in a svelte 2,000 pounds.

And this IBM 709, running CTTS, certainly had a text interface… but it wasn’t exactly a “Shell”. At least not in any way we would recognize together. Certainly, no scripting together of commands.

Over the next two years, CTTS continued to improve and evolve. Getting ported, by 1963, to a modified IBM 7094. Which, like the 709 before it, was a gorgeous machine. With enough physical switches to make any Sci-Fi nerd happy.

The IBM 7094 - “The Blue Machine”. Photo credit: IBM

It is around this time, that Pouzin arrives at MIT, where he is (at least partially) responsible for a little program called “MAIL”.

Wait. What? Pouzin invented E-Mail?

 

Well. Not quite. This was several years before what we now call “E-Mail” was created. This original “MAIL”, on CTTS, was a system for sending mail messages to other users… on the same CTTS system. It lacked a mechanism for forwarding messages to users on other systems.

 

Just the same, this work heavily influenced what would later become “E-Mail”.

But we’re not here to talk about MAIL or the many contributions Pouzin made to computer networking (leading to what we call “The Internet”) — that’s a fascinating topic for another day. Let’s focus on a little program that Pouzin wrote… which would change computing forever.

RUNCOM

You see, in those days, there was no “command interpreter” program. No “shell”. You simply instructed the kernel to run a single program.

Nothing like “COMMAND.COM” on DOS. Or BASH, SH, or other shells on UNIX and Linux systems. Nothing at a all like that existed.

That all changed in 1963, when Pouzin came up with “RUNCOM” — short for “RUN COMmand”.

In Pouzin’s words:

“After having written dozens of commands for CTSS, I reached the stage where I felt that commands should be usable as building blocks for writing more commands, just like subroutine libraries. Hence, I wrote "RUNCOM", a sort of shell driving the execution of command scripts, with argument substitution. The tool became instantly most popular, as it became possible to go home in the evening while leaving behind long runcoms executing overnight. It was quite neat for boring and repetitive tasks such as renaming, moving, updating, compiling, etc. whole directories of files for system and application maintenance and monitoring.”

RUNCOM was, truly, the first “Shell” system.

In fact, Pouzin, was the first person to call such a program a “Shell”.

His RUNCOM program would continue to be a critical component of the CTTS system until it ceased operations in 1973.

RUNCOM section from the CTTS Programmers Guide. Courtesy: Internet Archive

But we still didn’t quite have what we would call a “Shell”. Not yet.

The “Shell” had a name, and some of the features, but it wasn’t a truly interactive experience.

Meanwhile, in England…

During 1964, a computer scientist named Christopher Strachey was working at the University of Cambridge… on, what he called, the “General Purpose Macrogenerator”. Or “GPM”, for short.

Christopher Strachey, sporting a most excellent mustache. Photo courtesy: University of Oxford

This language had a heavy influence on much of 1960s and 1970s computing — including on “m4”.

M4 is a macro language, developed by Brian Kernighan and Dennis Ritchie, that was part of the original version of UNIX… and was later adopted as a part of the POSIX standard.

Strachey’s GPM design document. Published in a 1965 issue of The Computer Journal.

Back in Massachusetts…

During 1964, work on Multics (the “Multiplexed Information and Computing Service”) was getting underway at MIT (as a joint project between MIT, General Electric, and Bell Labs).

While Pouzin wasn’t going to be part of the Multics project… boy howdy… he had some ideas.

In his own words:

“Then in 64 came the Multics design time, in which I was not much involved, because I had made it clear I wanted to return to France in mid 65. However, this idea of using commands somehow like a programming language was still in the back of my mind. Christopher Strachey, a British scientist, had visited MIT about that time, and his macro-generator design appeared to me a very solid base for a command language, in particular the techniques for quoting and passing arguments. Without being invited on the subject, I wrote a paper explaining how the Multics command language could be designed with this objective. And I coined the word "shell" to name it. It must have been at the end of 64 or beginning of 65.”

Pouzin made sure his ideas were documented, by publishing a document entitled: “The SHELL: A global tool for calling and chaining procedures in the system”.

The full document is archived by MIT.
 

According to Pouzin:

“The small gang of Multics wizards found it a sleek idea, but they wanted something more refined in terms of language syntax. As time left to me was short, and I was not an expert in language design, I let the issue for them to debate, and instead I made a program flowchart of the shell. It was used after I left for writing the first Multics shell. Glenda Schroeder (MIT) and a GE man did it.”

From Tom Van Vleck, who worked on Multics for 16 years (starting in 1965):

“The first time I remember the name "shell" for the function of finding and running a command was in a Multics Design Notebook document by Louis Pouzin.

 

These memos con[t]ained the idea of having the command processing shell be an unprivileged user program that parsed a command line, located a program to run, and executed it with arguments.”

So. Who created the first “Shell”?

The concept, and first implementation of a “Shell” (RUNCOM for the CTTS), was made by Louis Pouzin.

But the first truly interactive example of a Shell — the one that was part of Multics, and which would most closely resemble the interactive shells of today — was initially designed by Pouzin… and programmed by Glenda Schroeder and a “Mystery Man from General Electric”.

The impact of RUNCOM and the Multics Shell

The impact of these early Shells cannot be understated.

Because of RUNCOM — and the designs of Pouzin — we have the Multics Shell.

Because of Multics… we have UNIX (originally named UNICS… before someone in marketing decided an “X” looked cooler) and SH.

You can trace every single computer Shell in existence — including BASH, PowerShell, and so many others — back to that first work. Back to the ideas of Louis Pouzin.

In fact, that influence expands far beyond just the design ideas of a scriptable, interactive Shell.

According to Brian Kernighan and Dennis Ritchie:

"There was a facility that would execute a bunch of commands stored in a file; it was called RUNCOM for "run commands", and the file began to be called "a runcom". rc in Unix is a fossil from that usage."

That’s right. Have you seen “rc” on your UNIX or Posix systems — such as .cshrc or /etc/rc? Those are named that way, according the the men behind UNIX itself, because of RUNCOM and Louis Pouzin.

To put it simply, modern computing is the way it is, in large part… thanks to Pouzin. A computer scientist that should be a household name.

community logo
Join the Lunduke Community
To read more articles like this, sign up and join my community today
9
What else you may like…
Videos
Podcasts
Posts
Articles
Non-DEI Fork of Xorg by Most Active Xorg Developer

The XLibre fork of the ubiquitous open source X11 implementation, Xorg, plans first release with "about 3,000 commits" and no "DEI".

00:19:15
Tech Journalist Engages in Lies & Doublespeak to Defame Lunduke

As part of a GNOME puff piece, a Tech Journalist for a Free and Open Source publication went on an unhinged attack on all things "Lunduke". And GNOME promoted it.

00:23:44
When Should They Be Censored for The Violence they Promoted?

Across all major platforms -- X, Twitch, YouTube, Reddit etc. -- they vilify and encourage violence against Jews. Then the violence occurs. From Leftist Activists to the "Woke Right", when should they be censored?

00:34:19
November 22, 2023
The futility of Ad-Blockers

Ads are filling the entirety of the Web -- websites, podcasts, YouTube videos, etc. -- at an increasing rate. Prices for those ad placements are plummeting. Consumers are desperate to use ad-blockers to make the web palatable. Google (and others) are desperate to break and block ad-blockers. All of which results in... more ads and lower pay for creators.

It's a fascinatingly annoying cycle. And there's only one viable way out of it.

Looking for the Podcast RSS feed or other links? Check here:
https://lunduke.locals.com/post/4619051/lunduke-journal-link-central-tm

Give the gift of The Lunduke Journal:
https://lunduke.locals.com/post/4898317/give-the-gift-of-the-lunduke-journal

The futility of Ad-Blockers
November 21, 2023
openSUSE says "No Lunduke allowed!"

Those in power with openSUSE make it clear they will not allow me anywhere near anything related to the openSUSE project. Ever. For any reason.

Well, that settles that, then! Guess I won't be contributing to openSUSE! 🤣

Looking for the Podcast RSS feed or other links?
https://lunduke.locals.com/post/4619051/lunduke-journal-link-central-tm

Give the gift of The Lunduke Journal:
https://lunduke.locals.com/post/4898317/give-the-gift-of-the-lunduke-journal

openSUSE says "No Lunduke allowed!"
September 13, 2023
"Andreas Kling creator of Serenity OS & Ladybird Web Browser" - Lunduke’s Big Tech Show - September 13th, 2023 - Ep 044

This episode is free for all to enjoy and share.

Be sure to subscribe here at Lunduke.Locals.com to get all shows & articles (including interviews with other amazing nerds).

"Andreas Kling creator of Serenity OS & Ladybird Web Browser" - Lunduke’s Big Tech Show - September 13th, 2023 - Ep 044

How To Setup Windows

Thanks to DHowett who is a MS employee we have an unsigned EC driver that allows you to control the EC from Windows. Currently this means that you need to disable secure boot and enable unsigned driver testing to use it. A signed one is being worked on hopefully. Framework released one for the new AI 300 AMD series but no other mainboard has one yet.

Anyway I was finally able to write a piece of software that monitors the temps via the EC every 10 seconds and sets the fan accordingly. This is important on the Mattbook because the default fan curve allows too much heat to build up before the fan comes on.

This was a serious hurdle because overheating is a serious concern in the Mattbook due to the proximity of the battery and mainboard. Now those problems have been alleviated it means you can use the Mattbook at full tilt. Woot!

Just wanted to share with you awesome nerds!

post photo preview

Peri's a bit of a ham (he was in Star Wars you know, although he doesn't like to talk about it), but this could genuinely be really cool. I mean, he knows all the right people to do it properly: Jeri Ellsworth, Bil Herd, David Pleasance, the Retro Games Ltd. folks... and he has good standing among all the cottage-industry retro types. It could actually work.

50% off The Lunduke Journal (including Lifetime Subscriptions) for one more day!

To all of you amazing nerds who have signed up for a new Lunduke Journal subscription today, thank you! You make The Lunduke Journal possible!

If you haven’t snagged yours yet, the “50% off everything, even the Lifetime Subscriptions” deal is available today and tomorrow (through Saturday, May 31st).

  • 50% off Monthly — Now $3 / Month (was $6 / Month)

  • 50% off Yearly — Now $27 / Year (was $54 / Year)

  • 50% off Yearly MP4 Downloads — Now $27 / Year (was $54 / Year)

  • 50% off Lifetime Subscriptions — Now $100 (was $200)

All the details on how to grab each type of subscription is right here. There’s also an audio podcast and video of me rambling about it.

Once again, thank you for all of the support. It truly does make a difference.

-Lunduke

Read full Article
50% off The Lunduke Journal (including Lifetime Subscriptions) through Saturday!

About 3 weeks back we had a deal where every new subscription to The Lunduke Journal was 50% off. Monthly, Yearly, Lifetime… all of it.

And — holy cow! — was that a success. Broke the record for most new subscribers to The Lunduke Journal in a single day. By a mile. Two days in a row.

Never seen anything like it. The amount of support all of you showed for truly independent Tech Journalism was off the charts.

You know what? Let’s try that again. Now through the end of May (which is Saturday, May 31st — the day after tomorrow):

  • 50% off Monthly — Now $3 / Month (was $6 / Month)

  • 50% off Yearly — Now $27 / Year (was $54 / Year)

  • 50% off Yearly MP4 Downloads — Now $27 / Year (was $54 / Year)

  • 50% off Lifetime Subscriptions — Now $100 (was $200)

Choose whichever option feels right for you. All the details and links are below.

Every one — big or small — directly funds the work of The Lunduke Journal (with zero overhead). Every option includes full access to the community Forum. And, of course, every type of subscription keeps The Lunduke Journal ad-free and Big Tech free.

Remember: 50% off is only through Saturday, May 31st. The next day (Sunday, June 1st) the prices all go back to normal.

50% Off Yearly or Monthly Subscription:

50% off a Yearly or Monthly subscription to The Lunduke Journal are available via both Locals and Substack. (This includes full access to the community Forum.)

That means $3 / Month. Or $27 / Year (which works out to $2.25 / Month).

Via Lunduke.Locals.com:

Via Lunduke.Substack.com:

The Famous Lifetime Subscription:

The "World Famous Lunduke Journal Lifetime Subscription" is exactly what it sounds like. Pay once and get full access to The Lunduke Journal. For life.

Now, through Saturday, May 31st… you can snag one at a crazy discount. Normally these are $200… but you can grab one for $100. (You can also pay more if you’d like to donate a little extra.)

The Lifetime Subscription can be obtained via Locals, Substack, or using Bitcoin. All three options work great and are super easy. Scroll down and choose your option.

How to get a Lifetime Subscription via Locals:

  1. Go to Lunduke.Locals.com/support.

  2. Select "Give Once".

  3. Enter "100" (or more) into the amount field.

  4. After checking out, Lunduke will toss you an email once your account is set to full lifetime status. (This usually happens within a few hours.)

How to get a Lifetime Subscription via Substack:

  1. Go to Lunduke.Substack.com/subscribe.

  2. Select the “Lifetime Subscription” option.

  3. After checking out, Lunduke will toss you an email once your account is set to full lifetime status. (This usually happens within a few hours.)

If you would also like full, Lifetime access to Lunduke.Locals.com (which is included):

  1. Make a free account on Lunduke.Locals.com.

  2. Email “bryan at lunduke.com” with the email address you use on both Substack and Locals (can be different email addresses).

  3. Lunduke will toss you an email once your account is set to full lifetime status on Locals.

How to get a Lifetime Subscription with Bitcoin:

You can also obtain a Lifetime Subscription via Bitcoin.

bc1qyjakve8fywm8pz2v99v57yhjj0vzr2vjze6fcq

  • Email "bryan at lunduke.com" with the following information: What time you made the transaction, how much was sent (in Bitcoin), and the email address you use (or plan to use) on Locals.com or Substack.com (or both).

50% Off DRM-Free, MP4 Downloads:

Want to be able to download every show The Lunduke Journal releases (and watch them on whatever device you like)? Yeah. You can do that. For 50% off.

Note: This DRM-Free download option does not include access to the Forum. This option is strictly for downloading the episodes.

Make a One Time Donation

Subscription not enough (or not your thing)? Want to toss in a one-time donation to The Lunduke Journal? There’s a few great options!

Via BitCoin:

Send any amount of BTC to the following address:

bc1qyjakve8fywm8pz2v99v57yhjj0vzr2vjze6fcq

  • Email "bryan at lunduke.com" with to let us know it was you! You can choose to keep your donation anonymous if you prefer. (Either way, all BTC donations get included in the matching deal.)

Via Locals:

  1. Go to Lunduke.Locals.com/support.

  2. Click “GIVE ONCE”.

  3. Enter any amount you like.

You Make This Possible

A huge thank you to all of the subscribers who have made The Lunduke Journal possible. Because of you, we have been able to do true Tech Journalism — to tell the stories that no other Tech News outlet has the cajones to touch.

And to all of you new Lunduke Journal subscribers (which, wow, there’s a lot of you): Welcome to the last bastion of truly independent, Big-Tech-Free, ad-free, non-Woke Tech Journalism.

-Lunduke

Read full Article
50% off Monthly, Yearly Subscriptions! Lifetime Subs for $100! Let's get everyone subscribing to The Lunduke Journal!

The number of free subscribers to The Lunduke Journal has absolutely exploded — across a bunch of platforms — which is truly amazing. The real Tech News is spreading farther than ever.

In fact, the free subscriber growth is so utterly massive, that if even a tiny fraction of you became a paying subscriber… The Lunduke Journal would become comfortably financially set for a very long time. Able to continue reporting on Big Tech — and corrupt Tech Foundations — well into the future.

All without taking a penny from Big Tech.

With that in mind, let’s do something awesome… something that will make Big Tech really grumpy.

Let’s get as many people subscribing to The Lunduke Journal as possible. Right now. This week. Let’s make this Big-Tech-Free, Non-Woke Tech News publication financially set for a good, long time.

To give everyone a kick-in-the-butt to help make that happen, I’m going to discount absolutely every type of subscription in a crazy way — through Friday, May 9th.

  • %50 off Monthly — Now $3 / Month (was $6 / Month)

  • %50 off Yearly — Now $27 / Year (was $54 / Year)

  • %50 off Yearly MP4 Downloads — Now $27 / Year (was $54 / Year)

  • %50 off Lifetime Subscriptions — Now $100 (was $200)

That Lifetime Subscription one is crazy.

Seriously. Make a one-time donation of $100, and be subscribed to The Lunduke Journal… for life. (This includes full access to the community Forum.)

If even 1% of the new free subscribers who have joined in the last month take advantage of this… The Lunduke Journal will be fully funded through the end of this year. And then some.

Let’s make it happen. Scroll down. Pick which ever subscription type works best for you. Then high-five yourself for making Big Tech grumpy.

Just be sure to do it by the end of the day on Friday, May 9th. The prices all go back to normal after that.

50% Off Yearly or Monthly Subscription:

50% off a Yearly or Monthly subscription to The Lunduke Journal are available via both Locals and Substack. (This includes full access to the community Forum.)

That means $3 / Month. Or $27 / Year (which works out to $2.25 / Month).

Via Lunduke.Locals.com:

Via Lunduke.Substack.com:

The Famous Lifetime Subscription:

The "World Famous Lunduke Journal Lifetime Subscription" is exactly what it sounds like. Pay once and get full access to The Lunduke Journal. For life.

And now, through Friday, May 9th… you can snag one at a crazy discount. Normally these are $200… but you can grab one for $100. (You can also pay more if you’d like to donate a little extra.)

The Lifetime Subscription can be obtained via Locals, Substack, or using Bitcoin. All three options work great and are super easy. Scroll down and choose your option.

How to get a Lifetime Subscription via Locals:

  1. Go to Lunduke.Locals.com/support.

  2. Select "Give Once".

  3. Enter "100" (or more) into the amount field.

  4. After checking out, Lunduke will toss you an email once your account is set to full lifetime status. (This usually happens within a few hours.)

How to get a Lifetime Subscription via Substack:

  1. Go to Lunduke.Substack.com/subscribe.

  2. Select the “Lifetime Subscription” option.

  3. After checking out, Lunduke will toss you an email once your account is set to full lifetime status. (This usually happens within a few hours.)

If you would also like full, Lifetime access to Lunduke.Locals.com (which is included):

  1. Make a free account on Lunduke.Locals.com.

  2. Email “bryan at lunduke.com” with the email address you use on both Substack and Locals (can be different email addresses).

  3. Lunduke will toss you an email once your account is set to full lifetime status on Locals.

How to get a Lifetime Subscription with Bitcoin:

You can also obtain a Lifetime Subscription via Bitcoin.

bc1qyjakve8fywm8pz2v99v57yhjj0vzr2vjze6fcq

  • Email "bryan at lunduke.com" with the following information: What time you made the transaction, how much was sent (in Bitcoin), and the email address you use (or plan to use) on Locals.com or Substack.com.

50% Off DRM-Free, MP4 Downloads:

Want to be able to download every show The Lunduke Journal releases (and watch them on whatever device you like)? Yeah. You can do that. For 50% off.

Note: This DRM-Free download option does not include access to the Forum. This option is strictly for downloading the episodes.

Make a One Time Donation

Subscription not enough (or not your thing)? Want to toss in a one-time donation to The Lunduke Journal? There’s a few great options!

Via BitCoin:

Send any amount of BTC to the following address:

bc1qyjakve8fywm8pz2v99v57yhjj0vzr2vjze6fcq

  • Email "bryan at lunduke.com" with to let us know it was you! You can choose to keep your donation anonymous if you prefer. (Either way, all BTC donations get included in the matching deal.)

Via Locals:

  1. Go to Lunduke.Locals.com/support.

  2. Click “GIVE ONCE”.

  3. Enter any amount you like.

You Make This Possible

A huge thank you to all of the subscribers who have made The Lunduke Journal possible. Because of you, we have been able to do true Tech Journalism — to tell the stories that no other Tech News outlet has the cajones to touch.

And to all of you new Lunduke Journal subscribers: Welcome to the last bastion of truly independent, Big-Tech-Free, ad-free, non-Woke Tech Journalism.

-Lunduke

Read full Article
See More
Available on mobile and TV devices
google store google store app store app store
google store google store app tv store app tv store amazon store amazon store roku store roku store
Powered by Locals