How to notify user using wall command Wall command is used to send a message to currently logged-in users, and a system…