Created
September 21, 2015 18:58
-
-
Save tomkap/5a01dadb46af4c03bb15 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# 1) visudo: | |
# %sudo ALL=NOPASSWD: ALL | |
# 2) user | |
# # usermod -a -G sudo username | |
# 3) .conkyrc: | |
# ${execi 28800 ~/i3/debian_updates.sh} | |
sudo apt-get -qy update > /dev/null | |
NUMOUPD=$(sudo aptitude search "~U" | wc -l) | |
echo "$NUMOUPD"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment