I have installed sudo apt install libnotify-bin which is used to send notification at desktop level.
So if you run below command, it will send you a notification once command's execution finished.
sudo apt update; notify-send Done
As you can see I am printing message as Done. But I want that it should print command name instead of Done.
Example :
- If we run
ls -lR /home; notify-send Donethen it should printls Done - If we run
npm install; notify-send Donethen it should printnpm Done
Is it possible ?
