

How to make Linux feel like Unix
source link: https://www.redhat.com/sysadmin/use-unix-today
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

How to make Linux feel like Unix
Posted: November 18, 2022 | %t min read | by Jim Hall

Image Marcin Wichary, CC BY 2.0, via Wikimedia Commons
You might not give much thought these days to Unix or what it means. In 2022, most "Unix" systems are actually running some version of Linux, which includes modern tools and commands that were unthinkable when Unix hit the scene in the early 1970s. But here we are, some 50 years later, and Unix still lives on.
[ Learn how to manage your Linux environment for success. ]
I wanted to look back on Unix's history and experience first-hand what it was like to use the original Unix. Unix 2nd Edition debuted in June 1972, and I chose that version as my target. That's transporting back in time 50 years.
Setting the stage
A big part of running Linux as the original Unix was the interface. I run my desktop Linux with GNOME, where I use graphical user interface (GUI)-based applications like LibreOffice, Firefox, Inkscape, and Rhythmbox. But Unix 50 years ago didn't have a graphical interface. Everything was on the command line.
In the late 1960s, the computing "interface" was usually a teletype terminal, a kind of electronic typewriter that printed input and output on a long roll of paper. By the 1970s, electronic display terminals became more common. While simple, these "video display units" approached what we recognize today as a terminal emulator window.
That's how the team at Bell Labs used Unix in 1972, and that's how I decided to use Linux 50 years later, in 2022. While I still booted my Linux system into GNOME, I did all of my work using GNOME Terminal.

[ Download now: A sysadmin's guide to Bash scripting. ]
Setting my goals
For several weeks, I configured my Linux system to simulate an early Unix terminal from 1972. I restricted myself to only the commands that were available at the time, according to a copy of the Unix Programmer's Manual, Second Edition (June 12, 1972). For example, I interacted with Linux only via the command line, and edited files using ed
, as our primitive ancestors once did.
I assigned myself a few tasks for this "throwback" experiment:
- Write a non-trivial C program with the
ed
editor. - Write a FORTRAN 66 program.
- Prepare a document using
nroff
.
What it's like
With those limitations, I threw myself into Unix from 50 years ago. At first, the difference was jarring. While I didn't mind using the command line, I wasn't able to use many of the modern commands I've grown accustomed to. Even the multipurpose awk
command was missing; awk
was created in 1977 and first appeared in Unix 7th Edition in 1979.
Despite the gap of so many years, we would still favorably compare the original Unix to today's Linux. Certainly, the command line would feel familiar. The original Unix tools introduced in Unix 1st Edition (1971) included commands we use every day on Linux systems, such as cat
to display files, cp
to copy files, df
and du
to report disk usage, ls
to list files, rm
and rmdir
to remove files and directories, and a long list of other now-familiar commands. Unix 2nd Edition also introduced the man
command to read system documentation, which was processed with nroff
.
Yes, I was able to complete the three tasks I set for myself: I wrote several C programs, and I wrote a special file-loading function for another project I'm working on entirely in ed
. I used GNU gfortran
to write a FORTRAN 66 program that performed numerical analysis simulation of trajectory data, similar to other data-analysis programs I wrote as an undergraduate physics student in the early 1990s. Fortunately, gfortran
is backward-compatible with previous iterations of the FORTRAN language and can compile a FORTRAN 66 program without problems.
I relearned nroff
and created my own set of macros to help write a few documents. I used GNU groff
to emulate the old nroff
and wrote my own macros. I wrote the first draft of this article this way.
After a few hours of working entirely at the terminal, I settled into a rhythm. After another day, I became quite productive. Once I slipped into the mindset of working entirely in character mode, leveraging the command line, and processing plain-text files, things felt fairly smooth. I became more comfortable using ed
to work on files, and soon the editor's commands became almost second nature.
Working completely inside a terminal, I found myself getting into a "zone." At the end of each day during the experiment, it felt a little weird to check my email in a graphical client or to visit websites in a web browser. The terminal is a different experience, yet very effective.
What I learned
This was a fun experiment to demonstrate what Unix was like 50 years ago. It reminded me about the power of using the command line and the flexibility to do things my way. I first used Unix systems in 1992 as an undergraduate student, and this experience reminded me why I fell in love with the command line. If you don't mind typing your commands and learning a little command syntax, you can do almost anything.
But times have changed, and our work has changed with it. These days, I can't manage my daily work from the terminal. I rely on new tools such as visual word processors, graphics programs, and web browsers. So while I enjoyed this look back at Unix from 50 years ago, I was also glad to return to my GNOME desktop when it was over.
Recommend
-
8
7 signs you’re rich, even if it doesn’t feel like itResponses (70)
-
9
New improvements being tested in the Nightly channel While Google Chrome, Safari, and Microsoft Edge are currently the top browsers out there, Firefox too remains a super-popular choice, with many s...
-
9
How to make your new iPhone feel a bit more like Android By Zach Laidlaw Published 5 days ago A few apps go a long way...
-
11
Simple Commands in Linux That Will Make You Feel Like a ProLinux is a very popular and interesting operating system (OS), especially for programmers. The Linux terminal is a very important part of a Linux OS. That means that if you know the b...
-
4
How to Make Windows 11 Look and Feel More Like Windows 10 Make the Windows 11 Experience More Palatable By
-
7
How to Make Firefox Feel Native on Linux Desktops By Bertel King Published 21 hours ago Mozilla Firefox feels out of place on...
-
8
Justin PotGearOct 22, 2022 8:00 AM
-
4
5 Ways To Make Your Old Chromebook Feel Like New
-
4
Next Up Hidden iPhone Features That Are Complete Game Changers
-
6
5 Tricks To Make An Old Android Phone Feel Like New
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK