DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
  1. DZone
  2. Software Design and Architecture
  3. Performance
  4. Thoughts on UNIX

Thoughts on UNIX

Take a look at this developer's thoughts on this game-changing OSS, and how its original principles have stood the test of time.

Sudip Bhandari user avatar by
Sudip Bhandari
CORE ·
Aug. 15, 18 · Opinion
Like (6)
Save
Tweet
Share
4.75K Views

Join the DZone community and get the full member experience.

Join For Free

I recently completed a UNIX workbench course by John Hopkins University in Coursera. So, I thought I would write something about UNIX, GNU/Linux.

unix_workshop

Love for UNIX

There is a documentary by AT&T on Unix on Youtube which I regularly rewatch now and again which shows the early story of UNIX and has Brian Kernighan talk about the power, simplicity and elegance of UNIX design.

AT&T Story of Unix

We know the story of how Linux came to be. UNIX was developed in AT&T and the prominent scientists involved were Ken Thompson, Dennis Ritchie and Brian Kernighan, among many others. As the years passed by, there were a lot of variations of UNIX and they were used by companies like Sun, DEC, IBM, HP, etc. There was no version of UNIX which could be used by personal hobbyists. Richard Stallman, in an attempt to build Unix-like computer operating system, launched the GNU project and the free software foundation in 1983. In 1991, Linus Torvalds developed a UNIX clone, named it Linux, and kickstarted the growth of Linux. Linux as an OS is kernel (monolithic) and has a lot of libraries and utilities which actually come from the GNU project launched by Richard Stallman. For this reason, the Free Software Foundation actually calls it GNU/Linux rather than just Linux.

UNIX Philosophy

Unix is also known for its philosophy. One intriguing thing about the UNIX philosophy for me is that it was created back in the days when we didn’t have much software programming going on, and decades later it still sounds very relevant and practical.

  • Make each program do one thing well. To do a new job, build afresh rather than complicate old programs by adding new “features.”
  • Expect the output of every program to become the input to another, as yet unknown, program. Don’t clutter output with extraneous information. Avoid stringently columnar or binary input formats. Don’t insist on interactive input.
  • Design and build software, even operating systems, to be tried early, ideally within weeks. Don’t hesitate to throw away the clumsy parts and rebuild them.
  • Use tools in preference to unskilled help to lighten a programming task, even if you have to detour to build the tools and expect to throw some of them out after you’ve finished using them.

My Personal Journey

I started using Linux during my college. After I started using Linux it has become my primary OS for personal usage and thankfully all the companies that I have been part of. As any other Linux fanatic I go about switching distros, have tried centos, fedora, debian, ubuntu, mint and too many more. I also keep switching desktop environment. Currently I prefer GNOME on Ubuntu, not a fan of Unity though I heard it’s going to be replaced in coming Ubuntu release. I love using Linux for it’s simplicity in design which it derives from UNIX. Everything is a file, there are short powerful commands which can be chained, the whole system is nicely documented, and there’s always something new and interesting for you to learn if you dig down the man pages. I also love the developer communities which are super supportive.

Speaking of the UNIX philosophy of short, powerful, chainable (useful output which can be fed directly into another program) commands, one thing that impresses me now and then is how efficiently people make use of these tools. It’s always refreshing to see one of your colleagues or fellow developers chaining a lot of commands with grep and awk thrown in between (just an example) to achieve something in a short span of time.

Linux (operating system) Unix philosophy

Published at DZone with permission of Sudip Bhandari, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Test Execution Tutorial: A Comprehensive Guide With Examples and Best Practices
  • 5 Steps for Getting Started in Deep Learning
  • How Elasticsearch Works
  • OpenVPN With Radius and Multi-Factor Authentication

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: