Hi, this is my first post in Steemit. My name is Adi, you can find more about me here: http://adi-sunardy.net/about-me/ :)
I've created this post to keep my brain sharp and also to practice my English writing skill, which is not so good anyway, so please bear with me.
In this post, i would like to share the basic learning of Linux, start from how to use Terminal/Command Line or also called "shell". Due to my limitation (time and energy :(), the article will be divided into some parts. And i will try my best to continue each part as soon as my energy has been restored *sigh. So, Let's start.
Introduction
Knowing how to use command line efficiently will help us to get the maximum result of what we've been doing in our computer/server. There are so many ways to save time and energy while typing a command, we just need to know how.
There are some known Linux Environtment, in this post we will be focusing in Bash Shell.
A standard bash terminal has been automatically set to insert mode, so we don't need to push Insert button to input any text. Scroll Up and Scroll Down cursor could be used to show previously typed commands. We also can use right and left cursor to edit the command that we're typing.
This example valid for Bash Shell terminal, other shell not necessarily have same features
Let's try it!
Type some command as below:
How it works?
Each line that being typed will be stored in buffer and could be edited if needed. This buffer will be sent to OS once we hit Enter.
These are some function of keyboard buttons that could be used to retrieve previous commands, or edit any command before hit Enter:
Reference: Lewis, James Kent. 2013. Linux Utilities Cookbook. Birmingham: Packt Publishing Ltd.