add check_updates script

This commit is contained in:
Guilherme Rugai Freire 2024-05-28 11:25:49 -03:00
parent 1083092323
commit 42f55f76dc
No known key found for this signature in database
GPG Key ID: AC1D9B6E48E16AC1
3 changed files with 11 additions and 0 deletions

1
bin/check_updates Symbolic link
View File

@ -0,0 +1 @@
../check_updates/check_updates.sh

7
check_updates/README.md Normal file
View File

@ -0,0 +1,7 @@
# check_updates
## About
-- about section here --
## Requirements
-- any requirements --

3
check_updates/check_updates.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
apt-get upgrade --dry-run | grep -P "\d\K upgraded" | cut -d' ' -f1 | xargs seq