Terminal and Shutdown CMD
Terminal and Shutdown CMD
1. Terminal:
The terminal is a program that provides the user with a simple command-line interface and
performs the following 2 tasks:
We can say the terminal is a dumb thing so it does not know what to do with the input, so it needs
another program to process it, and in most cases, it’s the Shell.
2. Console:
In the case of Windows OS, the “Console” performs the same operations performed by the terminal,
so we can say for Windows OS, the Console is the alias name for the Terminal.
3. Shell
After writing our commands on the terminal, when we press the Enter key, the terminal passes
those commands to another program to figure out what the user wants to do, and in most cases,
that program is the Shell, which forms the outer layer of Linux OS, which performs the following
functions:
2. Checks the syntax of the command and then Checks whether the command is correctly
used or not.
4. The $ prompt appears on the terminal waiting for the next command, irrespective of
whether the previous commands were correct or not.
The shell is the mediator or the interface between the end-user and the kernel.
Reboot >>
systemctl reboot – to restart machine.
Shutdown >>
~ Always represents current user home directory , for rnikrad it’s /home/rnikrad