Quick overview:
CLI stands for Command Line Interface and GUI stands for Graphical User Interface
We type commands which are part of CLI on the shell to get what we want and we press icons, open files manually which are part of GUI.
Here is my post about the basics of the shell if you haven't seen it yet-
https://sairohithkaranam.blogspot.com/2020/05/what-is-shell.html
Who to use CLI?
- Developers and administrators often use the CLI, whereas regular users will typically rely on GUI.
- If you want to maximize the use of hardware for the system's specified purpose, you can perform all administration at the CLI.
- If you want to be proficient enough in Linux, you must learn to be comfortable using CLI.
In Linux, GUI is not a necessary component. In fact, Linux includes many GUIs. Any or none of those may be installed on the system.
Why use CLI?
- It's faster for the system to process.
- It's faster for administrators to enter information.
- Commands can be stored in text files called scripts that you can execute with one command, resulting in a long series of activities by the system.
- Scripts can be scheduled to execute on a regular basis.
- Additional options are available in the CLI that may not be present in the GUI.
Limitations of CLI:
- It's more difficult to learn than a GUI as you have to memorize many commands.
- Commands have many options and are not always consistent.
- It's often mistakenly thought of as legacy. (legacy refers to a software or hardware)
- There are many command-line environments among the Linux, Unix, macOS, and Windows platforms.
To sum up, we use CLI rather than GUI in Linux because of faster processing and wide functionality.
Comments
Post a Comment