Learning LINUX Without Installing Linux Series FivesteemCreated with Sketch.

in #steem7 years ago

Capture2.JPG

   Good Day to all of you. We are now nearing the point wherein I try to convince you to use Linux for all of your programming needs. There is a reason as to why Linux is becoming the darling of programmers. It doesn't collect license fees except maybe for Red Hat and a few others. Plus all the necessary tools to be productive as a programmer are already available in the installation. There is also no need to install drivers unlike Brand X. You will rely on vendors to install the necessary drivers or else you will be left in the dark. Linux , after you install the whole package will not have the need to install the drivers and all. But enough of that because in order to program you need an editor. And the most simplistic of them all is vim or vi.

   So let us proceed again with the use of tutorialspoint browser console. But this time around since they changed their policy we will be using the UNIX console. Earlier edition of the series can be practiced using this console as well. For now point your browser to:

https://www.tutorialspoint.com/unix_terminal_online.php

Capture1.JPG

   But before we begin using vim or vi. Let us orient ourselves with the keys that are of much importance in the world of programming. The `Esc` , `I` and `:` keys.

Capture5.JPG

Capture3.JPG

Capture4.JPG

   Please try to remember them all. Visualize the keys that we will be using often as we try to explore VIM or VI. Proceed to the tab in which we pointed to the UNIX CONSOLE. Now in the prompt `sh-4.4$` just type :

sh-4.4$ vi

Capture6.JPG

   Please do not forget to press the Enter key.

Capture7.JPG

   We are now inside the the best code editor in world of programming. Vi or Vim. Please press the `I` key . Please do not capitalize don't use the shift key. The INSERT notification will appear at the bottom of the editor once you do it properly. Well it just means that you can type anything on the editor. So next we have to type the following:

console.log('Welcome to Steemit');

Capture8.JPG

   Please let us proceed to using the `Esc` key . Press the `Esc` key. And if you do it right you will see that the INSERT at the bottom of the screen suddenly disappears.

Capture9.JPG

   Now press the the colon key `:` and then `wq app.js`

:wq app.js

   Do not forget to press the Enter key.

Capture10.JPG

Capture11.JPG

Now at the prompt you need to type the following:

sh-4.4$ node app

Capture12.JPG

Do not forget to press the Enter key.

Capture13.JPG

   You have just become a Javascript programmer. Just like the witnesses whom we have here at Steemit. You just created your first NODE JS Application. This is important to the Steemit community. For most of the witnesses whom we have here are maintaining web applications which are running on top of NODE JS Framework. And if you continue with these series you will learn more like these. You executed a javascript program inside a console. And NODE JS made it happen for all of us. Technically we are still in a browser. But in real life you can execute Javascript codes in Linux using NODE JS.

   You will notice that some of them(Steemit Witnesses) are making use of Heroku to deploy their applications.

Capture14.JPG

   Just look at this markdown application which is deployed in HEROKU. This one is being used by the community.

Capture15.JPG

   Or how about this application called SteemStars.

Capture16.JPG

   How about checking this one which is called Ganymede

Capture17.JPG

   As you can see in my HEROKU account. I placed the same command for the Dyno to execute. The same thing that you just typed in the command line.

Capture18.JPG

   And I can view the logs of those who are visiting my web application. Incidentally in this case somebody just visited my application. This is the power that a LINUX application developer could get. So please keep on studying. Keep on learning. Explore Linux. Explore programming. And that is about it for this edition of the Linux series. Goodbye for now.

Capture19.JPG

Sort:  

This is really a great article. Thanks for sharing. I like linux too. -))

If you like my Posts, just Follow me and Resteem and Upvote my Posts. @thunderland

Congratulations @mdominicorobin! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of comments

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

An achievement is an achievement. I will be sure to look it up later.

This a very nice walk-through of the starting point. The one thing I'd like to point out is that there are some points within the post where you could have explained what the terminology means and why you need to use it, as opposed to the rote memorize-copy-pasta routine.

I'll be keeping my eyes out for more of these. I think I'm going to do similar as well.

Well everything was planned as is. You will be surprised as to how it will turn out. I am glad that you are putting up your own.

Thanks a lot GROOT for not dying.

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by mdominicorobin from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews/crimsonclad, and netuoso. The goal is to help Steemit grow by supporting Minnows and creating a social network. Please find us in the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

Thanks a lot for the late support. Zzzzzzz.

Coin Marketplace

STEEM 0.20
TRX 0.14
JST 0.030
BTC 64854.61
ETH 3478.75
USDT 1.00
SBD 2.52