LAB: LINUX BASH PROMPT Question number 2

The solution that is giving there is not something that we learned in previous lectures
so how we supposed to answer it?

for some reason I can’t upload photos because “I am new user”
but the answer that we have from lectures is just to use chsh

Hi @dkostromov

Yes, the answer is to use chsh. I think the point of the question, if chsh has not been explicitly covered in the previous lectures is to do your own research as to how the command is used. If you are looking to build a career in DevOps, google is your friend! I lose count of the number of times I look stuff up daily, be it command syntax (like this question), or much broader ranging topics like an entire subsystem I may not have experience in.

The chsh command is short for change shell.
The preceding lecture to this lab does mention both the bash shell (which is the answer to Q1) and the bourne shell which is requested in Q2. The locations (paths to) of the actual programs that represent these shells is also visible in the lecture video.

For linux commands, there is the linux manual - present on all linux systems.

At the command prompt, you can enter

man chsh

Google also understands the above command and will return a number of online HTML manual pages.

Thank you, Good answer, but If I learned from youtube or something it would be understandable and of course I would using google for anything that I need
But this course it’s not a regular course that I taking for free but an a premium course so I expecting that everything would be covered 100% and not part covered and I am need to google this kind of questions