/ Published in: Bash
One liner to check for Fedora Yum updates and list a number in Conky.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/bin/bash fetch=`yum list updates | grep updates | wc -l` echo $(($fetch -1))