Early acquaintances (Shell)
|Shell and prompt: shell about the idea, the concept of terminal contacts and prompt.|
|Command: Command of the concept and detail|
|Navigation: filesystem roam, pwd , the ls and cd command.|
|A little more than the ls: the ls of the higher usage.|
|File: file concept and file and the less command.|
|Link: Link’s idea.|
|Linux filesystem: filesystem initial idea.|
What is a shell?
When we talk about the command line, we actually talk about the shell. Shell is a small program that delivers commands from the keyboard to the operating system.
One time Steve Bourne, a programmer, wrote a shell program called sh for the Unix operating system. Later, the GNU project developed an enhanced version of itself called bash. Whose full name is “Bourne Again Shell”. Bash is provided by default in almost all Linux operating systems today.
When we use the graphical user interface we need another program to use the shell. Terminal emulator or terminal. Linux distributions with all graphical interfaces have multiple terminal emulators installed (henceforth we will simply call them terminals, not terminal emulators). Such as Konsole in KDE or gnome-terminal in GNOME.
When you open a terminal you will see:
A typical user named “me” is working in his own home directory on a computer called “howtocode-pc”.To exit the terminal, type exit.
|Up arrow key||Commands the previous command in the command history to the prompt.|
|Down arrow key||The next command in the command history brings up the prompt.|
|Left arrow key||At the prompt, the cursor moves back one character.|
|Right arrow key||At the prompt, the cursor brings up a character.|
|Ctrl-c||The work in progress at the terminal stops completely.|
|Ctrl-z||Work on the terminal can be temporarily restarted if you want to.|
More Important Post