countupdates: instead of just a count, show list and append count

This commit is contained in:
David Thurstenson 2021-03-13 17:23:34 -06:00
parent c711a8bb72
commit 2788e0770e
1 changed files with 2 additions and 2 deletions

View File

@ -30,8 +30,8 @@ alias printuuid='blkid -o value -s UUID'
# Output only the PARTUUID of the target device
alias printpartuuid='blkid -o value -s PARTUUID'
# Show count of updates from checkupdates
alias countupdates='checkupdates | wc -l'
# Show count of updates after the output of checkupdates
alias countupdates='checkupdates | tee >(wc -l)'
# Grep through updates listed by checkudpdates
alias grepupdates='checkupdates | grep'