Here is the First Line of Code Written by Linus Torvalds, the Man Behind Linux.

Linus Torvalds

Linus Torvalds


When it comes to security, no other Operating system competes with Linux. Linux today powers a simple 15$ computer to a billion dollar super computer. Linux is every where. It is inside your smartphone, your browser, your smartwatch.

The big names in tech Industry, Google, Amazon and Facebook are being powered by Linux. Even NASA trusts and use Linux.

9 out of the 10 world’s super computers run on Linux. Linux is the largest collaborative development project in the history of computing.

Linux is named after its creator Linus Torvalds. Every Linux geek might be aware of who he is. Linus Torvalds is touted as the father of Linux.

Having been fed up with the existing Operating systems, Linus started developing his own OS as a hobby and it turned out as Linux. Today at the age of 47 Linus still maintains Linux and announces new Linux kernel updates. He is a real geek.

It is estimated that Linux kernel has a code base of approximately 20 million lines. Well have you ever wondered what was the first line of code written by Linus Torvalds?
In a interview to Bloomberg, Torvalds shared his early love on coding and programming.

Linus revealed that he started with his grandfather’s commodore VIC -20.
According to his sister Sara, Torvalds first code was a two lined “GOTO” program that repeated the string “Sara is the best” in order to impress her.

Well here is the video of Linus Torvalds interview to Bloomberg.

So what was your first line of code? Drop your first code in the comments below. Let’s see who wrote better code.

Was this post helpful?

Recommended:  Top 10 best PDF Editors for Linux

Ganesh Venigalla

Geek, Passionate, Nerd for Tech!

You may also like...

22 Responses

  1. Linux Enthusiast says:

    My first line of code was “Hello World” in visual basic.

    NOTE: parapgraph 6, last line, the word could doesn’t make much sense in there. Did I understand it wrong?

  2. Mark A Nohner says:

    My 1st was turn on n-and gate #1, in machine language. But I digress….

  3. ANeo says:


  4. prasanta karmakar says:

    Frankly speaking, my first code was on the year of 2001. That time i was on GW basic. My code was to display some Charecter string(my name obviously) used command print “Prasanta Karmakar”;

    Too funny.

  5. vijay says:

    Great 🙂
    Everyone’s first line of code is funny.

  6. Riley Durant says:

    that was a bad day……

  7. 陳珂磊(Neo Chen) says:

    void main()
    printf (“Hello, World!n”);

  8. Steve says:

    10 let i = 0
    20 print i
    30 i = i +1
    40 goto 20

  9. Kenneth says:

    Ofc. a little bit trials and errors before I got it… But thats the first line I can remember. When I started learning PHP, and wanted to do something else than “Hello World” cause everyone else was doing it.

  10. Francois says:

    10 PRINT “HELLO”
    20 GOTO 10


  1. March 5, 2019

    […] Here is the First Line of Code Written by Linus Torvalds, the Man Behind Linux. […]

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Here is the First Line of Code Written by Linus Torvalds, the Man Behind Linux.

by Ganesh Venigalla time to read: 1 min