0

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

enter image description here

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 Done then it should print ls Done
  • If we run npm install; notify-send Done then it should print npm Done

Is it possible ?

Abhishek kamal
  • 225
  • 1
  • 10
  • Ubuntu's `.bashrc` comes with an alias for this: https://askubuntu.com/a/409763/158442 – muru Dec 03 '22 at 02:38

0 Answers0