Hi Gavin Reynolds,
Thank you for reaching out on the Microsoft Q&A Forum.
I would appreciate your feedback about the description of the .bash_logout
file in the Azure Learn module.
You are actually right on in your interpretation about the .bash_logout
file. For better comprehension, let it be stated here that .bash_logout
is nothing but a script which, at the point of termination of a login shell, is being executed. It contains commands or scripts you wish to run automatically after logging out the shell session. The common usage is to clean out temporary files created, show an exit message, and execute any commands you may require running as part of the log out.
The original description could be misleading to the reader to think that it reads the file during the sign-in process and not at the end of the session. Your suggestion on a better description is very important and I will pass it on to the relevant team to consider.
Thank you again for your input. If you have any further questions or need more clarification, feel free to ask.
If you have found the answer provided to be helpful, please click on the "Upvote and Accept Answer" button so that it is useful for other members in the Microsoft Q&A community.