One user needed a program in a background session (like from a service) to display a simple message to the currently logged-in user. If no fancy UI or choice-making features are required, the msg command will work great. It can use a session name to specify the session that receives the message, so you don't even need to determine the account name of the interactive user:
msg console Your message here
No comments:
Post a Comment