Shell
The shell is the program or layer that provides a text-based i/o interface between the user and the kernel for a computer system. A #terminal-emulator is a program that enables the user to interact with the shell through a GUI application (e.g. kitty, alacritty, ghostty, etc…)
- This applications if combined with #terminal-multiplexers enable us user with a powerful interface to the kernel and can simplify the navigation and the command and control of it.
The bash prompt shows information to the user when interacting with the shell and is usually in the following format
<username>@<hostname><pwd>[$|#]other than this there is not much to say. ~: this indicates the home of the user we are logged in with.#/$: this two simples are used to indicate the user we are logged in with,#if you are logged in as #root and$if logged in as a general user.- The
PS1variable controls how the command prompt looks and can be personalized using.bashrcLinux/Shell/Commands - Utilities/interface the shell give us.