You have seen many times what the command line prompt for new commands looks like. For example, in a Hexlet exercises it looks like this:
PS1 variable (stands for "prompt string") defines how the prompt will look like, and in this exercise we'll change it.
In the solution file write a command that globally changes the value of the
PS1, so that the prompt looks like this:
Look at the current working directory:
> tirion@app$ pwd /usr/src/app
Look at the username we logged in with:
> tirion@app$ whoami tirion
- Controlling the Prompt
- Print the text as it is, without a color scheme
For full access to the challenge you need a professional subscription.
A professional subscription will give you full access to all Hexlet courses, projects and lifetime access to the theory of lessons learned. You can cancel your subscription at any time.