Mark As Completed Discussion

Bash

Bash allows users to provide commands through which the user can specify what they want to do. Before providing the commands, bash displays a prompt, as you open the command line (in Linux and macOS), such as the one below.

SNIPPET
1user@localhost:~$

This prompt would typically state the current username with the hostname of the system. By default, the current directory of the terminal will be the user's root (or home) directory.

Bash

After a command has finished executing, this prompt will be displayed again indicating that the shell is now ready to execute another command. These commands that you provide will be displayed after the prompt.