All About Linux Terminal
Hello Folks, this is my new article about all the Linux essentials terminal commands and Linux terminals in detail.
WHAT IS TERMINAL
The Linux terminal is a text-based interface used to control a Linux computer. It’s just one of the many tools provided to Linux users for accomplishing any task, but it’s widely considered the most efficient method available. As most people use an OS with a graphical user interface (GUI) for their day-to-day computing needs, the use of a terminal emulator is a necessity for most Linux server users.
WHY USE THE TERMINAL?
Terminals, also known as command lines or consoles, allow us to accomplish and automate tasks on a computer without the use of a graphical user interface. Using a terminal enables us to send simple text commands to our computer to navigate through a directory or copy a file, and forms the basis for many more complex automation and programming skills.
ADVANTAGES OF USING TERMINAL.
- It can save you time.
- It can help when you are unable to use the GUI, such as a system crash or a configuration issue.
- It can enable you to use Linux in ways that using a GUI exclusively can not (such as scripting repetitive tasks).
- Improve your programming skills.
LIST OF MOST IMPORTANT TERMINAL COMMANDS.
- ls
- cd
- pwd
- /
- $
- Cd..
- mkdir
- rm
- rmdir
- touch
- mv
- cp
- su
- ls -r
- ls -a
- ls -l
- clear
- history
- chmod
- ps
- ps -a
- kill
- vim
- printf
- sudo apt install
- sudo apt update
- sudo apt upgrade
- sudo su
TYPES OF USER
In Linux, there are three types of users depending upon their access to the system.
- REGULAR USER
- ROOT USER
- SERVER USER
REGULAR USER.
Regular users are represented by a $ sign in the terminal after the system name. Regular users can read, write execute, move, etc in their home directory. If you have multiple users in a system then a regular user not being able to read and write things in other users’ directories.
REPRESENTATION.
ROOT USER
Root users are also called super users or admins. Because they have access to do anything in any user directory. A root user has all types of permissions to read write and execute. There are two ways to access root or make a root user.
By typing the Sudo command in your terminal you have been able to perform the root task. E.g
By typing Sudo su in the terminal and hitting enter, enter your password, you became a root user or a superuser. E.g
REPRESENTATION.
The root user is represented by a # symbol as you can see in the above command.
SERVER USER.
Server users are server-side users primarily there are mainly two types of users but server users are also a user, for now, I will not tell the details of server users just focus on the above user types.
Conclusion.
In this article, we learned.
- What is a terminal?
- Why do we use a terminal?
- Advantages of using a terminal?
- Most imp Linux terminal commands?
- Types of users in Linux?
In the next article will discuss the important terminal commands in detail so stay tuned.