countupdates: instead of just a count, show list and append count
This commit is contained in:
parent
c711a8bb72
commit
2788e0770e
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue