mirror of
https://github.com/GRFreire/scripts.git
synced 2026-01-09 04:49:38 +00:00
add check_updates script
This commit is contained in:
parent
1083092323
commit
42f55f76dc
1
bin/check_updates
Symbolic link
1
bin/check_updates
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../check_updates/check_updates.sh
|
||||||
7
check_updates/README.md
Normal file
7
check_updates/README.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# check_updates
|
||||||
|
|
||||||
|
## About
|
||||||
|
-- about section here --
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
-- any requirements --
|
||||||
3
check_updates/check_updates.sh
Executable file
3
check_updates/check_updates.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
apt-get upgrade --dry-run | grep -P "\d\K upgraded" | cut -d' ' -f1 | xargs seq
|
||||||
Loading…
Reference in New Issue
Block a user