All About Linux Terminal

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.

  1. ls
  2. cd
  3. pwd
  4. /
  5. $
  6. Cd..
  7. mkdir
  8. rm
  9. rmdir
  10. touch
  11. mv
  12. cp
  13. su
  14. ls -r
  15. ls -a
  16. ls -l
  17. clear
  18. history
  19. chmod
  20. ps
  21. ps -a
  22. kill
  23. vim
  24. printf
  25. sudo apt install
  26. sudo apt update
  27. sudo apt upgrade
  28. sudo su

TYPES OF USER

In Linux, there are three types of users depending upon their access to the system.

  1. REGULAR USER
  2. ROOT USER
  3. 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.

image.png

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

image.png

By typing Sudo su in the terminal and hitting enter, enter your password, you became a root user or a superuser. E.g

image.png

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.

  1. What is a terminal?
  2. Why do we use a terminal?
  3. Advantages of using a terminal?
  4. Most imp Linux terminal commands?
  5. Types of users in Linux?

In the next article will discuss the important terminal commands in detail so stay tuned.